# HG changeset patch # User Mads Kiilerich # Date 2017-01-06 01:43:50 # Node ID a955c3b26d31a0c0aeb41c6857003d277cf1a834 # Parent c4379e4dc8206cf7019d3c1b338bfb9c54b56e76 templates: drop unused and invalid attributes diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py +++ b/kallithea/lib/helpers.py @@ -766,9 +766,9 @@ def action_parser(user_log, feed=False, 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 --git a/kallithea/templates/changeset/changeset_file_comment.html b/kallithea/templates/changeset/changeset_file_comment.html --- a/kallithea/templates/changeset/changeset_file_comment.html +++ b/kallithea/templates/changeset/changeset_file_comment.html @@ -4,7 +4,7 @@ ## ${comment.comment_block(co)} ## <%def name="comment_block(co)"> -
+