Skip to content

Commit 02a2ea5

Browse files
committed
Update
1 parent ac96f3f commit 02a2ea5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

templates/repo/header.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,10 @@
9090
{{end}}
9191
>
9292
{{svg "octicon-repo-forked"}}<span class="text not-mobile">{{ctx.Locale.Tr "repo.fork"}}</span>
93+
<span class="ui small label">{{CountFmt .NumForks}}</span>
9394
</a>
9495
<a class="ui basic label" href="{{.Link}}/forks">
95-
{{CountFmt .NumForks}}
96+
{{svg "octicon-triangle-down"}}
9697
</a>
9798
</div>
9899
<div class="ui small modal" id="fork-repo-modal">

templates/repo/watch_unwatch.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
<button type="submit" class="ui compact small basic button"{{if not $.IsSigned}} disabled{{end}} aria-label="{{$buttonText}}">
66
{{svg "octicon-eye"}}
77
<span aria-hidden="true">{{$buttonText}}</span>
8+
<span class="ui small label">{{CountFmt .Repository.NumWatches}}</span>
89
</button>
910
<a hx-boost="false" class="ui basic label" href="{{.RepoLink}}/watchers">
10-
{{CountFmt .Repository.NumWatches}}
11+
{{svg "octicon-triangle-down"}}
1112
</a>
1213
</div>
1314
</form>

0 commit comments

Comments
 (0)