Mirror of @tangled.org/core. Running on a Raspberry Pi Zero 2 (Please be gentle).
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

appview/pages: move rss button into profile actions list

Signed-off-by: oppiliappan <me@oppi.li>

authored by

oppiliappan and committed by
Tangled
a79983a4 a218ce30

+14 -6
+14 -6
appview/pages/templates/user/fragments/profileCard.html
··· 17 17 <p class="text-gray-500 dark:text-gray-400">{{ .Pronouns }}</p> 18 18 {{ end }} 19 19 {{ end }} 20 - <a href="/{{ $userIdent }}/feed.atom">{{ i "rss" "size-4" }}</a> 21 20 </div> 22 21 23 22 <div class="md:hidden"> ··· 71 72 {{ end }} 72 73 </div> 73 74 {{ end }} 74 - {{ if ne .FollowStatus.String "IsSelf" }} 75 - {{ template "user/fragments/follow" . }} 76 - {{ else }} 75 + 76 + <div class="flex mt-2 items-center gap-2"> 77 + {{ if ne .FollowStatus.String "IsSelf" }} 78 + {{ template "user/fragments/follow" . }} 79 + {{ else }} 77 80 <button id="editBtn" 78 - class="btn mt-2 w-full flex items-center gap-2 group" 81 + class="btn w-full flex items-center gap-2 group" 79 82 hx-target="#profile-bio" 80 83 hx-get="/profile/edit-bio" 81 84 hx-swap="innerHTML"> ··· 85 84 edit 86 85 {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }} 87 86 </button> 88 - {{ end }} 87 + {{ end }} 88 + 89 + <a class="btn text-sm no-underline hover:no-underline flex items-center gap-2 group" 90 + href="/{{ $userIdent }}/feed.atom"> 91 + {{ i "rss" "size-4" }} 92 + </a> 93 + </div> 94 + 89 95 </div> 90 96 <div id="update-profile" class="text-red-400 dark:text-red-500"></div> 91 97 </div>