Browse Source

#3027

tags/v1.22.11.3^2
chenshihai 3 years ago
parent
commit
b85d3d00f7
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      templates/repo/header.tmpl

+ 3
- 3
templates/repo/header.tmpl View File

@@ -52,11 +52,11 @@
{{if not .IsBeingCreated}}
<div class="repo-buttons">
<div class="ui labeled button" tabindex="0">
<div class="ui compact basic button">
<div class="ui compact basic button" onclick="$('.__watch_btn__').dropdown('show')">
<i class="icon fa-eye{{if not $.IsWatchingRepo}}-slash{{end}}"></i>{{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.watched"}}{{else}}{{$.i18n.Tr "repo.notWatched"}}{{end}}
<div class="ui dropdown floating">
<i class="dropdown icon" style="margin:0 -8px 0 4px"></i>
<div class="ui dropdown floating __watch_btn__" onclick="event.stopPropagation();">
<div class="text" style="display:none;"></div>
<i class="dropdown icon"></i>
{{$WatchNotifyType := or $.WatchNotifyType 0}}
<div class="menu" style="margin-left:-64px;">
<div class="item {{if not $.IsWatchingRepo}}active selected{{end}}">


Loading…
Cancel
Save