File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
src/unfold/templates/admin Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 88 {% if app.models and not app.hidden %}
99 < li >
1010 {% if app.name %}
11- < a href ="{{ app.app_url }} " class ="block font-semibold mb-2 mt-4 text-gray-700 text-sm dark:text-gray-200 " title ="{% blocktranslate with name=app.name %}Models in the {{ name }} application{% endblocktranslate %} ">
12- {{ app.name }}
13- </ a >
11+ < h3 >
12+ < a href ="{{ app.app_url }} " class ="block font-semibold mb-2 mt-4 text-gray-700 text-sm truncate dark:text-gray-200 " title ="{% blocktranslate with name=app.name %}Models in the {{ name }} application{% endblocktranslate %} ">
13+ {{ app.name }}
14+ </ a >
15+ </ h3 >
1416 {% endif %}
1517
1618 < ol >
@@ -25,11 +27,7 @@ <h3 class="font-medium my-3 text-gray-900 text-sm dark:text-gray-200">
2527
2628 {% if model.admin_url %}
2729 < a href ="{{ model.admin_url }} " id ="link-{{ app.app_label }}-{{ model.object_name|lower }} "
28- class ="block border border-transparent flex h-11 items-center -mx-3 px-3 py-2 rounded-md transition-all {% if model.admin_url in request.path|urlencode %}bg-gray-100 font-semibold text-primary-500 dark:border dark:border-gray-800 dark:bg-white/[.02]{% else %}text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200{% endif %} ">
29- {% if model.icon %}
30- < span class ="material-symbols-outlined md-18 mr-3 "> {{ model.icon }}</ span >
31- {% endif %}
32-
30+ class ="border border-transparent flex h-11 items-center -mx-3 px-3 py-2 rounded-md transition-all truncate {% if model.admin_url in request.path|urlencode %}bg-gray-100 font-semibold text-primary-500 dark:border dark:border-gray-800 dark:bg-white/[.02]{% else %}text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200{% endif %} ">
3331 < span class ="text-sm ">
3432 {{ model.name }}
3533 </ span >
You can’t perform that action at this time.
0 commit comments