Browse Source

Merge pull request #2533 from fnkr/icon-fork-private-collision

Use icon repo-forked instead of repo-lock for private, forked repos
Unknwon 9 years ago
parent
commit
5d192c2ebf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/user/dashboard/dashboard.tmpl

+ 1 - 1
templates/user/dashboard/dashboard.tmpl

@@ -29,7 +29,7 @@
 							{{range .Repos}}
 								<li {{if .IsPrivate}}class="private"{{end}}>
 									<a href="{{AppSubUrl}}/{{$.ContextUser.Name}}/{{.Name}}">
-										<i class="icon octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i>
+										<i class="icon octicon octicon-{{if .IsFork}}repo-forked{{else if .IsPrivate}}lock{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i>
 										<strong class="text truncate item-name">{{.Name}}</strong>
 										<span class="ui right text light grey">
 											<i class="octicon octicon-star"></i>{{.NumStars}}