diff rhodecode/templates/pullrequests/pullrequest_show.html @ 3312:1af36014d96f beta

show full diff option should preserve current GET params
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 03 Feb 2013 22:58:20 +0100
parents 91f4e30da32d
children cb40b3f6428c
line wrap: on
line diff
--- a/rhodecode/templates/pullrequests/pullrequest_show.html	Sun Feb 03 21:11:01 2013 +0100
+++ b/rhodecode/templates/pullrequests/pullrequest_show.html	Sun Feb 03 22:58:20 2013 +0100
@@ -119,7 +119,7 @@
                 %endfor
               </div>
               % if c.limited_diff:
-                <h5>${_('Changeset was too big and was cut off...')} <a href="${h.url.current(fulldiff=1)}" onclick="return confirm('${_("confirm to show potentially huge diff")}')">${_('Show full diff')}</a></h5>
+                <h5>${_('Changeset was too big and was cut off...')} <a href="${h.url.current(fulldiff=1, **request.GET.mixed())}" onclick="return confirm('${_("confirm to show potentially huge diff")}')">${_('Show full diff')}</a></h5>
               % endif
           </div>
       </div>
@@ -178,7 +178,7 @@
       ${diff_block.diff_block_simple([c.changes[fid]])}
     %endfor
     % if c.limited_diff:
-      <h4>${_('Changeset was too big and was cut off...')} <a href="${h.url.current(fulldiff=1)}" onclick="return confirm('${_("confirm to show potentially huge diff")}')">${_('Show full diff')}</a></h4>
+      <h4>${_('Changeset was too big and was cut off...')} <a href="${h.url.current(fulldiff=1, **request.GET.mixed())}" onclick="return confirm('${_("confirm to show potentially huge diff")}')">${_('Show full diff')}</a></h4>
     % endif