summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/collaboration.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-09-11 22:19:00 +0200
committerGitHub <noreply@github.com>2020-09-11 16:19:00 -0400
commitffddf3f8a6ca5e3db46e5731d717a55eb58e858f (patch)
treede8b73f1346e81d2bb9acf042bd33eafd0df26c1 /templates/repo/settings/collaboration.tmpl
parent26c4a049da178993e5ccddcb50e7edc70a6bde5d (diff)
downloadgitea-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/repo/settings/collaboration.tmpl')
-rw-r--r--templates/repo/settings/collaboration.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl
index 082aebff73..9061857041 100644
--- a/templates/repo/settings/collaboration.tmpl
+++ b/templates/repo/settings/collaboration.tmpl
@@ -18,7 +18,7 @@
</a>
</div>
<div class="ui eight wide column">
- {{svg "octicon-shield-lock" 16}}
+ {{svg "octicon-shield-lock"}}
<div class="ui inline dropdown">
<div class="text">{{if eq .Collaboration.Mode 1}}{{$.i18n.Tr "repo.settings.collaboration.read"}}{{else if eq .Collaboration.Mode 2}}{{$.i18n.Tr "repo.settings.collaboration.write"}}{{else if eq .Collaboration.Mode 3}}{{$.i18n.Tr "repo.settings.collaboration.admin"}}{{else}}{{$.i18n.Tr "repo.settings.collaboration.undefined"}}{{end}}</div>
<i class="dropdown icon"></i>
@@ -67,7 +67,7 @@
</a>
</div>
<div class="ui eight wide column poping up" data-content="{{$.i18n.Tr "repo.settings.change_team_permission_tip"}}">
- {{svg "octicon-shield-lock" 16}}
+ {{svg "octicon-shield-lock"}}
<div class="ui inline dropdown">
<div class="text">{{if eq .Authorize 1}}{{$.i18n.Tr "repo.settings.collaboration.read"}}{{else if eq .Authorize 2}}{{$.i18n.Tr "repo.settings.collaboration.write"}}{{else if eq .Authorize 3}}{{$.i18n.Tr "repo.settings.collaboration.admin"}}{{else if eq .Authorize 4}}{{$.i18n.Tr "repo.settings.collaboration.owner"}}{{else}}{{$.i18n.Tr "repo.settings.collaboration.undefined"}}{{end}}</div>
</div>