mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This PR introduces the `ReviewedOn` and `ReviewedBy` variables for the default merge message templates (e.g., `.gitea/default_merge_message/MERGE_TEMPLATE.md`). This allows customizing the default merge messages while retaining these trailers. This also moves the associated logic out of `pull.tmpl` into the relevant Go function. This is a first contribution towards #11077. --- For illustration, this allows to recreate the "default default" merge message with the following template: ``` .gitea/default_merge_message/MERGE_TEMPLATE.md Merge pull request '${PullRequestTitle}' (${PullRequestReference}) from ${HeadBranch} into ${BaseBranch} ${ReviewedOn} ${ReviewedBy} ``` |
8 months ago | |
---|---|---|
.. | ||
fields | 9 months ago | |
labels | 9 months ago | |
milestone | 11 months ago | |
view_content | 8 months ago | |
branch_selector_field.tmpl | 9 months ago | |
card.tmpl | 8 months ago | |
choose.tmpl | 10 months ago | |
comment_tab.tmpl | 1 year ago | |
filter_actions.tmpl | 9 months ago | |
filter_list.tmpl | 11 months ago | |
filters.tmpl | 11 months ago | |
label_precolors.tmpl | 11 months ago | |
labels.tmpl | 10 months ago | |
list.tmpl | 8 months ago | |
milestone_issues.tmpl | 11 months ago | |
milestone_new.tmpl | 10 months ago | |
milestones.tmpl | 11 months ago | |
navbar.tmpl | 11 months ago | |
new.tmpl | 11 months ago | |
new_form.tmpl | 11 months ago | |
openclose.tmpl | 11 months ago | |
search.tmpl | 11 months ago | |
view.tmpl | 2 years ago | |
view_content.tmpl | 9 months ago | |
view_title.tmpl | 9 months ago |