summaryrefslogtreecommitdiffstats
path: root/templates/repo/sub_menu.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-10-24 21:15:29 +0200
committerGitHub <noreply@github.com>2020-10-24 15:15:29 -0400
commitc5020cff3df0a7d77ff7a453a2007edc7e5c3667 (patch)
treeb49aeef25547cc82078c64734267d7c7ba1663a0 /templates/repo/sub_menu.tmpl
parent65dc4d0410f56b0c89c22846f6f13c8aab57880a (diff)
downloadgitea-c5020cff3df0a7d77ff7a453a2007edc7e5c3667.tar.gz
gitea-c5020cff3df0a7d77ff7a453a2007edc7e5c3667.zip
Various UI and arc-green fixes (#13291)
- introduce variable for border-radius value - fix some white borders in arc-green - add text selection and placeholder in arc-green - tweak branch list footer - more things I forgot Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/repo/sub_menu.tmpl')
-rw-r--r--templates/repo/sub_menu.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/sub_menu.tmpl b/templates/repo/sub_menu.tmpl
index 8668ab240f..73d6409a90 100644
--- a/templates/repo/sub_menu.tmpl
+++ b/templates/repo/sub_menu.tmpl
@@ -1,4 +1,4 @@
-<div class="ui segments repository-summary">
+<div class="ui segments repository-summary{{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo) .LanguageStats }} repository-summary-language-stats{{end}}">
<div class="ui segment sub-menu repository-menu">
<div class="ui two horizontal center link list">
{{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo)}}