<%inherit file="/template.html" /> <%namespace name="components" file="/components.html"/> <%def name="title()">${_("Norms")} <%def name="as_tiles(pages, columns=2)">
<% counter = 0 %> %for page in pages: %if counter % columns == 0:
%endif

${page.title}

%if h.config.get_bool('adhocracy.page.allow_abstracts') and page.abstract: ${page.abstract} %else: ${h.truncate(h.markdown_to_plain_text(page.head.lines_text), 170)} %endif

${_('View and discuss')}
<% counter += 1 %> %if counter % columns == 0:
%endif %endfor %if counter % columns != 0: %for i in range(counter % columns, columns): %endfor
%endif <%def name="breadcrumbs()"> ${h.page.breadcrumbs(None)|n} <%block name="headline"> %if c.heading_title and c.heading_text:
%endif %if c.heading_title:

${_(c.heading_title)|n}

%else: %endif %if c.heading_text:
${_(c.heading_text)|n}
%else:
%endif %if c.heading_title and c.heading_text:
%endif ${as_tiles(c.pages_pager._items, columns=3)}
%if can.norm.create(): ${_("new norm")} %endif