Ver código fonte

Added Verified Repo on Collaborative Repositories

Yoginth 7 anos atrás
pai
commit
c1e54f2bb9

Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
public/css/gitote.min.css


+ 1 - 1
public/less/_user.less

@@ -150,7 +150,7 @@
 
 .verified {
 	font-size: 16px;
-	color: #328a46;
+	color: #328a46 !important;
 	margin-right: 3px;
 
 	&.v-explore {

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

@@ -156,7 +156,12 @@
 										<a href="{{AppSubURL}}/{{.Owner.Name}}/{{.Name}}">
 											<i class="octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i>
 											<span class="text truncate owner-and-repo">
-												<span class="text truncate owner-name">{{.Owner.Name}}</span> / <strong>{{.Name}}</strong>
+												<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}}
+												</strong>
 											</span>
 											<span class="ui right text light grey">
 												{{.NumStars}} <i class="menu-icon octicon">⭐</i>