# HG changeset patch # User Søren Løvborg # Date 1439495538 -7200 # Node ID 42ce8e54bae58fc74bddf4baa583cba30d088712 # Parent 33249f840ecd06572c3fd646bd62ebcbd9bcbaee pullrequests: remove reviewer list during PR creation There is not much use for it before the actual diff is shown ... and removing it also removes a bit of duplicated code that otherwise should be maintained in two places. diff -r 33249f840ecd -r 42ce8e54bae5 kallithea/controllers/pullrequests.py --- a/kallithea/controllers/pullrequests.py Thu Aug 20 17:29:55 2015 +0200 +++ b/kallithea/controllers/pullrequests.py Thu Aug 13 21:52:18 2015 +0200 @@ -67,12 +67,6 @@ class PullrequestsController(BaseRepoController): - def __before__(self): - super(PullrequestsController, self).__before__() - repo_model = RepoModel() - c.users_array = repo_model.get_users_js() - c.user_groups_array = repo_model.get_user_groups_js() - def _get_repo_refs(self, repo, rev=None, branch=None, branch_rev=None): """return a structure with repo's interesting changesets, suitable for the selectors in pullrequest.html diff -r 33249f840ecd -r 42ce8e54bae5 kallithea/templates/pullrequests/pullrequest.html --- a/kallithea/templates/pullrequests/pullrequest.html Thu Aug 20 17:29:55 2015 +0200 +++ b/kallithea/templates/pullrequests/pullrequest.html Thu Aug 13 21:52:18 2015 +0200 @@ -92,25 +92,6 @@ - ## Reviewers -
-
${_('Pull Request Reviewers')}
-
- ## members goes here ! -
-
    -
-
- -
-
- ${h.text('user', class_='yui-ac-input',placeholder=_('Type name of reviewer to add'))} -
-
-
-
-
-

${_('Changesets')}

@@ -128,10 +109,6 @@