<%inherit file="/template.html" /> <%namespace name="components" file="/components.html"/> <%namespace name="sidebar_defs" file="/sidebar.html"/> <%namespace name="state" file="/poll/state.html"/> <% from adhocracy.lib import sorting %> <%def name="title()">${c.page.title|n} <%def name="breadcrumbs()">${h.text.breadcrumbs(c.text)|n} <%block name="col3"> <%block name="main_content"> %if not c.amendment and can.page.delete(c.page) and active != 'diff': ${_("delete")} %endif %if c.amendment:

${_("Proposed amendments for \"%s\"") % c.page.title}

%else:

${_("Norm: %s") % c.page.title}

%endif
%if c.current_variant_poll: ${tiles.poll.widget(c.current_variant_poll, cls="big")} %endif

${c.variant_details['display_title']}
%if c.variant_details['can_edit'] and not c.amendment: ${_('edit')} %endif

%if not c.variant_details['text']: ${_("No text.")} %else: ${c.variant_details['text']|n} %endif

${_("Text compared to the original version")}

${c.variant_details['text_diff']|n}
%if c.text and c.text.text and not c.overlay: ${components.social_share_buttons(c.variant_details['title'])} %endif
${_("History")}

${_("Reasoning") if c.amendment else _("Proposal")}

%if not c.variant_details['is_head']:
%for selection in c.variant_details['selections']: %if not c.amendment:
${selection['proposal_title']}
${selection['proposal_text']|n}
%else:
${selection['proposal_text']|n}
${_('Created by %(creator)s on %(datetime)s') % { 'creator': '%(proposal_creator_name)s' % selection, 'datetime': '%(proposal_create_time)s' % selection, }|n}
%if selection['proposal_can_edit']: ${_('edit')} %endif %if selection['proposal_can_delete']: ${_('delete')} %endif
%endif %endfor
%endif
<%components:tutorial>
  1. ${_('tutorial_norm_show_vote')}

  2. ${_('tutorial_norm_show_diff')}

  3. ${_('tutorial_norm_show_new')}