File tree 1 file changed +24
-2
lines changed
1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 52
52
</td>
53
53
<td>
54
54
<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"}}
57
79
{{end}}
58
80
</td>
59
81
<td>{{.NumWatches}}</td>
You can’t perform that action at this time.
0 commit comments