- Description has changed:
Diff:
~~~~
--- old
+++ new
@@ -0,0 +1,11 @@
+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.
~~~~
- **status**: in-progress --> code-review
---
** [tickets:#6391] Provide default `sitemap` in base Application class**
**Status:** code-review
**Created:** Tue Jun 25, 2013 01:55 PM UTC by Tim Van Steenburgh
**Last Updated:** Tue Jun 25, 2013 01:55 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 [email protected] 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.