# HG changeset patch # User Mads Kiilerich # Date 2016-09-12 17:41:19 # Node ID 9a523af15c9f9550a730f9db74070149a3fbdc12 # Parent 59639343672495cb89be54b98f1d6d3a4c44307c changelog: show merges as semi opaque in more places Follow up to 8c5d1e94f9ee. PRs available for updates (those that have a radio button) are not greyed out - that would make it look too much like they were disabled. These merges should perhaps be shown in a different way - perhaps not greying the whole line. But for now, this makes it more consistent. 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 @@ -2120,9 +2120,12 @@ BIN_FILENODE = 6 border-color: #cdcdcd; } +#updaterevs-table tr.mergerow, +#graph_content_pr tr.mergerow, +#shortlog_data tr.mergerow, #graph_content #changesets tr.out-of-range, #graph_content #changesets tr.mergerow { - opacity: 0.5; + opacity: 0.6; } #graph_content #changesets td { diff --git a/kallithea/templates/changelog/changelog_summary_data.html b/kallithea/templates/changelog/changelog_summary_data.html --- a/kallithea/templates/changelog/changelog_summary_data.html +++ b/kallithea/templates/changelog/changelog_summary_data.html @@ -11,7 +11,7 @@ ${_('Refs')} %for cnt,cs in enumerate(c.repo_changesets): - +
%if c.statuses.get(cs.raw_id): diff --git a/kallithea/templates/compare/compare_cs.html b/kallithea/templates/compare/compare_cs.html --- a/kallithea/templates/compare/compare_cs.html +++ b/kallithea/templates/compare/compare_cs.html @@ -18,7 +18,7 @@ %for cnt, cs in enumerate(reversed(c.cs_ranges)): - +
%if cs.raw_id in c.statuses:
diff --git a/kallithea/templates/pullrequests/pullrequest_show.html b/kallithea/templates/pullrequests/pullrequest_show.html --- a/kallithea/templates/pullrequests/pullrequest_show.html +++ b/kallithea/templates/pullrequests/pullrequest_show.html @@ -181,7 +181,7 @@ ${self.repo_context_bar('showpullrequest
%for cnt, cs in enumerate(c.avail_cs): - + %if c.cs_ranges and cs.revision == c.cs_ranges[-1].revision:
%if editable: