File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 21
21
</div>
22
22
<div class="right menu">
23
23
{{if .EnableFeed}}
24
- <button class="link-action ui basic label button gt-mr-0" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}" data-url="{{$.Org.HomeLink}}.rss ">
24
+ <a class="ui basic label button gt-mr-0" href="{{$.Org.HomeLink}}.rss" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}">
25
25
{{svg "octicon-rss" 24}}
26
- </button >
26
+ </a >
27
27
{{end}}
28
28
<button class="link-action ui basic button gt-mr-0" data-url="{{.Org.HomeLink}}?action={{if $.IsFollowing}}unfollow{{else}}follow{{end}}">
29
29
{{if $.IsFollowing}}
Original file line number Diff line number Diff line change 54
54
{{end}}
55
55
{{if $.EnableFeed}}
56
56
{{/* An extra div-element is not necessary here, as this button does not secretly contain two buttons. */}}
57
- <button class="ui compact small basic button" data-url ="{{$.RepoLink}}.rss" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}">
57
+ <a class="ui compact small basic button" href ="{{$.RepoLink}}.rss" data-tooltip-content="{{ctx.Locale.Tr "rss_feed"}}">
58
58
{{svg "octicon-rss" 16}}
59
- </button >
59
+ </a >
60
60
{{end}}
61
61
<form method="post" action="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}">
62
62
{{$.CsrfTokenHtml}}
You can’t perform that action at this time.
0 commit comments