Mercurial > kallithea
comparison rhodecode/templates/changeset/changeset.html @ 3266:91f4e30da32d beta
added show full diff into cut off message ref #745
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 30 Jan 2013 00:06:36 +0100 |
parents | b4f401524060 |
children | 1af36014d96f |
comparison
equal
deleted
inserted
replaced
3265:9024748fb584 | 3266:91f4e30da32d |
---|---|
132 </div> | 132 </div> |
133 <div class="changes">${h.fancy_file_stats(stats)}</div> | 133 <div class="changes">${h.fancy_file_stats(stats)}</div> |
134 </div> | 134 </div> |
135 %endfor | 135 %endfor |
136 % if c.limited_diff: | 136 % if c.limited_diff: |
137 <h5>${_('Changeset was too big and was cut off...')}</h5> | 137 <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> |
138 % endif | 138 % endif |
139 </div> | 139 </div> |
140 </div> | 140 </div> |
141 | 141 |
142 </div> | 142 </div> |
144 ## diff block | 144 ## diff block |
145 <%namespace name="diff_block" file="/changeset/diff_block.html"/> | 145 <%namespace name="diff_block" file="/changeset/diff_block.html"/> |
146 ${diff_block.diff_block(c.changes[c.changeset.raw_id])} | 146 ${diff_block.diff_block(c.changes[c.changeset.raw_id])} |
147 | 147 |
148 % if c.limited_diff: | 148 % if c.limited_diff: |
149 <h4>${_('Changeset was too big and was cut off...')}</h4> | 149 <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> |
150 % endif | 150 % endif |
151 | 151 |
152 ## template for inline comment form | 152 ## template for inline comment form |
153 <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> | 153 <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> |
154 ${comment.comment_inline_form()} | 154 ${comment.comment_inline_form()} |