forgejo/templates/repo/issue/view_content
Lunny Xiao 4344a64107
Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177)
* Allow custom default merge message with .gitea/MERGE_MESSAGE_<merge_style>_TEMPLATE.md

* Some improvements

* Follow some advices

* Fix bug

* Fix bug

* Fix lint

* Fix close comment

* Fix test

* Fix and docs

* Improve codes

* Update docs and remove unnecessary variables

* return error for GetDefaultMergeMessage

* Fix test

* improve code

* ignore unknow unit type

* return error for GetDefaultMergeMessage

* Update services/pull/merge.go

* Some improvements

* Follow some advices

* Fix bug

* Fix lint

* Improve codes

* Update docs and remove unnecessary variables

* return error for GetDefaultMergeMessage

* improve code

* Handle deleted HeadRepo in GetDefaultMergeMessage

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix test

* Fix test

Co-authored-by: zeripath <art27@cantab.net>
2022-05-08 20:32:45 +08:00
..
add_reaction.tmpl Align dropdown right (#14406) 2021-01-20 02:08:21 +01:00
attachments.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
comments.tmpl Auto merge pull requests when all checks succeeded via API (#9307) 2022-05-08 01:05:52 +08:00
comments_delete_time.tmpl Cleanup and use global style on popups (#17674) 2021-11-18 11:26:50 +08:00
context_menu.tmpl Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
pull.tmpl Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 2022-05-08 20:32:45 +08:00
reactions.tmpl Support unicode emojis and remove emojify.js (#11032) 2020-04-28 15:05:39 -03:00
reference_issue_dialog.tmpl Comment - Reference in new issue (#14366) 2021-01-21 14:51:17 +01:00
sidebar.tmpl Add "Reference" section to Issue view sidebar (#19609) 2022-05-05 20:58:37 +02:00