## -*- coding: utf-8 -*- <%namespace name="common" file="common.block.html"/> <%namespace name="styles" file="../styles.block.html"/> ${ common.layout(title, content ) } <%def name="roletext(relation)">${ dict([(100, u'в клуб'), (110, u'стать модератором в клубе')])[relation] }%def> <%def name="title()">${initiator.title} приглашает ${u'вас' if target.type != 'mail' else target.short_title} ${roletext(relation)} ${feed.title}%def> <%def name="content()">
${ common.yauser(initiator) } приглашает ${u'вас' if target.type !='mail' else target.short_title} ${roletext(relation)} ${ common.yauser(feed) }. Зайдите на страницу клуба и нажмите кнопку.
%def>