##// END OF EJS Templates
fixed some w3c html
marcink -
r817:09e58532 beta
parent child Browse files
Show More
@@ -485,7 +485,7 b' def action_parser_icon(user_log):'
485 if len(x) > 1:
485 if len(x) > 1:
486 action, action_params = x
486 action, action_params = x
487
487
488 tmpl = """<img src="/images/icons/%s">"""
488 tmpl = """<img src="/images/icons/%s" alt="%s"/>"""
489 map = {'user_deleted_repo':'database_delete.png',
489 map = {'user_deleted_repo':'database_delete.png',
490 'user_created_repo':'database_add.png',
490 'user_created_repo':'database_add.png',
491 'user_forked_repo':'arrow_divide.png',
491 'user_forked_repo':'arrow_divide.png',
@@ -499,7 +499,7 b' def action_parser_icon(user_log):'
499 'started_following_repo':'heart_add.png',
499 'started_following_repo':'heart_add.png',
500 'stopped_following_repo':'heart_delete.png',
500 'stopped_following_repo':'heart_delete.png',
501 }
501 }
502 return literal(tmpl % map.get(action, action))
502 return literal(tmpl % (map.get(action, action), action))
503
503
504
504
505 #==============================================================================
505 #==============================================================================
General Comments 0
You need to be logged in to leave comments. Login now