## -*- coding: utf-8 -*- <%inherit file="base.mako" /> <%def name="buildStatusBar()">
${_('Login as')}: % if g.mpuls_config.is_enabled('module', 'administration'): % endif % if h.getLogin() != 'adm': ${h.getUserFullname()} % if g.mpuls_config.is_enabled('module', 'administration'): % endif (${h.getRole()}) % else: ${h.getUserLastname()} % if g.mpuls_config.is_enabled('module', 'administration'): % endif % endif
<%def name="buildStartMenu()">
<%def name="buildNavipath()">
  • ${_('%s Start') % h.get_app_title()}
  • <%def name="buildInfofield()"> <%def name="buildPrivacyfield()"> <%def name="buildIco()"> >> <%def name="buildNavigation()"> % if (h.getLogin() != 'adm'): % if h.hasRole(['cm', 'admin']): % endif <%include file="switch_to_other_datasets.mako" /> % if g.mpuls_config.is_enabled('module', 'agency-overview'): % endif % if g.mpuls_config.is_enabled('module', 'evaluation'): % endif % endif % if h.hasRole(['admin']) and g.mpuls_config.is_enabled('module', 'administration'): % endif <%def name="buildEvaluations()"> <%def name="buildFormErrors(labels=None)"> <% formular_labels = labels or {} %> % if len(c.form_errors) > 0:

    ${_('Wrong formular input')}

    % endif <%def name="buildFooter()"> <%def name="buildContentHeader()"> ${self.buildUeberschrift()} ${self.buildModusfield()} <%def name="buildUeberschrift()"> <%def name="buildModusfield()"> ${_('Go to main menu')} ${_('Go to domain menu')} ${_('Go to content')}
    % if h.hasRole(['cm']): ${self.buildPrivacyfield()} % endif ${next.buildNavigation()}
    % if c.status_msg: ${c.status_msg} % else: ${_('Notice')}: ${_('This session will be automatically terminated at %s. Please make sure you have saved you entries!') % h.get_logouttime() } % endif
    ${self.buildContentHeader()} ${self.body()}
    ${self.buildFooter()}