]> source.dussan.org Git - gitea.git/commitdiff
Relocate the `RSS user feed` button (#26882)
authorBeYonme <38558065+devioa@users.noreply.github.com>
Sun, 3 Sep 2023 11:06:59 +0000 (19:06 +0800)
committerGitHub <noreply@github.com>
Sun, 3 Sep 2023 11:06:59 +0000 (11:06 +0000)
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>
templates/shared/user/profile_big_avatar.tmpl

index 1571f7c19df771d84a112f1b3d20ece09b37824c..44797ff4a75ccfc6a5dcff0790494a03847eac08 100644 (file)
        <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">