# HG changeset patch # User Marcin Kuzminski # Date 2012-06-05 23:23:02 # Node ID 51e3d60fed2f2a45c1971acc0ebfa89309d39e2f # Parent b262e349a7a56242a0ee44fb8412f7c198fd15b9 added link for detailed overview in pull-request form 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 @@ -61,7 +61,10 @@
-
+ +
+ ${_('Detailed compare view')} +

${_('Pull request reviewers')}

@@ -141,6 +144,7 @@ MultiSelectWidget('review_members','available_members','pull_request_form'); var loadPreview = function(){ + YUD.setStyle(YUD.get('pull_request_overview_url').parentElement,'display','none'); var url = "${h.url('compare_url', repo_name='org_repo', org_ref_type='branch', org_ref='org_ref', @@ -169,8 +173,11 @@ url = url.replace(key,val); } } - - ypjax(url,'pull_request_overview', function(data){}) + + ypjax(url,'pull_request_overview', function(data){ + YUD.get('pull_request_overview_url').href = url; + YUD.setStyle(YUD.get('pull_request_overview_url').parentElement,'display',''); + }) } YUE.on('refresh','click',function(e){ loadPreview()