Browse Source

Added Verified Repo on My Repositories

Yoginth 7 years ago
parent
commit
bbacf59ce8
1 changed files with 5 additions and 4 deletions
  1. 5 4
      templates/user/dashboard/dashboard.tmpl

+ 5 - 4
templates/user/dashboard/dashboard.tmpl

@@ -120,7 +120,10 @@
 								<li {{if .IsPrivate}}class="private"{{end}}>
 									<a href="{{AppSubURL}}/{{$.ContextUser.Name}}/{{.Name}}">
 										<i class="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>
+										<strong class="text truncate item-name">
+											{{.Name}}
+											{{if .IsVerified}}<i style="font-size:13px" class="verified octicon octicon-verified"></i>{{end}}
+										</strong>
 										<span class="ui right text light grey">
 											{{.NumStars}} <i class="menu-icon octicon">⭐</i>
 										</span>
@@ -158,9 +161,7 @@
 											<span class="text truncate owner-and-repo">
 												<span class="text truncate owner-name">
 													{{.Owner.Name}}</span> / <strong>{{.Name}}
-													{{if .IsVerified}}
-														<i style="font-size:13px" class="verified octicon octicon-verified"></i>
-													{{end}}
+													{{if .IsVerified}}<i style="font-size:13px" class="verified octicon octicon-verified"></i>{{end}}
 												</strong>
 											</span>
 											<span class="ui right text light grey">