# HG changeset patch # User Mads Kiilerich # Date 1454358187 -3600 # Node ID 5fe9bb7acee62957dafe6551f85f7a3c1c9b4b92 # Parent fff76ceb5e2147c6860978539338ea59a991b610 pullrequests: show tags in lists of included and available changesets Further improvement: Also show bookmarks and other names (preferably by using some helper function/template instead of duplicating code). It would perhaps also be better to avoid using floating. diff -r fff76ceb5e21 -r 5fe9bb7acee6 kallithea/public/css/style.css --- a/kallithea/public/css/style.css Mon Feb 01 21:22:59 2016 +0100 +++ b/kallithea/public/css/style.css Mon Feb 01 21:23:07 2016 +0100 @@ -950,7 +950,7 @@ } #content div.box div.message { - clear: both; + float: left; overflow: hidden; margin: 0; padding: 5px 0; diff -r fff76ceb5e21 -r 5fe9bb7acee6 kallithea/templates/compare/compare_cs.html --- a/kallithea/templates/compare/compare_cs.html Mon Feb 01 21:22:59 2016 +0100 +++ b/kallithea/templates/compare/compare_cs.html Mon Feb 01 21:23:07 2016 +0100 @@ -63,7 +63,16 @@ -
${h.urlify_commit(cs.message, c.repo_name)}
+ +
+ %for tag in cs.tags: +
+ ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} +
+ %endfor +
+
${h.urlify_commit(cs.message, c.repo_name)}
+ %endfor diff -r fff76ceb5e21 -r 5fe9bb7acee6 kallithea/templates/pullrequests/pullrequest_show.html --- a/kallithea/templates/pullrequests/pullrequest_show.html Mon Feb 01 21:22:59 2016 +0100 +++ b/kallithea/templates/pullrequests/pullrequest_show.html Mon Feb 01 21:23:07 2016 +0100 @@ -197,7 +197,16 @@ ${cs.date} ${h.link_to(h.show_id(cs),h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id))} -
${h.urlify_commit(cs.message, c.repo_name)}
+ +
+ %for tag in cs.tags: +
+ ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} +
+ %endfor +
+
${h.urlify_commit(cs.message, c.repo_name)}
+ %endif %endfor