##// END OF EJS Templates
ux: fix bug where limited diff message wasn't spanning entire table
dan -
r1202:84696169 stable
parent child Browse files
Show More
@@ -194,7 +194,7 b' collapse_all = len(diffset.files) > coll'
194 194 %endif
195 195 %if over_lines_changed_limit:
196 196 <tr class="cb-warning cb-collapser">
197 <td class="cb-text" ${c.diffmode == 'unified' and 'colspan=4' or 'colspan=4'}>
197 <td class="cb-text" ${c.diffmode == 'unified' and 'colspan=4' or 'colspan=6'}>
198 198 ${_('This diff has been collapsed as it changes many lines, (%i lines changed)' % lines_changed)}
199 199 <a href="#" class="cb-expand"
200 200 onclick="$(this).closest('table').removeClass('cb-collapsed'); return false;">${_('Show them')}
@@ -207,7 +207,7 b' collapse_all = len(diffset.files) > coll'
207 207 %endif
208 208 %if filediff.patch['is_limited_diff']:
209 209 <tr class="cb-warning cb-collapser">
210 <td class="cb-text" ${c.diffmode == 'unified' and 'colspan=4' or 'colspan=4'}>
210 <td class="cb-text" ${c.diffmode == 'unified' and 'colspan=4' or 'colspan=6'}>
211 211 ${_('The requested commit is too big and content was truncated.')} <a href="${link_for(fulldiff=1)}" onclick="return confirm('${_("Showing a big diff might take some time and resources, continue?")}')">${_('Show full diff')}</a>
212 212 </td>
213 213 </tr>
General Comments 0
You need to be logged in to leave comments. Login now