Make SVG size argument optional (#12814)

Now defaults to 16 on both frontend and backend.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
silverwindandtechknowlogick authored and GitHub committed 2020-09-11 16:19:00 -04:00
1 parent 26c4a049da
commit ffddf3f8a6
89 files changed
+458 -455

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@
<td>
<a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a>
{{if .Owner.Visibility.IsPrivate}}
<span class="text gold">{{svg "octicon-lock" 16}}</span>
<span class="text gold">{{svg "octicon-lock"}}</span>
{{end}}
</td>
<td><a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a></td>