|
|
@@ -28,7 +28,7 @@
|
|
|
{{$.CSRFTokenHTML}}
|
|
|
<div class="ui labeled button" tabindex="0">
|
|
|
<button class="ui basic button">
|
|
|
- <i class="eye{{if not $.IsWatchingRepo}} slash outline{{end}} icon"></i>{{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{$.i18n.Tr "repo.watch"}}{{end}}
|
|
|
+ <i class="menu-icon octicon">👀</i> {{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{$.i18n.Tr "repo.watch"}}{{end}}
|
|
|
</button>
|
|
|
<a class="ui basic label" href="{{.Link}}/watchers">
|
|
|
{{.NumWatches}}
|
|
|
@@ -39,14 +39,17 @@
|
|
|
{{$.CSRFTokenHTML}}
|
|
|
<div class="ui labeled button" tabindex="0">
|
|
|
<button class="ui basic button">
|
|
|
- <i class="star{{if not $.IsStaringRepo}} outline{{end}} icon"></i>{{if $.IsStaringRepo}}{{$.i18n.Tr "repo.unstar"}}{{else}}{{$.i18n.Tr "repo.star"}}{{end}}
|
|
|
+ {{if $.IsStaringRepo}}
|
|
|
+ <i class="menu-icon octicon">🌟</i> {{$.i18n.Tr "repo.unstar"}}
|
|
|
+ {{else}}
|
|
|
+ <i class="menu-icon octicon">⭐</i> {{$.i18n.Tr "repo.star"}}
|
|
|
+ {{end}}
|
|
|
</button>
|
|
|
<a class="ui basic label" href="{{.Link}}/stars">
|
|
|
{{.NumStars}}
|
|
|
</a>
|
|
|
</div>
|
|
|
</form>
|
|
|
-
|
|
|
{{if .CanBeForked}}
|
|
|
<div class="ui labeled button" tabindex="0">
|
|
|
<a class="ui basic button {{if eq .OwnerID $.LoggedUserID}}poping up{{end}}" href="{{AppSubURL}}/repo/fork/{{.ID}}">
|