diff --git a/rhodecode/templates/pullrequests/pullrequest.html b/rhodecode/templates/pullrequests/pullrequest.html --- a/rhodecode/templates/pullrequests/pullrequest.html +++ b/rhodecode/templates/pullrequests/pullrequest.html @@ -34,7 +34,7 @@
- ${h.text('pullrequest_title',size=30)} + ${h.text('pullrequest_title', class_="large")}
@@ -43,7 +43,8 @@
- ${h.textarea('pullrequest_desc',size=30)} + ${h.textarea('pullrequest_desc',size=30, style="height:100px")} + ${_('Write a short description on this pull request')}
@@ -53,25 +54,26 @@
##ORG -
+
+
+ ${_('Origin repository')}: ${c.rhodecode_db_repo.description} +
${h.select('org_repo','',c.org_repos,class_='refs')}:${h.select('org_ref',c.default_org_ref,c.org_refs,class_='refs')} -
${c.rhodecode_db_repo.description}
-
- -
##OTHER, most Probably the PARENT OF THIS FORK -
+
+ ## filled with JS +
+
${h.select('other_repo',c.default_other_repo,c.other_repos,class_='refs')}:${c.default_other_repo_info['revs']} -
@@ -145,8 +147,8 @@ var otherrepoChanged = function(){ var sel_box = YUQ('#pull_request_form #other_repo')[0]; var repo_name = sel_box.options[sel_box.selectedIndex].value; - - YUD.get('other_repo_desc').innerHTML = other_repos_info[repo_name]['description']; + var _tmpl = "${_('Destination repository')}: {0}".format(other_repos_info[repo_name]['description']); + YUD.get('other_repo_desc').innerHTML = _tmpl // replace options of other_ref with the ones for the current other_repo var other_ref_selector = YUD.get('other_ref'); var new_select = YUD.createElementFromMarkup(other_repos_info[repo_name]['revs']);