gitea/templates/repo/issue
HesterG c6f1fb1c6d
Use fetch form action for lock/unlock/pin/unpin on sidebar (#25380)
Before:

<img width="364" alt="Screen Shot 2023-06-20 at 11 59 11"
src="https://github.com/go-gitea/gitea/assets/17645053/ad284b7e-8d21-43be-b178-bbcfd37cb5bd">

Might trigger many posts when keep clicking the buttons above.

<img width="448" alt="Screen Shot 2023-06-20 at 11 52 28"
src="https://github.com/go-gitea/gitea/assets/17645053/a60aa6ac-af74-45e4-b13a-512b436b81b0">
<img width="678" alt="Screen Shot 2023-06-20 at 11 52 37"
src="https://github.com/go-gitea/gitea/assets/17645053/d6662700-3643-4cc7-a2ec-64e1c0f5fbdb">

After (PR sidebar, Same for issue):


https://github.com/go-gitea/gitea/assets/17645053/9df3ad1f-e29c-439b-8bde-e6b917d63cc6

For delete, it is using `base/modal_actions_confirm` subtemplate, and we
might need another general solution for this (maybe add another
attribute to the subtemplate or something)

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-06-29 04:16:04 +00:00
..
fields Add validations.required check to dropdown field (#24849) 2023-05-22 21:26:48 +00:00
labels Button and color enhancements (#24989) 2023-06-09 08:37:47 +00:00
milestone Improve dropdown menus, remove inline styles (#24954) 2023-05-29 14:10:06 +00:00
view_content Use fetch form action for lock/unlock/pin/unpin on sidebar (#25380) 2023-06-29 04:16:04 +00:00
branch_selector_field.tmpl Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
choose.tmpl Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
comment_tab.tmpl Improve markdown editor: width, height, preferred (#23895) 2023-04-07 13:03:29 -04:00
label_precolors.tmpl Fix purple color in suggested label colors (#18241) 2022-01-11 12:11:40 -06:00
labels.tmpl Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
list.tmpl Fix issue filters on mobile view (#25368) 2023-06-19 17:12:15 +00:00
milestone_issues.tmpl Various UI fixes (#25264) 2023-06-21 21:59:49 -04:00
milestone_new.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
milestones.tmpl Introduce shared template for search inputs (#25338) 2023-06-22 10:27:35 +00:00
navbar.tmpl Fix UI on mobile view (#25315) 2023-06-18 10:31:42 +00:00
new_form.tmpl Use fetch to send requests to create issues/comments (#25258) 2023-06-16 06:32:43 +00:00
new.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
openclose.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
search.tmpl Introduce shared template for search inputs (#25338) 2023-06-22 10:27:35 +00:00
view_content.tmpl Use fetch to send requests to create issues/comments (#25258) 2023-06-16 06:32:43 +00:00
view_title.tmpl Diff page enhancements (#25398) 2023-06-22 11:05:22 +00:00
view.tmpl Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00