## -*- 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'join the club'), (110, u'become a moderator in the club')])[relation] } <%def name="title()">${initiator.title} invites ${u'you' if target.type != 'mail' else target.short_title} to ${roletext(relation)} ${feed.title} <%def name="content()">

${ common.yauser(initiator) } invites ${u'you' if target.type !='mail' else target.short_title} to ${roletext(relation)} ${ common.yauser(feed) }. Press the button on the club page.