Commits

Kai Diefenbach committed dbc50e7

Changed portlet header to h1 (instead of div).

Comments (0)

Files changed (6)

lfc_theme/templates/lfc/portlets/navigation_portlet.html

 {% load lfc_tags %}
 <div class="portlet navigation-portlet">
+    <h1 class="portlet-header">
+        {{ title }}
+    </h1>
     <div class="portlet-body">
         {% navigation start_level expand_level %}
     </div>

lfc_theme/templates/lfc/portlets/pages_portlet.html

 {% if objs %}
     <div class="portlet objects-portlet">
-        <div class="portlet-header">
+        <h1 class="portlet-header">
             {{ title }}
-        </div>
+        </h1>
         <div class="portlet-body">
             {% for obj in objs %}
                 <div class="portlet-item">

lfc_theme/templates/lfc/portlets/random_portlet.html

 <div class="portlet random-portlet">
-    <div class="portlet-header">
+    <h1 class="portlet-header">
         {{ title }}
-    </div>
+    </h1>
     <div class="portlet-body">
         {% for item in items %}
             <div class="portlet-item">

lfc_theme/templates/lfc/portlets/related_pages.html

 
 {% if related_pages %}
     <div class="portlet related-pages-portlet">
-        <div class="portlet-header">
+        <h1 class="portlet-header">
             {% trans 'Related pages' %}
-        </div>
+        </h1>
         <div class="portlet-body">
             {% for page in related_pages %}
                 <div class="portlet-item">

lfc_theme/templates/lfc/portlets/tag_cloud_portlet.html

 {% tag_cloud_for_model lfc.Page as cloud with steps=6 min_count=1 distribution=log %}
 {% if cloud %}
     <div class="portlet tag-cloud-portlet">
-        <div class="portlet-header">
+        <h1 class="portlet-header">
             {% trans 'Topics' %}
-        </div>
+        </h1>
         <div class="portlet-body tag-cloud">
             <div class="portlet-item">
                 {% for tag in cloud %}

lfc_theme/templates/lfc/portlets/text_portlet.html

 <div class="portlet text-portlet">
-    <div class="portlet-header">
+    <h1 class="portlet-header">
         {{ title }}
-    </div>
+    </h1>
     <div class="portlet-body">
         {{ text|safe }}
     </div>