changeset 2347:c6bf9e64c84f

removes the actions sidebar for the modify view
author sharky93 <rishabhr123@gmail.com>
date Thu, 25 Jul 2013 13:00:36 +0530
parents eb3c2da11ba1
children 757cf637eef3
files MoinMoin/themes/basic/templates/layout.html
diffstat 1 files changed, 15 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/layout.html	Thu Jul 25 12:50:22 2013 +0530
+++ b/MoinMoin/themes/basic/templates/layout.html	Thu Jul 25 13:00:36 2013 +0530
@@ -131,7 +131,12 @@
                 {% endblock %}
 
             <div class="row-fluid">
-                <div class="span10">
+                {% set width = "span12" %}
+                {% if self.local_panel %}
+                    {% set width = "span10" %}
+                {% endif %}
+
+                <div class="{{width}}">
                     {% set content_id = self.local_panel and 'moin-content' or 'moin-content-no-panel' %}
                     <div id="{{ content_id }}" lang="{{ theme_supp.content_lang }}" dir="{{ theme_supp.content_dir }}">
                         {% block content %}
@@ -140,15 +145,15 @@
                     </div>
                 </div><!--/span-->
 
-                <div class="span2">
-                    <div class="well sidebar-nav">
-                    {% if self.local_panel %}
-                        <ul class="nav nav-list">
-                            {{ self.local_panel() }}
-                        </ul>
-                    {% endif %}
-                    </div><!--/.well -->
-                </div><!--/span-->
+                {% if self.local_panel %}
+                    <div class="span2">
+                        <div class="well sidebar-nav">
+                            <ul class="nav nav-list">
+                                {{ self.local_panel() }}
+                            </ul>
+                        </div><!--/.well -->
+                    </div><!--/span-->
+                {% endif %}
 
             </div><!--/row-->