# HG changeset patch # User Mads Kiilerich # Date 1440602939 -7200 # Node ID 8c5d1e94f9ee003e01fc731eb804c9a016601043 # Parent 8fcf31ac11054d51f360050afcda174444373c30 changelog: show merges as semi-opaque - they are usually not interesting TODO: also in other views diff -r 8fcf31ac1105 -r 8c5d1e94f9ee kallithea/public/css/style.css --- a/kallithea/public/css/style.css Mon Aug 24 13:31:23 2015 +0200 +++ b/kallithea/public/css/style.css Wed Aug 26 17:28:59 2015 +0200 @@ -2375,6 +2375,10 @@ border-color: #cdcdcd; } +#graph_content #changesets tr.mergerow { + opacity: 0.5; +} + #graph_content #changesets td { overflow: hidden; text-overflow: ellipsis; diff -r 8fcf31ac1105 -r 8c5d1e94f9ee kallithea/templates/changelog/changelog.html --- a/kallithea/templates/changelog/changelog.html Mon Aug 24 13:31:23 2015 +0200 +++ b/kallithea/templates/changelog/changelog.html Wed Aug 26 17:28:59 2015 +0200 @@ -78,7 +78,7 @@ %for cnt,cs in enumerate(c.pagination): - +
%if c.changelog_for_path: ${h.checkbox(cs.raw_id,class_="changeset_range", disabled="disabled")} diff -r 8fcf31ac1105 -r 8c5d1e94f9ee kallithea/tests/functional/test_changelog.py --- a/kallithea/tests/functional/test_changelog.py Mon Aug 24 13:31:23 2015 +0200 +++ b/kallithea/tests/functional/test_changelog.py Wed Aug 26 17:28:59 2015 +0200 @@ -8,7 +8,7 @@ response = self.app.get(url(controller='changelog', action='index', repo_name=HG_REPO)) - response.mustcontain('''id="chg_20" class="container"''') + response.mustcontain('''id="chg_20" class="container mergerow"''') response.mustcontain( """