diff options
author | Thedro Neely <thedroneely@gmail.com> | 2020-01-31 16:22:22 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2020-01-31 16:22:22 -0500 |
commit | 4adfce34198cfd7128a4e0a8d7b971583ec3d1b2 (patch) | |
tree | 47d102f5abf800ae38cc39c66b4221c22c6ef11a | |
parent | 52f5d138bde6333fda3bb66e4452b993cc49ddd1 (diff) | |
download | gitea-templates-4adfce34198cfd7128a4e0a8d7b971583ec3d1b2.tar.gz gitea-templates-4adfce34198cfd7128a4e0a8d7b971583ec3d1b2.tar.bz2 gitea-templates-4adfce34198cfd7128a4e0a8d7b971583ec3d1b2.zip |
public/css/override: Add some repo icons back
-rw-r--r-- | public/css/override.css | 5 | ||||
-rw-r--r-- | templates/repo/header.tmpl | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/public/css/override.css b/public/css/override.css index c7f94ce..d2a502c 100644 --- a/public/css/override.css +++ b/public/css/override.css @@ -13,10 +13,9 @@ a, .ui.breadcrumb a { color: #0366d6; } /* * Hide specific octicons */ -.repository .ui.tabular.stackable.menu.navbar i, .octicon-tools, +.octicon-tools, .octicon-sign-in, .item .octicon-repo, .item .octicon-person, -.item .octicon-organization, .mega-octicon, .ui.basic.small.compact.button .octicon-git-branch, -.repo-buttons i { display: none !important; } +.item .octicon-organization, .mega-octicon, .ui.basic.small.compact.button .octicon-git-branch { display: none !important; } /* diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 2e00023..34c0175 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -92,12 +92,14 @@ <a class="{{if .PageIsCommits}}active{{end}} item" href="{{.RepoLink}}/commits{{if .IsViewBranch}}/branch{{else if .IsViewTag}}/tag{{else if .IsViewCommit}}/commit{{end}}/{{EscapePound .BranchName}}"> + <i class="octicon octicon-clock"></i> {{.i18n.Tr "repo.commits"}} <span class="ui small label">{{or .CommitsCount "0"}}</span> </a> <a class="{{if .PageIsBranches}}active{{end}} item" href="{{.RepoLink}}/branches/"> + <i class="octicon octicon-git-branch"></i> {{.i18n.Tr "repo.branches"}} <span class="ui small label">{{or .BranchesCount "0"}}</span> </a> |