##// END OF EJS Templates
ux: make show file after/before links unclickable and black if...
dan -
r1031:113b91d4 default
parent child Browse files
Show More
@@ -732,7 +732,8 b' input.diff-collapse-state {'
732
732
733 .diff-menu {
733 .diff-menu {
734 float: right;
734 float: right;
735 a, button {
735
736 a, span {
736 padding: 5px;
737 padding: 5px;
737 display: block;
738 display: block;
738 float: left
739 float: left
@@ -271,13 +271,12 b' from rhodecode.lib.diffs import NEW_FILE'
271 ${_('Show file before')}
271 ${_('Show file before')}
272 </a>
272 </a>
273 %else:
273 %else:
274 <a
274 <span
275 disabled
276 class="tooltip"
275 class="tooltip"
277 title="${h.tooltip(_('File no longer present at commit: %(commit_id)s') % {'commit_id': filediff.diffset.source_ref[:12]})}"
276 title="${h.tooltip(_('File no longer present at commit: %(commit_id)s') % {'commit_id': filediff.diffset.source_ref[:12]})}"
278 >
277 >
279 ${_('Show file before')}
278 ${_('Show file before')}
280 </a>
279 </span>
281 %endif
280 %endif
282 %if filediff.patch['operation'] in ['A', 'M']:
281 %if filediff.patch['operation'] in ['A', 'M']:
283 <a
282 <a
@@ -288,13 +287,12 b' from rhodecode.lib.diffs import NEW_FILE'
288 ${_('Show file after')}
287 ${_('Show file after')}
289 </a>
288 </a>
290 %else:
289 %else:
291 <a
290 <span
292 disabled
293 class="tooltip"
291 class="tooltip"
294 title="${h.tooltip(_('File no longer present at commit: %(commit_id)s') % {'commit_id': filediff.diffset.target_ref[:12]})}"
292 title="${h.tooltip(_('File no longer present at commit: %(commit_id)s') % {'commit_id': filediff.diffset.target_ref[:12]})}"
295 >
293 >
296 ${_('Show file after')}
294 ${_('Show file after')}
297 </a>
295 </span>
298 %endif
296 %endif
299 <a
297 <a
300 class="tooltip"
298 class="tooltip"
General Comments 0
You need to be logged in to leave comments. Login now