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