gitea/templates/repo/issue
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
..
labels Add dropdown icon to template loading dropdown (#18564) 2022-02-03 08:13:22 +00:00
view_content Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 2022-05-08 20:32:45 +08:00
branch_selector_field.tmpl Add option to define refs in issue templates (#17842) 2021-12-17 21:29:09 +00:00
choose.tmpl Use the new/choose link for New Issue on project page (#19172) 2022-03-22 19:54:24 +00:00
comment_tab.tmpl Remove dependent on session auth for api/v1 routers (#19321) 2022-04-08 06:22:10 +02:00
label_precolors.tmpl Fix purple color in suggested label colors (#18241) 2022-01-11 12:11:40 -06:00
labels.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
list.tmpl Improve UI on mobile (#19546) 2022-05-01 18:11:21 +02:00
milestone_issues.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2022-02-08 11:02:30 +08:00
milestone_new.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
milestones.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2022-02-08 11:02:30 +08:00
navbar.tmpl Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
new_form.tmpl prevent double click new issue/pull/comment button (#16157) 2022-05-07 14:24:02 +02:00
new.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
openclose.tmpl Markdown and Repo header tweaks (#13744) 2020-11-29 17:52:11 +02:00
search.tmpl Disable search box autofocus on issue/pr pages (#12229) 2020-07-26 22:43:14 -04:00
view_content.tmpl prevent double click new issue/pull/comment button (#16157) 2022-05-07 14:24:02 +02:00
view_title.tmpl Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2022-02-08 11:02:30 +08:00
view.tmpl Improve UI on mobile (#19546) 2022-05-01 18:11:21 +02:00