# HG changeset patch # User Thomas De Schampheleire # Date 1528573150 -7200 # Node ID eac20c4b7b2031202f9229999a30ab5f4b2836bd # Parent 401fe08bc6b8c7b5301f07f854d5c02d3201ed9d style: use monospace for changeset messages Similar to commits 9005c37dbe21 and 6e65c2153baa that make PR descriptions display in a monospace font, apply monospace on changeset messages. Note that in the files template, the reference to the non-existing 'commit' class can be replaced instead of appending to it. diff -r 401fe08bc6b8 -r eac20c4b7b20 kallithea/templates/changeset/changeset.html --- a/kallithea/templates/changeset/changeset.html Sat Jun 09 21:24:45 2018 +0200 +++ b/kallithea/templates/changeset/changeset.html Sat Jun 09 21:39:10 2018 +0200 @@ -133,7 +133,7 @@ % endif -
${h.urlify_text(c.changeset.message, c.repo_name)}
+
${h.urlify_text(c.changeset.message, c.repo_name)}
<% a_rev, cs_rev, file_diff_data = c.changes[c.changeset.raw_id] %> % if c.limited_diff: diff -r 401fe08bc6b8 -r eac20c4b7b20 kallithea/templates/files/files_source.html --- a/kallithea/templates/files/files_source.html Sat Jun 09 21:24:45 2018 +0200 +++ b/kallithea/templates/files/files_source.html Sat Jun 09 21:39:10 2018 +0200 @@ -48,7 +48,7 @@ ${h.gravatar_div(h.email_or_none(c.changeset.author), size=16)}
${h.person(c.changeset.author)}
-
${h.urlify_text(c.changeset.message,c.repo_name)}
+
${h.urlify_text(c.changeset.message,c.repo_name)}
%if c.file.is_browser_compatible_image(): diff -r 401fe08bc6b8 -r eac20c4b7b20 kallithea/tests/functional/test_files.py --- a/kallithea/tests/functional/test_files.py Sat Jun 09 21:24:45 2018 +0200 +++ b/kallithea/tests/functional/test_files.py Sat Jun 09 21:39:10 2018 +0200 @@ -102,7 +102,7 @@ revision='8911406ad776fdd3d0b9932a2e89677e57405a48', f_path='vcs/nodes.py')) - response.mustcontain("""
Partially implemented #16. filecontent/commit message/author/node name are safe_unicode now.
""" + response.mustcontain("""
Partially implemented #16. filecontent/commit message/author/node name are safe_unicode now.
""" """In addition some other __str__ are unicode as well
""" """Added test for unicode
""" """Improved test to clone into uniq repository.
"""