Monorepo for Tangled tangled.org

appview/pages: move rss button into profile actions list #743

merged opened by oppi.li targeting master from push-uqumuwzuwmmq
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:qfpnj4og54vl56wngdriaxug/sh.tangled.repo.pull/3m4prqvq55q22
+14 -6
Diff #0
+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"> ··· 72 71 {{ end }} 73 72 </div> 74 73 {{ end }} 75 - {{ if ne .FollowStatus.String "IsSelf" }} 76 - {{ template "user/fragments/follow" . }} 77 - {{ else }} 74 + 75 + <div class="flex mt-2 items-center gap-2"> 76 + {{ if ne .FollowStatus.String "IsSelf" }} 77 + {{ template "user/fragments/follow" . }} 78 + {{ else }} 78 79 <button id="editBtn" 79 - class="btn mt-2 w-full flex items-center gap-2 group" 80 + class="btn w-full flex items-center gap-2 group" 80 81 hx-target="#profile-bio" 81 82 hx-get="/profile/edit-bio" 82 83 hx-swap="innerHTML"> ··· 84 85 edit 85 86 {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }} 86 87 </button> 87 - {{ end }} 88 + {{ end }} 89 + 90 + <a class="btn text-sm no-underline hover:no-underline flex items-center gap-2 group" 91 + href="/{{ $userIdent }}/feed.atom"> 92 + {{ i "rss" "size-4" }} 93 + </a> 94 + </div> 95 + 88 96 </div> 89 97 <div id="update-profile" class="text-red-400 dark:text-red-500"></div> 90 98 </div>

History

1 round 0 comments
sign up or login to add to the discussion
oppi.li submitted #0
1 commit
expand
appview/pages: move rss button into profile actions list
3/3 success
expand
expand 0 comments
pull request successfully merged