summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBeYonme <38558065+devioa@users.noreply.github.com>2023-09-03 19:06:59 +0800
committerGitHub <noreply@github.com>2023-09-03 11:06:59 +0000
commit918accaafa6f933eb055bb796ba167f12c514e47 (patch)
tree2d935061f371431bcae31ebf8a625eb194fd809b
parentfc039167d200b423c95807758628e4899e3ca7df (diff)
downloadgitea-918accaafa6f933eb055bb796ba167f12c514e47.tar.gz
gitea-918accaafa6f933eb055bb796ba167f12c514e47.zip
Relocate the `RSS user feed` button (#26882)
before: ![before](https://github.com/go-gitea/gitea/assets/38558065/e33e0809-91cd-451a-9c36-ab20b9296038) after: ![after](https://github.com/go-gitea/gitea/assets/38558065/9dbfb0ce-1d0e-4bc8-8502-6b4af0fba220) Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
-rw-r--r--templates/shared/user/profile_big_avatar.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/shared/user/profile_big_avatar.tmpl b/templates/shared/user/profile_big_avatar.tmpl
index 1571f7c19d..44797ff4a7 100644
--- a/templates/shared/user/profile_big_avatar.tmpl
+++ b/templates/shared/user/profile_big_avatar.tmpl
@@ -14,11 +14,11 @@
<div class="content gt-word-break profile-avatar-name">
{{if .ContextUser.FullName}}<span class="header text center">{{.ContextUser.FullName}}</span>{{end}}
<span class="username text center">{{.ContextUser.Name}}</span>
- {{if .EnableFeed}}
- <a href="{{.ContextUser.HomeLink}}.rss"><i class="ui text grey gt-ml-3" data-tooltip-content="{{.locale.Tr "rss_feed"}}">{{svg "octicon-rss" 18}}</i></a>
- {{end}}
<div class="gt-mt-3">
<a class="muted" href="{{.ContextUser.HomeLink}}?tab=followers">{{svg "octicon-person" 18 "gt-mr-2"}}{{.NumFollowers}} {{.locale.Tr "user.followers"}}</a> ยท <a class="muted" href="{{.ContextUser.HomeLink}}?tab=following">{{.NumFollowing}} {{.locale.Tr "user.following"}}</a>
+ {{if .EnableFeed}}
+ <a href="{{.ContextUser.HomeLink}}.rss"><i class="ui text grey gt-ml-3" data-tooltip-content="{{.locale.Tr "rss_feed"}}">{{svg "octicon-rss" 18}}</i></a>
+ {{end}}
</div>
</div>
<div class="extra content gt-word-break">