Monorepo for Tangled tangled.org

make buttons change mouse cursor #1076

merged opened by 1a-insec.net targeting master from 1a-insec.net/tangled-core: patch-1

The "pencil" buttons on /issues/X page, to the right of "Labels" and "Assignee", does not show a "hand" mouse cursor. This PR changes that behavior.

Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:73xkqje76lj5tostbsqa74b7/sh.tangled.repo.pull/3meu4s2a46p22
+3 -3
Diff #0
+1 -1
appview/pages/templates/repo/fragments/labelSectionHeader.html
··· 4 4 {{ template "repo/fragments/labelSectionHeaderText" .Name }} 5 5 {{ if (or .RepoInfo.Roles.IsOwner .RepoInfo.Roles.IsCollaborator) }} 6 6 <a 7 - class="text-gray-500 dark:text-gray-400 flex gap-1 items-center group" 7 + class="text-gray-500 dark:text-gray-400 flex gap-1 items-center group cursor-pointer" 8 8 hx-get="/{{ .RepoInfo.FullName }}/label/edit" 9 9 hx-vals='{"subject": "{{.Subject}}"}' 10 10 hx-swap="outerHTML"
+2 -2
appview/pages/templates/repo/issues/fragments/issueCommentActions.html
··· 10 10 11 11 {{ define "edit" }} 12 12 <a 13 - class="text-gray-500 dark:text-gray-400 flex gap-1 items-center group" 13 + class="text-gray-500 dark:text-gray-400 flex gap-1 items-center group cursor-pointer" 14 14 hx-get="/{{ .RepoInfo.FullName }}/issues/{{ .Issue.IssueId }}/comment/{{ .Comment.Id }}/edit" 15 15 hx-swap="outerHTML" 16 16 hx-target="#comment-body-{{.Comment.Id}}"> ··· 21 21 22 22 {{ define "delete" }} 23 23 <a 24 - class="text-gray-500 dark:text-gray-400 flex gap-1 items-center group" 24 + class="text-gray-500 dark:text-gray-400 flex gap-1 items-center group cursor-pointer" 25 25 hx-delete="/{{ .RepoInfo.FullName }}/issues/{{ .Issue.IssueId }}/comment/{{ .Comment.Id }}/" 26 26 hx-confirm="Are you sure you want to delete your comment?" 27 27 hx-swap="outerHTML"

History

1 round 1 comment
sign up or login to add to the discussion
1a-insec.net submitted #0
1 commit
expand
Make comment buttons show "hand" cursor
expand 1 comment

lgtm thank you!

pull request successfully merged