1. André Böhlke
  2. django-admintools-bootstrap

Commits

hg  committed 00bebd6 Draft

design adjustments

  • Participants
  • Parent commits d16b74a
  • Branches default

Comments (0)

Files changed (3)

File admintools_bootstrap/static/admintools_bootstrap/lib/style.less

View file
  • Ignore whitespace
 .help_text {
 	font-size: small;
 	color: #999;
-	text-transform: lowercase;
+	/* text-transform: lowercase; */
 	margin-top: 0.1em;
 }
 

File admintools_bootstrap/templates/admin/app_index.html

View file
  • Ignore whitespace
 {% block breadcrumbs %}
   ../|{% trans "Home" %}
   {% for app in app_list %}
-    {% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}
+    {% trans app.name %}
   {% endfor %}
 {% endblock %}
 

File admintools_bootstrap/templates/admin/change_list.html

View file
  • Ignore whitespace
 
 {% block breadcrumbs %}
   {% if not is_popup %}
-    ../../|{% trans "Home" %}
-    ../|{{ app_label|capfirst }}
-    {{ cl.opts.verbose_name_plural|capfirst }}
+    <ul class="breadcrumb">
+        <li><a href="{% url 'home' %}">{% trans "Home" %}</a> <span class="divider">/</span></li>
+        <li><a href="../">{% trans app_label %}</a> <span class="divider">/</span></li>
+        <li>{{ cl.opts.verbose_name_plural|capfirst }}</li>
+    </ul>
   {% endif %}
 {% endblock %}