summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorktprograms <71804605+ktprograms@users.noreply.github.com>2022-04-25 04:03:39 +0800
committerGitHub <noreply@github.com>2022-04-24 22:03:39 +0200
commitef164d33c28f4456cb98d24932d360a949142d9d (patch)
treeaa955c807c5af02bd863e0f815a3735b57a7269c /templates/repo
parentebb23967dc14b75a5559a36cfd3c25a6005e4a55 (diff)
downloadgitea-ef164d33c28f4456cb98d24932d360a949142d9d.tar.gz
gitea-ef164d33c28f4456cb98d24932d360a949142d9d.zip
Add RSS Feed buttons to Repo, User and Org pages (#19370)
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/header.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index 198b05b4ba..588cfc7717 100644
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -13,6 +13,7 @@
<a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a>
<div class="mx-2">/</div>
<a href="{{$.RepoLink}}">{{.Name}}</a>
+ <a href="{{$.RepoLink}}.rss"><i class="ui grey icon tooltip ml-3" data-content="{{$.i18n.Tr "rss_feed"}}" data-position="top center">{{svg "octicon-rss" 18}}</i></a>
<div class="labels df ac fw">
{{if .IsTemplate}}
{{if .IsPrivate}}