## -*- coding: utf-8 -*- <%namespace name="common" file="common.block.html"/> <%namespace name="styles" file="../styles.block.html"/> ${ common.layout(title, content ) } <%def name="title()">Re: ${common.post_title(post)}%def> <%def name="mention(typ)"> % if typ == 'POST': ваш пост % elif typ == 'COMMENT': ваш комментарий % else: вас % endif %def> <%def name="content()">
${common.yauser(initiator, caps=True)} ${common.inflect(u'упомянул', initiator)} ${mention(mention_type)} в своём ${u'комментарии' if post.comment_id else u'посте'}: