homeview and platformsview now use layout-unfold1 or layout-unfold2 depending on...
[myslice.git] / portal / platformsview.py
index 12e9485..6744643 100644 (file)
@@ -48,4 +48,6 @@ class PlatformsView(FreeAccessView):
 
         context.update(page.prelude_env())
 
+        context['layout_1_or_2']="layout-unfold2.html" if not context['username'] else "layout-unfold1.html"
+
         return context