Olemis Lang avatar Olemis Lang committed 6c3d19e

BH Multproduct #575 : Add RecentChanges (i.e. index by date) for new products

Comments (0)

Files changed (2)

 t575/t575_r1496958_product_title_index.diff
+t575/t575_r1496958_product_recent_changes.diff

t575/t575_r1496958_product_recent_changes.diff

+# HG changeset patch
+# Parent 8ac50879bc9e7e3c18d603e20875675a5ae74350
+BH Multiproduct #575 : RecentChanges wiki page for new products
+
+diff -r 8ac50879bc9e bloodhound_multiproduct/multiproduct/api.py
+--- a/bloodhound_multiproduct/multiproduct/api.py	Sun Jun 30 01:44:33 2013 -0500
++++ b/bloodhound_multiproduct/multiproduct/api.py	Sun Jun 30 01:45:13 2013 -0500
+@@ -544,7 +544,7 @@
+ 
+         # Import default pages in product wiki
+         wikiadmin = WikiAdmin(ProductEnvironment(self.env, product.prefix))
+-        pages = ('TitleIndex',)
++        pages = ('TitleIndex', 'RecentChanges')
+         for page in pages:
+             filename = resource_filename('trac.wiki', 'default-pages/' + page)
+             wikiadmin.import_page(filename, page)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.