diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl index 5f8db3585..17a6871b3 100644 --- a/templates/admin/repo/list.tmpl +++ b/templates/admin/repo/list.tmpl @@ -22,7 +22,6 @@ {{.i18n.Tr "admin.repos.name"}} {{SortArrow "alphabetically" "reversealphabetically" $.SortType false}} - {{.i18n.Tr "admin.repos.private"}} {{.i18n.Tr "admin.repos.watches"}} {{.i18n.Tr "admin.repos.stars"}} @@ -51,8 +50,12 @@ {{svg "octicon-lock"}} {{end}} - {{.Name}} - {{if .IsPrivate}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}} + + {{.Name}} + {{if .IsPrivate}} + {{svg "octicon-lock"}} + {{end}} + {{.NumWatches}} {{.NumStars}} {{.NumForks}} diff --git a/templates/explore/organizations.tmpl b/templates/explore/organizations.tmpl index 8785ac84d..b039c1ad2 100644 --- a/templates/explore/organizations.tmpl +++ b/templates/explore/organizations.tmpl @@ -12,7 +12,7 @@ {{.Name}} {{.FullName}} {{if .Visibility.IsPrivate}} - {{svg "octicon-lock"}} + {{$.i18n.Tr "repo.desc.private"}} {{end}}
diff --git a/templates/user/settings/grants_oauth2.tmpl b/templates/user/settings/grants_oauth2.tmpl index 0b635ae0a..cf24252ed 100644 --- a/templates/user/settings/grants_oauth2.tmpl +++ b/templates/user/settings/grants_oauth2.tmpl @@ -15,7 +15,9 @@ {{$.i18n.Tr "settings.revoke_key"}}
- {{svg "octicon-key"}} +
+ {{svg "octicon-key"}} +
{{$grant.Application.Name}}
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 9ae13b8c0..10786b905 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1556,10 +1556,13 @@ a.ui.label:hover { .ui.button { background: var(--color-button); border: 1px solid var(--color-light-border); - box-shadow: none !important; color: var(--color-text); } +.page-content .ui.button { + box-shadow: none !important; +} + .ui.button:hover { background: var(--color-hover); color: var(--color-text); diff --git a/web_src/less/_dashboard.less b/web_src/less/_dashboard.less index 1330b04ab..4ffdc9136 100644 --- a/web_src/less/_dashboard.less +++ b/web_src/less/_dashboard.less @@ -111,6 +111,7 @@ .issue.title { width: 80%; + margin: 0 0 1em; } .push.news .content ul { diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index b19eec58e..6c7de7507 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -1475,7 +1475,7 @@ } } - .diff-box .header { + .diff-box .header:not(.resolved-placeholder) { display: flex; align-items: center; @@ -1493,6 +1493,15 @@ } } + .diff-box .resolved-placeholder { + display: flex; + align-items: center; + + .button { + padding: 8px 12px; + } + } + .diff-file-box { margin-top: 1rem; margin-bottom: 1rem; @@ -2697,7 +2706,12 @@ tbody.commit-list { .commit-body { white-space: pre-wrap; - margin: 0; +} + +.repository:not(.diff) { + .commit-body { + margin: 0; + } } .git-notes.top {