aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/home.tmpl
diff options
context:
space:
mode:
authorPanagiotis "Ivory" Vasilopoulos <git@n0toose.net>2023-12-07 03:01:32 +0000
committerGitHub <noreply@github.com>2023-12-07 03:01:32 +0000
commitdac7728e9d05b25f1132deefce92a61afd36973f (patch)
tree7fc7a3c980fd378d399127ca13075f24c8a66887 /templates/org/home.tmpl
parentbfacb5c5017a41ec5bad48d4c639287634f7bfb0 (diff)
downloadgitea-dac7728e9d05b25f1132deefce92a61afd36973f.tar.gz
gitea-dac7728e9d05b25f1132deefce92a61afd36973f.zip
Issue fixes for RSS feed improvements (#28380)
Follow-up for #28368 - Just replace button with an a-element with the button class - Remove useless link-action class from template/org/home.tmpl
Diffstat (limited to 'templates/org/home.tmpl')
-rw-r--r--templates/org/home.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index a84e3efc89..fc65d4691c 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -21,9 +21,9 @@
</div>
<div class="right menu">
{{if .EnableFeed}}
- <button class="link-action ui basic label button gt-mr-0" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}" data-url="{{$.Org.HomeLink}}.rss">
+ <a class="ui basic label button gt-mr-0" href="{{$.Org.HomeLink}}.rss" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}">
{{svg "octicon-rss" 24}}
- </button>
+ </a>
{{end}}
<button class="link-action ui basic button gt-mr-0" data-url="{{.Org.HomeLink}}?action={{if $.IsFollowing}}unfollow{{else}}follow{{end}}">
{{if $.IsFollowing}}