Skip to content

Commit

Permalink
fix: endif in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Aug 25, 2022
1 parent 646b9c4 commit 775f821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unfold/templates/admin/app_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h3 class="font-medium my-3 text-gray-900 text-sm">
{% endif %}

{% if model.admin_url %}
<a href="{{ model.admin_url }}" id="link-{{ app.app_label }}-{{ model.object_name|lower }}" class="block flex items-center -mx-3 px-3 py-3 rounded-md {% if model.active %}bg-gray-100 font-semibold text-primary-600{% else %}text-gray-500 hover:text-gray-700{% endif %}"{% endif %}>
<a href="{{ model.admin_url }}" id="link-{{ app.app_label }}-{{ model.object_name|lower }}" class="block flex items-center -mx-3 px-3 py-3 rounded-md {% if model.active %}bg-gray-100 font-semibold text-primary-600{% else %}text-gray-500 hover:text-gray-700{% endif %}">
{% if model.icon %}
<span class="material-icons md-18 mr-3">{{ model.icon }}</span>
{% endif %}
Expand Down

0 comments on commit 775f821

Please sign in to comment.