1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-09 02:58:20 +00:00

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:
silverwind
2020-09-11 22:19:00 +02:00
committed by GitHub
parent 26c4a049da
commit ffddf3f8a6
89 changed files with 458 additions and 455 deletions

View File

@@ -42,13 +42,13 @@
{{end}}
<a class="member" href="{{AppSubUrl}}/{{$.Org.Name}}/{{.Name}}">
{{if .IsPrivate}}
{{svg "octicon-lock" 16}}
{{svg "octicon-lock"}}
{{else if .IsFork}}
{{svg "octicon-repo-forked" 16}}
{{svg "octicon-repo-forked"}}
{{else if .IsMirror}}
{{svg "octicon-mirror" 16}}
{{svg "octicon-mirror"}}
{{else}}
{{svg "octicon-repo" 16}}
{{svg "octicon-repo"}}
{{end}}
<strong>{{$.Org.Name}}/{{.Name}}</strong>
</a>