# HG changeset patch # User Marcin Kuzminski # Date 1291688535 -3600 # Node ID 09e58532d4f7ceaee7842a2a5847429749443524 # Parent 555b68f94c456ccc57cc15f7c76fcc135fa0d500 fixed some w3c html diff -r 555b68f94c45 -r 09e58532d4f7 rhodecode/lib/helpers.py --- a/rhodecode/lib/helpers.py Tue Dec 07 03:08:15 2010 +0100 +++ b/rhodecode/lib/helpers.py Tue Dec 07 03:22:15 2010 +0100 @@ -485,7 +485,7 @@ if len(x) > 1: action, action_params = x - tmpl = """""" + tmpl = """%s""" map = {'user_deleted_repo':'database_delete.png', 'user_created_repo':'database_add.png', 'user_forked_repo':'arrow_divide.png', @@ -499,7 +499,7 @@ 'started_following_repo':'heart_add.png', 'stopped_following_repo':'heart_delete.png', } - return literal(tmpl % map.get(action, action)) + return literal(tmpl % (map.get(action, action), action)) #==============================================================================