Switch to side-by-side view

--- a/Allura/allura/model/neighborhood.py
+++ b/Allura/allura/model/neighborhood.py
@@ -41,6 +41,7 @@
     class __mongometa__:
         session = main_orm_session
         name = 'neighborhood'
+        unique_indexes = [ 'url_prefix' ]
 
     _id = FieldProperty(S.ObjectId)
     name = FieldProperty(str)
@@ -109,6 +110,10 @@
         return ""
 
     @property
+    def has_home_tool(self):
+        return self.neighborhood_project.app_config('home') is not None
+
+    @property
     def icon(self):
         return NeighborhoodFile.query.get(neighborhood_id=self._id)