mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-30 05:07:06 +08:00
891391689a
Fix #21740.
Updated the Pull Request template so that the 'Update branch by merge'
button is visible for WIP PR's. Making the behaviour match a non WIP-PR.
Previous WIP page with changes pending on the branch:
![image](https://user-images.githubusercontent.com/1656302/215738307-e68a2f92-5ff8-4f48-a541-35ca81d1f1a4.png)
Updated UI adding the update button:
![image](https://user-images.githubusercontent.com/1656302/215737872-e0e9d712-b7aa-4b90-b7ed-6a92a14fc182.png)
## Notes
* have not removed the **$canAutoMerge** variable from the pull.tmpl on
this
[line](
|
||
---|---|---|
.. | ||
fields | ||
labels | ||
view_content | ||
branch_selector_field.tmpl | ||
choose.tmpl | ||
comment_tab.tmpl | ||
label_precolors.tmpl | ||
labels.tmpl | ||
list.tmpl | ||
milestone_issues.tmpl | ||
milestone_new.tmpl | ||
milestones.tmpl | ||
navbar.tmpl | ||
new_form.tmpl | ||
new.tmpl | ||
openclose.tmpl | ||
search.tmpl | ||
view_content.tmpl | ||
view_title.tmpl | ||
view.tmpl |