Changeset 881:b84d272aaae9
- Timestamp:
- 08/23/10 09:17:05 (3 years ago)
- Branch:
- trunk
- Location:
- adhocracy
- Files:
-
- 2 edited
-
lib/helpers/page_helper.py (modified) (1 diff)
-
templates/selection/tiles.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adhocracy/lib/helpers/page_helper.py
r875 r881 30 30 buf = cgi.escape(page.title) 31 31 text_ = page.variant_head(variant) 32 if text_ is None: 33 return _("(Unknown)") 32 34 if variant != text_.HEAD: 33 35 buf = u"%s <code>(%s)</code>" % (buf, variant) -
adhocracy/templates/selection/tiles.html
r873 r881 76 76 <div class="top_actions aside"> 77 77 %if tile.show_new_variant_link: 78 <a class="button add" href="${h.entity_url(selection.page, member=' %20/edit')}?proposal=${selection.proposal.id}">${_("new variant")}</a>78 <a class="button add" href="${h.entity_url(selection.page, member='branch')}?proposal=${selection.proposal.id}">${_("new variant")}</a> 79 79 %else: 80 80 <a class="button edit" href="${h.entity_url(selection.page)}">${_("see norm")}</a>
Note: See TracChangeset
for help on using the changeset viewer.
