<%inherit file="/template.html" /> <%namespace name="components" file="/components.html"/> <%namespace name="badge_tiles" file="/badge/tiles.html"/> <%def name="title()">${_(u"Dashboard") if c.dashboard else c.page_user.name} <%block name="breadcrumbs"> ${h.user.breadcrumbs(c.page_user, dashboard=c.dashboard)|n} <%block name="headline"> <%block name="main_content">
${_(u'Activity in')}

${_(u"Dashboard") if c.dashboard else c.page_user.name}
%if not c.dashboard: %if c.instance is None and can.user.edit(c.page_user): ${_(u'edit')} %endif %if c.instance is None: %if can.user.delete(c.page_user): ${_("delete")} %endif %else: %if c.user and c.user == c.page_user and can.instance.leave(c.instance): ${_("leave")} %endif %endif %if c.instance is None and can.user.manage(c.page_user): %if c.page_user.banned: ${_("un-ban")} %else: ${_("ban")} %endif %endif %endif

${tiles.user.header(c.page_user, c.tile, active='activity')}
%if c.about:
%if c.bio: ${h.render(c.bio)|n} %else:
%if c.user == c.page_user and can.user.edit(c.page_user):

${_(u"In order to inform other users about your interests please create a personal bio.")}

${_(u"Create a bio")} %else: ${_("%s does not yet have a bio.") % c.page_user.name} %endif
%endif
%else:
${c.events_pager.here()}
%endif <%block name="sidebar"> %if h.config.get_bool('adhocracy.use_avatars') and not c.dashboard: %endif ${components.message_button(c.page_user)} %if c.user and c.page_user != c.user: ${components.watch(c.page_user, show_skip=False)} %endif