Add a Back to Wiki link on wiki pages

Bug #399406 reported by Paul Everitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Paul Everitt

Bug Description

Backlog ID: 6 (Est: 1h)

(Note: this is related to, but not dependent on, this bug https://bugs.launchpad.net/karl3/+bug/399353 to get fixed. )

- Provide a "Back to Wiki" breadcrumb link on wiki pages that aren't the main wiki page.

- Note that there is a snippet that can do this with a ZPT macro:

      <div metal:use-macro="api.snippets.macros['backto_link']"/>

- It requires backto to be passed into the template renderer:

          backto=backto,

- Where backto looks like:

      backto = {
        'href': model_url(up_to, request),
        'title': up_to.title,
        }

...or None if you are on the main wiki page.

description: updated
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Move to next week (M24).

Changed in karl3:
milestone: m23 → m24
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Move to this week.

Changed in karl3:
milestone: m24 → m25
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

I wrote the report and put the output in 399353 then assigned to Nat. (There are 32 wiki pages that have a manual link back to the root.)

Changed in karl3:
assignee: Jason Lantz (jasontlantz) → Paul Everitt (paul-agendaless)
status: New → Fix Committed
Revision history for this message
Nat Katin-Borland (nborland) wrote :

Looks good

Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.