incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <brond...@users.sf.net>
Subject [allura:tickets] #6391 Provide default `sitemap` in base Application class
Date Mon, 01 Jul 2013 14:20:21 GMT
- **status**: code-review --> closed



---

** [tickets:#6391] Provide default `sitemap` in base Application class**

**Status:** closed
**Created:** Tue Jun 25, 2013 01:55 PM UTC by Tim Van Steenburgh
**Last Updated:** Mon Jul 01, 2013 02:14 PM UTC
**Owner:** Tim Van Steenburgh

>From IRC:

tvansteenburgh
I would like to add this to the Application base class:

    @property
    def sitemap(self):
        return [SitemapEntry(self.config.options.mount_label, '.')]

There's no reason for Application to not implement this default.
Otherwise, subclasses need to provide `sitemap` just to get the tool to show up in the nav.


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message