File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change 2929 </a>
3030 {{end}}
3131
32- <a class="{{if eq .TabName "activity"}}active {{end}}item" href="{{.ContextUser.HomeLink}}?tab=activity">
33- {{svg "octicon-rss"}} {{ctx.Locale.Tr "user.activity"}}
34- </a>
35- {{if not .DisableStars}}
36- <a class="{{if eq .TabName "stars"}}active {{end}}item" href="{{.ContextUser.HomeLink}}?tab=stars">
37- {{svg "octicon-star"}} {{ctx.Locale.Tr "user.starred"}}
38- {{if .ContextUser.NumStars}}
39- <div class="ui small label">{{.ContextUser.NumStars}}</div>
40- {{end}}
41- </a>
42- {{else}}
43- <a class="{{if eq .TabName "watching"}}active {{end}}item" href="{{.ContextUser.HomeLink}}?tab=watching">
44- {{svg "octicon-eye"}} {{ctx.Locale.Tr "user.watched"}}
32+ {{if .ContextUser.IsIndividual}}
33+ <a class="{{if eq .TabName "activity"}}active {{end}}item" href="{{.ContextUser.HomeLink}}?tab=activity">
34+ {{svg "octicon-rss"}} {{ctx.Locale.Tr "user.activity"}}
4535 </a>
36+ {{if not .DisableStars}}
37+ <a class="{{if eq .TabName "stars"}}active {{end}}item" href="{{.ContextUser.HomeLink}}?tab=stars">
38+ {{svg "octicon-star"}} {{ctx.Locale.Tr "user.starred"}}
39+ {{if .ContextUser.NumStars}}
40+ <div class="ui small label">{{.ContextUser.NumStars}}</div>
41+ {{end}}
42+ </a>
43+ {{else}}
44+ <a class="{{if eq .TabName "watching"}}active {{end}}item" href="{{.ContextUser.HomeLink}}?tab=watching">
45+ {{svg "octicon-eye"}} {{ctx.Locale.Tr "user.watched"}}
46+ </a>
47+ {{end}}
4648 {{end}}
4749</div>
You can’t perform that action at this time.
0 commit comments