aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org
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/org
parentebb23967dc14b75a5559a36cfd3c25a6005e4a55 (diff)
downloadgitea-ef164d33c28f4456cb98d24932d360a949142d9d.tar.gz
gitea-ef164d33c28f4456cb98d24932d360a949142d9d.zip
Add RSS Feed buttons to Repo, User and Org pages (#19370)
Diffstat (limited to 'templates/org')
-rw-r--r--templates/org/home.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index c72fc53de5..1fe0b035e6 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -5,6 +5,7 @@
<div id="org-info">
<div class="ui header">
{{.Org.DisplayName}}
+ <a href="{{.Org.HomeLink}}.rss"><i class="ui grey icon tooltip ml-3" data-content="{{.i18n.Tr "rss_feed"}}" data-position="top center">{{svg "octicon-rss" 36}}</i></a>
<span class="org-visibility">
{{if .Org.Visibility.IsLimited}}<div class="ui large basic horizontal label">{{.i18n.Tr "org.settings.visibility.limited_shortname"}}</div>{{end}}
{{if .Org.Visibility.IsPrivate}}<div class="ui large basic horizontal label">{{.i18n.Tr "org.settings.visibility.private_shortname"}}</div>{{end}}