# HG changeset patch # User domruf # Date 1508966194 -7200 # Node ID b66e4d720198303af5801870116413a502ed711b # Parent 73234a550e7d14f97a80f70557c422d3975f314d templates: change .node elements to This way we don't need to make them 'float: left' diff -r 73234a550e7d -r b66e4d720198 kallithea/public/css/style.css --- a/kallithea/public/css/style.css Wed Oct 25 23:08:41 2017 +0200 +++ b/kallithea/public/css/style.css Wed Oct 25 23:16:34 2017 +0200 @@ -1936,9 +1936,6 @@ .cs_files .progress { margin-bottom: 0; } -.cs_files .node { - float: left; -} .cs_files .changes { float: right; color: #577632; diff -r 73234a550e7d -r b66e4d720198 kallithea/public/less/kallithea-diff.less --- a/kallithea/public/less/kallithea-diff.less Wed Oct 25 23:08:41 2017 +0200 +++ b/kallithea/public/less/kallithea-diff.less Wed Oct 25 23:16:34 2017 +0200 @@ -1,9 +1,6 @@ .cs_files .progress { margin-bottom: 0; } -.cs_files .node { - float: left; -} .cs_files .changes { float: right; color: #577632; diff -r 73234a550e7d -r b66e4d720198 kallithea/templates/changeset/changeset.html --- a/kallithea/templates/changeset/changeset.html Wed Oct 25 23:08:41 2017 +0200 +++ b/kallithea/templates/changeset/changeset.html Wed Oct 25 23:16:34 2017 +0200 @@ -152,10 +152,10 @@
%for fid, url_fid, op, a_path, path, diff, stats in file_diff_data:
-
+ ${h.link_to(h.safe_unicode(path), '#%s' % fid)} -
+
${h.fancy_file_stats(stats)}
%endfor diff -r 73234a550e7d -r b66e4d720198 kallithea/templates/changeset/changeset_range.html --- a/kallithea/templates/changeset/changeset_range.html Wed Oct 25 23:08:41 2017 +0200 +++ b/kallithea/templates/changeset/changeset_range.html Wed Oct 25 23:16:34 2017 +0200 @@ -54,10 +54,10 @@ <% a_rev, cs_rev, file_diff_data = c.changes[cs.raw_id] %> %for fid, url_fid, op, a_path, path, diff, stats in file_diff_data:
-
+ ${h.link_to(h.safe_unicode(path), '#%s' % fid)} -
+
${h.fancy_file_stats(stats)}
%endfor diff -r 73234a550e7d -r b66e4d720198 kallithea/templates/compare/compare_diff.html --- a/kallithea/templates/compare/compare_diff.html Wed Oct 25 23:08:41 2017 +0200 +++ b/kallithea/templates/compare/compare_diff.html Wed Oct 25 23:16:34 2017 +0200 @@ -70,10 +70,10 @@ %endif %for fid, url_fid, op, a_path, path, diff, stats in c.file_diff_data:
-
+ ${h.link_to(h.safe_unicode(path), '#%s' % fid)} -
+
${h.fancy_file_stats(stats)}
%endfor diff -r 73234a550e7d -r b66e4d720198 kallithea/templates/pullrequests/pullrequest_show.html --- a/kallithea/templates/pullrequests/pullrequest_show.html Wed Oct 25 23:08:41 2017 +0200 +++ b/kallithea/templates/pullrequests/pullrequest_show.html Wed Oct 25 23:16:34 2017 +0200 @@ -307,10 +307,10 @@ %endif %for fid, url_fid, op, a_path, path, diff, stats in c.file_diff_data:
-
+ ${h.link_to(h.safe_unicode(path), '#%s' % fid)} -
+
${h.fancy_file_stats(stats)}
%endfor diff -r 73234a550e7d -r b66e4d720198 kallithea/tests/functional/test_compare_local.py --- a/kallithea/tests/functional/test_compare_local.py Wed Oct 25 23:08:41 2017 +0200 +++ b/kallithea/tests/functional/test_compare_local.py Wed Oct 25 23:16:34 2017 +0200 @@ -30,48 +30,48 @@ ## files diff response.mustcontain( - '''''') + ''') response.mustcontain( - '''
+ ''' test_and_report.sh''') response.mustcontain( - '''
+ ''' .hgignore''') response.mustcontain( - '''
+ ''' .hgtags''') response.mustcontain( - '''
+ ''' docs/api/index.rst''') response.mustcontain( - '''
+ ''' vcs/__init__.py''') response.mustcontain( - '''
+ ''' vcs/backends/hg.py''') response.mustcontain( - '''
+ ''' vcs/utils/__init__.py''') response.mustcontain( - '''
+ ''' vcs/utils/annotate.py''') response.mustcontain( - '''
+ ''' vcs/utils/diffs.py''') response.mustcontain( - '''
+ ''' vcs/utils/lazy.py''')