diff options
author | silverwind <me@silverwind.io> | 2020-09-11 22:19:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-11 16:19:00 -0400 |
commit | ffddf3f8a6ca5e3db46e5731d717a55eb58e858f (patch) | |
tree | de8b73f1346e81d2bb9acf042bd33eafd0df26c1 /templates/user/settings/repos.tmpl | |
parent | 26c4a049da178993e5ccddcb50e7edc70a6bde5d (diff) | |
download | gitea-ffddf3f8a6ca5e3db46e5731d717a55eb58e858f.tar.gz gitea-ffddf3f8a6ca5e3db46e5731d717a55eb58e858f.zip |
Make SVG size argument optional (#12814)
Now defaults to 16 on both frontend and backend.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/user/settings/repos.tmpl')
-rw-r--r-- | templates/user/settings/repos.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/user/settings/repos.tmpl b/templates/user/settings/repos.tmpl index ed93dd1e42..8d9065ec61 100644 --- a/templates/user/settings/repos.tmpl +++ b/templates/user/settings/repos.tmpl @@ -13,13 +13,13 @@ <div class="item"> <div class="content"> {{if .IsPrivate}} - <span class="text gold iconFloat">{{svg "octicon-lock" 16}}</span> + <span class="text gold iconFloat">{{svg "octicon-lock"}}</span> {{else if .IsFork}} - <span class="iconFloat">{{svg "octicon-repo-forked" 16}}</span> + <span class="iconFloat">{{svg "octicon-repo-forked"}}</span> {{else if .IsMirror}} - <span class="iconFloat">{{svg "octicon-mirror" 16}}</span> + <span class="iconFloat">{{svg "octicon-mirror"}}</span> {{else}} - <span class="iconFloat">{{svg "octicon-repo" 16}}</span> + <span class="iconFloat">{{svg "octicon-repo"}}</span> {{end}} <a class="name" href="{{AppSubUrl}}/{{$.Owner.Name}}/{{.Name}}">{{$.Owner.Name}}/{{.Name}}</a> <span>{{SizeFmt .Size}}</span> |