Commits

Anonymous committed 4ddaf3b

impovements in templates of LinkList, RecentActions and Feed

Comments (0)

Files changed (3)

admin_tools/dashboard/templates/admin_tools/dashboard/modules/feed.html

 {% extends "admin_tools/dashboard/module.html" %}
 {% block module_content %}
-<div class="module feed" id="feed-module">
-    <h2>{{ module.title }}</h2>
+{% if subindex %}
+    <div class="module feed {% for item in module.css_classes %}{{ item }} {% endfor %}">
+        <h3>{{ module.title }}</h2>
+{% else %}
+    <div class="module feed {% for item in module.css_classes %}{{ item }} {% endfor %}">
+        <h2>{{ module.title }}</h2>
+{% endif %}
     <ul>
         {% spaceless %}
         {% for child in module.children %}

admin_tools/dashboard/templates/admin_tools/dashboard/modules/recent_actions.html

 {% extends "admin_tools/dashboard/module.html" %}
 {% load i18n %}
 {% block module_content %}
-<div class="module actions" id="recent-actions-module">
-    <h2>{% trans 'Recent Actions' %}</h2>
-    <div class="module">
-        <h3>{% trans 'My Actions' %}</h3>
+{% if subindex %}
+    <div class="module actions {% for item in module.css_classes %}{{ item }} {% endfor %}">
+        <h3>{% trans 'Recent Actions' %}</h2>
+        <div class="module">
+            <h4>{% trans 'My Actions' %}</h3>
+{% else %}
+    <div class="module actions {% for item in module.css_classes %}{{ item }} {% endfor %}">
+        <h2>{% trans 'Recent Actions' %}</h2>
+        <div class="module">
+            <h3>{% trans 'My Actions' %}</h3>
+{% endif %}
         {% if module.children %}
             <ul>
                 {% for entry in module.children %}