<%inherit file="/template.html" /> <%namespace name="components" file="/components.html"/> <%namespace name="sidebar_defs" file="/sidebar.html"/> <%namespace name="comment_tiles" file="/comment/tiles.html"/> <%namespace name="state" file="/poll/state.html"/> <%def name="title()">${c.proposal.title|n} <%def name="breadcrumbs()">${h.proposal.breadcrumbs(c.proposal)|n} <%block name="admin_controls"> <%components:admin_controls> ## FIXME: Reenable for adopt poll ##%if can.proposal.adopt(proposal): ##${_("call a vote")} ##%endif %if h.config.get_bool('adhocracy.proposal.split_badge_edit'): %if can.proposal.edit_badges(c.proposal): ${_("Edit Badges")} %endif %endif %if can.proposal.delete(c.proposal): ${_("delete")} %endif <%block name="main_content"> <% url = h.base_url('/delegation/new?scope=%s' % str(c.proposal.id)) delegate_url = url if can.delegation.create(c.proposal) else None %> %if not c.proposal.is_adopt_polling() and c.proposal.rate_poll is not None: ${tiles.poll.widget(c.proposal.rate_poll, cls='big', delegate_url=delegate_url)} %endif %if c.proposal.is_adopt_polling(): ${tiles.poll.widget(c.proposal.adopt_poll, cls='big', delegate_url=delegate_url)} %endif

${h.delegateable.link(c.proposal, link=False)|n}
%if can.proposal.edit(c.proposal): ${_("edit")} %endif


${tiles.page.inline(c.proposal.description, hide_discussion=c.instance.use_norms and len(c.proposal.selections))}
${components.social_share_buttons(c.proposal.title)}
${ _("%s Discussions") % c.proposal.description.comment_count(reply_filter=None) } %if c.show_selections: · %if len(c.num_selections) == 1: ${_("1 Proposed Implementation")} %else: ${_("%s Proposed Implementations") % len(c.num_selections)} %endif %endif %if h.config.get_bool('adhocracy.show_abuse_button'): · ${_("report")} %endif · ${_('history')}

${_('Comments') if h.comment.wording() else _('Discussions')}

## comments are attached to the description which is a ## :class:`adhocracy.model.Page` ## proposal descriptions have no other variant than head. ${tiles.comment.list(c.proposal.description, variant=c.proposal.description.head.variant)}
%if c.show_selections:

${_("Proposed Implementations")}


<% auth = check.selection.create(c.proposal) %>
%if auth: ${_("Propose to change a norm")} %elif auth.propose_login(): ${_("Propose to change a norm")} %elif auth.propose_join(): ${_("Propose to change a norm")} %elif auth.propose_validate_email(): ${_("Propose to change a norm")} %endif
<%doc> FIXME: Enable change existing norm option %if norm.can.create ${_("propose new norm")} %endif
%endif <%components:tutorial>
  1. ${_('tutorial_proposal_show_vote')}

  2. ${_('tutorial_proposal_show_follow')}

  3. ${_('tutorial_proposal_show_information')}

  4. ${_('tutorial_proposal_show_tags')}

  5. ${_('tutorial_proposal_show_share')}

  6. ${_('tutorial_proposal_show_vote_comment')}

  7. ${_('tutorial_proposal_show_answers')}

  8. ${_('tutorial_proposal_show_answer')}

  9. ${_('tutorial_proposal_show_new_discussion')}

  10. ${_('tutorial_proposal_show_propose_variant')}

<%block name="sidebar"> ${components.message_button(c.proposal)} ${components.watch(c.proposal, id='follow_proposal')}