## -*- coding: utf-8 -*- <%namespace name="common" file="common.block.html"/> <%namespace name="styles" file="../styles.block.html"/> ${ common.layout(title, content ) } <%def name="mention(typ)"> % if typ == 'POST': your post % elif typ == 'COMMENT': your comment % else: you % endif %def> <%def name="title()">Re: ${common.post_title(post)}%def> <%def name="content()">
${common.yauser(initiator, caps=True)} mentioned ${mention(mention_type)} in ${u'a comment' if post.comment_id else u'an entry'}: