diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -2679,9 +2679,18 @@ table.code-browser .browser-file { } .diffblock .diff-actions { - padding: 2px 0px 0px 2px; float: left; } +.diffblock .diff-actions span.no-file, +.diffblock .diff-actions span.arrow { + opacity: 0.5; +} +.diffblock .diff-actions span.arrow { + margin: 0 -3px; +} +.diffblock .diff-actions a i { + margin: 0 2px; +} .diffblock.twoway { overflow: visible; } diff --git a/kallithea/templates/changeset/diff_block.html b/kallithea/templates/changeset/diff_block.html --- a/kallithea/templates/changeset/diff_block.html +++ b/kallithea/templates/changeset/diff_block.html @@ -24,39 +24,49 @@
- ${h.safe_unicode(cs_filename)} | - %if op == 'A': - ${_('Added')} - ${h.short_ref(cs_ref_type, cs_ref_name)} - %elif op == 'M': - ${h.short_ref(a_ref_type, a_ref_name)} - - ${h.short_ref(cs_ref_type, cs_ref_name)} - %elif op == 'D': - ${_('Deleted')} - ${h.short_ref(a_ref_type, a_ref_name)} - %elif op == 'R': - ${_('Renamed')} - ${h.short_ref(a_ref_type, a_ref_name)} - - ${h.short_ref(cs_ref_type, cs_ref_name)} - %else: - ${op}??? - %endif + ${h.safe_unicode(cs_filename)}
+ + %if op == 'A': + + + %else: + + + %endif + + %if op == 'A': + + %elif op == 'M': + + %elif op == 'D': + + %elif op == 'R': + + %elif op is None: + + %else: + + %endif + + %if op == 'D': + + + %else: + + + %endif + + - - + - - + - - + - - + ${c.ignorews_url(request.GET, url_fid)} ${c.context_url(request.GET, url_fid)}