# HG changeset patch # User Søren Løvborg # Date 2015-08-13 21:52:18 # 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 --git a/kallithea/controllers/pullrequests.py b/kallithea/controllers/pullrequests.py --- a/kallithea/controllers/pullrequests.py +++ b/kallithea/controllers/pullrequests.py @@ -67,12 +67,6 @@ log = logging.getLogger(__name__) 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 --git a/kallithea/templates/pullrequests/pullrequest.html b/kallithea/templates/pullrequests/pullrequest.html --- a/kallithea/templates/pullrequests/pullrequest.html +++ b/kallithea/templates/pullrequests/pullrequest.html @@ -92,25 +92,6 @@ ${self.repo_context_bar('showpullrequest - ## 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 @@ ${self.repo_context_bar('showpullrequest