File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 5252 </td>
5353 <td>
5454 <a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a>
55- {{if .IsPrivate}}
56- <span class="text gold">{{svg "octicon-lock"}}</span>
55+ {{if .IsArchived}}
56+ <span class="ui basic mini label">{{$.i18n.Tr "repo.desc.archived"}}</span>
57+ {{end}}
58+ {{if .IsTemplate}}
59+ {{if .IsPrivate}}
60+ <span class="ui basic mini label">{{$.i18n.Tr "repo.desc.private_template"}}</span>
61+ {{else}}
62+ {{if .Owner.Visibility.IsPrivate}}
63+ <span class="ui basic mini label">{{$.i18n.Tr "repo.desc.internal_template"}}</span>
64+ {{end}}
65+ {{end}}
66+ {{else}}
67+ {{if .IsPrivate}}
68+ <span class="ui basic mini label">{{$.i18n.Tr "repo.desc.private"}}</span>
69+ {{else}}
70+ {{if .Owner.Visibility.IsPrivate}}
71+ <span class="ui basic mini label">{{$.i18n.Tr "repo.desc.internal"}}</span>
72+ {{end}}
73+ {{end}}
74+ {{end}}
75+ {{if .IsFork}}
76+ {{svg "octicon-repo-forked"}}
77+ {{else if .IsMirror}}
78+ {{svg "octicon-mirror"}}
5779 {{end}}
5880 </td>
5981 <td>{{.NumWatches}}</td>
You can’t perform that action at this time.
0 commit comments