Mercurial > kallithea
comparison 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 |
comparison
equal
deleted
inserted
replaced
3311:2c1924699bf7 | 3312:1af36014d96f |
---|---|
117 <div class="changes">${h.fancy_file_stats(stat)}</div> | 117 <div class="changes">${h.fancy_file_stats(stat)}</div> |
118 </div> | 118 </div> |
119 %endfor | 119 %endfor |
120 </div> | 120 </div> |
121 % if c.limited_diff: | 121 % if c.limited_diff: |
122 <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> | 122 <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> |
123 % endif | 123 % endif |
124 </div> | 124 </div> |
125 </div> | 125 </div> |
126 ## REVIEWERS | 126 ## REVIEWERS |
127 <div style="float:left; border-left:1px dashed #eee"> | 127 <div style="float:left; border-left:1px dashed #eee"> |
176 <%namespace name="diff_block" file="/changeset/diff_block.html"/> | 176 <%namespace name="diff_block" file="/changeset/diff_block.html"/> |
177 %for fid, change, f, stat in c.files: | 177 %for fid, change, f, stat in c.files: |
178 ${diff_block.diff_block_simple([c.changes[fid]])} | 178 ${diff_block.diff_block_simple([c.changes[fid]])} |
179 %endfor | 179 %endfor |
180 % if c.limited_diff: | 180 % if c.limited_diff: |
181 <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> | 181 <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> |
182 % endif | 182 % endif |
183 | 183 |
184 | 184 |
185 ## template for inline comment form | 185 ## template for inline comment form |
186 <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> | 186 <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> |