diff options
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r-- | templates/repo/header.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index b36d1d8f6a..b2fd0710af 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -13,9 +13,6 @@ <a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> <div class="gt-mx-2">/</div> <a href="{{$.RepoLink}}">{{.Name}}</a> - {{if $.EnableFeed}} - <a href="{{$.RepoLink}}.rss"><i class="ui grey icon gt-ml-3" data-tooltip-content="{{$.locale.Tr "rss_feed"}}">{{svg "octicon-rss" 18}}</i></a> - {{end}} <div class="labels gt-df gt-ac gt-fw"> {{if .IsTemplate}} {{if .IsPrivate}} @@ -38,6 +35,9 @@ <span class="ui basic label">{{$.locale.Tr "repo.desc.archived"}}</span> {{end}} </div> + {{if $.EnableFeed}} + <a class="muted gt-ml-3" href="{{$.RepoLink}}.rss" data-tooltip-content="{{$.locale.Tr "rss_feed"}}">{{svg "octicon-rss" 18}}</a> + {{end}} </div> {{if $.IsPullMirror}} {{$address := MirrorRemoteAddress $.Context . $.Mirror.GetRemoteName false}} |