diff --git a/public/css/gogs.css b/public/css/gogs.css
index 8060946b8..7a15cb3af 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -916,6 +916,16 @@ pre.raw {
.ui.status.buttons .octicon {
margin-right: 4px;
}
+.ui .sha.label {
+ font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
+ font-size: 13px;
+ padding: 6px 10px 4px 10px;
+ font-weight: normal;
+ margin: 0 6px;
+}
+.ui .white.label {
+ background-color: white;
+}
.overflow.menu .items {
max-height: 300px;
overflow-y: auto;
@@ -1865,20 +1875,10 @@ footer .container .links > *:first-child {
margin-bottom: 5px;
}
.repository.file.list #repo-files-table tbody .icon {
- margin-left: 5px;
-}
-.repository.file.list #repo-files-table tbody .name {
- max-width: 120px;
-}
-.repository.file.list #repo-files-table tbody .message {
- max-width: 300px;
-}
-.repository.file.list #repo-files-table tbody .age {
- min-width: 150px;
+ margin-right: 5px;
}
.repository.file.list #repo-files-table tbody .text.truncate {
- margin-bottom: -5px;
- max-width: 100%;
+ max-width: 88%;
}
.repository.file.list #repo-files-table td {
padding-top: 8px;
@@ -2262,12 +2262,6 @@ footer .container .links > *:first-child {
.repository .commits.table .date {
width: 120px;
}
-.repository .sha.label {
- font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
- font-size: 14px;
- padding: 6px 10px 4px 10px;
- font-weight: normal;
-}
.repository .diff-detail-box {
margin: 15px 0;
line-height: 30px;
diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl
index 58ab1ebb1..77d0b0219 100644
--- a/templates/repo/commits_table.tmpl
+++ b/templates/repo/commits_table.tmpl
@@ -20,8 +20,7 @@
@@ -36,8 +35,10 @@
{{.Author.Name}}
{{end}}
- {{.i18n.Tr "repo.commits.author"}}
- SHA1
- {{.i18n.Tr "repo.commits.message"}}
+
{{.i18n.Tr "repo.commits.date"}}
+ | {{if .LastCommitUser}} - {{.LastCommit.Author.Name}}: + {{.LastCommit.Author.Name}} {{else}} - {{.LastCommit.Author.Name}}: + {{.LastCommit.Author.Name}} {{end}} - - {{ShortSha .LastCommit.ID.String}} - {{RenderCommitMessage .LastCommit.Summary .RepoLink}} - {{TimeSince .LastCommit.Author.When $.Lang}} + {{ShortSha .LastCommit.ID.String}} + {{RenderCommitMessage .LastCommit.Summary .RepoLink}} | +{{TimeSince .LastCommit.Author.When $.Lang}} | ||||||
---|---|---|---|---|---|---|---|---|
- | .. | +.. | ||||||
+ | - | -{{if $commit.RefUrl}} {{$entry.Name}} @ {{ShortSha $commit.RefId}} {{else}} @@ -41,20 +37,16 @@ {{end}} | {{else}} -+ | - | -{{$entry.Name}} | {{end}} -- {{SubStr $commit.ID.String 0 10}} - | - -{{TimeSince $commit.Committer.When $.Lang}} | +{{TimeSince $commit.Committer.When $.Lang}} |