1. Kai Diefenbach
  2. lfc_theme

Commits

Kai Diefenbach  committed 64f36aa

Navigation portlet: display title only if its not empty

  • Participants
  • Parent commits 168084a
  • Branches default

Comments (0)

Files changed (1)

File lfc_theme/templates/lfc/portlets/navigation_portlet.html

View file
  • Ignore whitespace
 {% load lfc_tags %}
 <div class="portlet navigation-portlet">
-    <h1 class="portlet-header">
-        {{ title }}
-    </h1>
+    {% if title %}
+        <h1 class="portlet-header">
+            {{ title }}
+        </h1>        
+    {% endif %}
     <div class="portlet-body">
         {% navigation start_level expand_level %}
     </div>