# HG changeset patch # User Mads Kiilerich # Date 1483663430 -3600 # Node ID a955c3b26d31a0c0aeb41c6857003d277cf1a834 # Parent c4379e4dc8206cf7019d3c1b338bfb9c54b56e76 templates: drop unused and invalid attributes diff -r c4379e4dc820 -r a955c3b26d31 kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/lib/helpers.py Fri Jan 06 01:43:50 2017 +0100 @@ -766,9 +766,9 @@ if len(x) > 1: action, action_params = x - tmpl = """""" ico = action_map.get(action, ['', '', ''])[2] - return literal(tmpl % (ico, action)) + html = """""" % ico + return literal(html) # returned callbacks we need to call to get return [lambda: literal(action), action_params_func, action_parser_icon] diff -r c4379e4dc820 -r a955c3b26d31 kallithea/templates/changeset/changeset_file_comment.html --- a/kallithea/templates/changeset/changeset_file_comment.html Fri Jan 06 01:43:50 2017 +0100 +++ b/kallithea/templates/changeset/changeset_file_comment.html Fri Jan 06 01:43:50 2017 +0100 @@ -4,7 +4,7 @@ ## ${comment.comment_block(co)} ## <%def name="comment_block(co)"> -
+