# HG changeset patch # User Marcin Kuzminski # Date 2018-01-19 12:13:38 # Node ID 669f4133b6ef681d47ca27a7d413e70eaa65aa3a # Parent 590df01217bb4db68edf753c65525e31ff1d2282 pull-requests: allow opening PR from changelog based on selected refs for git as well as hg. diff --git a/rhodecode/templates/changelog/changelog.mako b/rhodecode/templates/changelog/changelog.mako --- a/rhodecode/templates/changelog/changelog.mako +++ b/rhodecode/templates/changelog/changelog.mako @@ -157,7 +157,7 @@ var open_new_pull_request = $('#open_new_pull_request'); if(open_new_pull_request){ var selected_changes = selectedCheckboxes.length; - if (selected_changes > 1 || selected_changes == 1 && templateContext.repo_type != 'hg') { + if (selected_changes > 1 || selected_changes == 1 && templateContext.repo_type == 'svn') { open_new_pull_request.hide(); } else { if (selected_changes == 1) {