aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard/repolist.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/user/dashboard/repolist.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/user/dashboard/repolist.tmpl')
-rw-r--r--templates/user/dashboard/repolist.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/user/dashboard/repolist.tmpl b/templates/user/dashboard/repolist.tmpl
index ce4a97a36f..717318634e 100644
--- a/templates/user/dashboard/repolist.tmpl
+++ b/templates/user/dashboard/repolist.tmpl
@@ -53,15 +53,15 @@
<a @click="togglePrivateFilter()">
<div class="ui checkbox" id="privateFilterCheckbox" title="{{.i18n.Tr "home.show_both_private_public"}}" v-if="privateFilter === 'both'">
<input type="checkbox">
- <label>{{svg "octicon-lock" 16}}{{.i18n.Tr "home.show_private"}}</label>
+ <label>{{svg "octicon-lock"}}{{.i18n.Tr "home.show_private"}}</label>
</div>
<div class="ui checkbox" id="privateFilterCheckbox" title="{{.i18n.Tr "home.show_only_public"}}" v-if="privateFilter === 'public'">
<input type="checkbox">
- <label>{{svg "octicon-lock" 16}}</svg>{{.i18n.Tr "home.show_private"}}</label>
+ <label>{{svg "octicon-lock"}}</svg>{{.i18n.Tr "home.show_private"}}</label>
</div>
<div class="ui checkbox" id="privateFilterCheckbox" title="{{.i18n.Tr "home.show_only_private"}}" v-if="privateFilter === 'private'">
<input type="checkbox">
- <label>{{svg "octicon-lock" 16}}</svg>{{.i18n.Tr "home.show_private"}}</label>
+ <label>{{svg "octicon-lock"}}</svg>{{.i18n.Tr "home.show_private"}}</label>
</div>
</a>
</div>
@@ -99,7 +99,7 @@
<strong class="text truncate item-name">${repo.full_name}</strong>
<i v-if="repo.archived" class="archive icon archived-icon"></i>
<span class="ui right text light grey">
- ${repo.stars_count} <span class="rear">{{svg "octicon-star" 16}}</span>
+ ${repo.stars_count} <span class="rear">{{svg "octicon-star"}}</span>
</span>
</a>
</li>
@@ -143,10 +143,10 @@
<ul class="repo-owner-name-list">
<li v-for="org in organizations">
<a :href="suburl + '/' + org.name">
- {{svg "octicon-organization" 16}}
+ {{svg "octicon-organization"}}
<strong class="text truncate item-name">${org.name}</strong>
<span class="ui right text light grey">
- ${org.num_repos} <span class="rear">{{svg "octicon-repo" 16}}</span>
+ ${org.num_repos} <span class="rear">{{svg "octicon-repo"}}</span>
</span>
</a>
</li>