gitea/templates/repo/issue
6543 36943e56d6 Add "Update Branch" button to Pull Requests (#9784)
* add Divergence

* add Update Button

* first working version

* re-use code

* split raw merge commands and db-change functions (notify, cache, ...)

* use rawMerge (remove redundant code)

* own function to get Diverging of PRs

* use FlashError

* correct Error Msg

* hook is triggerd ... so remove comment

* add "branch2" to "user2/repo1" because it unit-test "TestPullView_ReviewerMissed" use it but dont exist jet :/

* move GetPerm to IsUserAllowedToUpdate

* add Flash Success MSG

* imprufe code
- remove useless js chage

* fix-lint

* TEST: add PullRequest ID:5
Repo: user2/repo1
Base: branch1
Head: pr-to-update

* correct comments

* make PR5 outdated

* fix Tests

* WIP: add pull update test

* update revs

* update locales

* working TEST

* update UI

* misspell

* change style

* add 1s delay so rev exist

* move row up (before merge row)

* fix lint nit

* UI remove divider

* Update style

* nits

* do it right

* introduce IsSameRepo

* remove useless check

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-17 08:03:40 +02:00
..
view_content Add "Update Branch" button to Pull Requests (#9784) 2020-01-17 08:03:40 +02:00
branch_selector_field.tmpl hide branch on pull request view or create UI (#2454) 2017-09-06 15:02:51 +03:00
comment_tab.tmpl Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
label_precolors.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
labels.tmpl Show label list on label set (#9251) 2019-12-06 21:13:19 -05:00
list.tmpl Fix repository issues pagination bug when there are more than one label filter (#9512) 2019-12-28 14:43:46 +00:00
milestone_issues.tmpl Fix repository issues pagination bug when there are more than one label filter (#9512) 2019-12-28 14:43:46 +00:00
milestone_new.tmpl Fix max length check and limit in multiple repo forms (#9148) 2019-11-25 01:06:23 +02:00
milestones.tmpl Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
navbar.tmpl Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
new.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
new_form.tmpl Add description to labels on create issue (#9392) 2019-12-17 15:02:17 -05:00
search.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
view.tmpl Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
view_content.tmpl [Fix] AllowedReaction code (#9518) 2019-12-27 18:43:56 -05:00
view_title.tmpl Change target branch for pull request (#6488) 2019-12-16 14:20:25 +08:00