Navigation: remove extra 's' for assets project

Such a lame solution. We need better categories.
This commit is contained in:
Pablo Vazquez 2018-09-19 19:09:04 +02:00
parent 847e97fe8c
commit 186ba167f1
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ script(type="text/javascript").
/* Let us know started saving */
$("li.button-save").addClass('saving');
$("li.button-save a#item_save").html('<i class="pi-spin spin"></i> Saving...');
$("li.button-save a#item_save").html('<i class="pi-spin pr-2 spin"></i> Saving...');
$.ajax({
url: "{{url_for('nodes.edit', node_id=node._id)}}",

View File

@ -17,7 +17,7 @@ include ../mixins/components
| {% if not project.is_private %}
li.text-capitalize
a.nav-link.text-muted.px-0(href="{{ category_url }}")
span {{ project.category }}s
span {{ project.category }}{% if project.category != 'assets' %}s{% endif %}
li.px-1
i.pi-angle-right
| {% endif %}