summaryrefslogtreecommitdiffstats
path: root/templates/explore/repo_list.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/explore/repo_list.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/explore/repo_list.tmpl')
-rw-r--r--templates/explore/repo_list.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl
index 35a8b3948c..9e4e438a84 100644
--- a/templates/explore/repo_list.tmpl
+++ b/templates/explore/repo_list.tmpl
@@ -27,16 +27,16 @@
{{end}}
{{end}}
{{if .IsFork}}
- <span class="middle">{{svg "octicon-repo-forked" 16}}</span>
+ <span class="middle">{{svg "octicon-repo-forked"}}</span>
{{else if .IsMirror}}
- <span class="middle">{{svg "octicon-mirror" 16}}</span>
+ <span class="middle">{{svg "octicon-mirror"}}</span>
{{end}}
<div class="ui right metas">
{{if .PrimaryLanguage }}
<span class="text grey"><i class="color-icon" style="background-color: {{.PrimaryLanguage.Color}}"></i>{{ .PrimaryLanguage.Language }}</span>
{{end}}
- <span class="text grey">{{svg "octicon-star" 16}} {{.NumStars}}</span>
- <span class="text grey">{{svg "octicon-git-branch" 16}} {{.NumForks}}</span>
+ <span class="text grey">{{svg "octicon-star"}} {{.NumStars}}</span>
+ <span class="text grey">{{svg "octicon-git-branch"}} {{.NumForks}}</span>
</div>
</div>
<div class="description">