# HG changeset patch # User domruf # Date 2017-06-27 22:16:27 # Node ID b89511f1aa2438515d336da12ef8b71c3a4f5363 # Parent 88383bdb87f0ec5b9a5a1c480aebe6c475b38a40 template: simplify journal styling This requires less css code. 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 @@ -1158,12 +1158,6 @@ a.metatag[data-tag="license"]:hover { padding-left: 22px; } -#journal .journal_repo { - float: left; - margin-left: 6px; - padding-top: 3px; -} - #journal .date { clear: both; color: #777777; @@ -1171,7 +1165,7 @@ a.metatag[data-tag="license"]:hover { padding-left: 22px; } -#journal .journal_repo .journal_repo_name { +#journal .journal_repo_name { font-weight: bold; font-size: 1.1em; } diff --git a/kallithea/templates/journal/journal_data.html b/kallithea/templates/journal/journal_data.html --- a/kallithea/templates/journal/journal_data.html +++ b/kallithea/templates/journal/journal_data.html @@ -17,8 +17,8 @@
${h.action_parser(entry)[2]()}
-
${h.action_parser(entry)[0]()}
-
+
+ ${h.action_parser(entry)[0]()} %if entry.repository is not None: ${h.link_to(entry.repository.repo_name,