From 186ba167f19cd53f7f0a8e0ab405030dc058d7ba Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 19 Sep 2018 19:09:04 +0200 Subject: [PATCH] Navigation: remove extra 's' for assets project Such a lame solution. We need better categories. --- src/templates/nodes/edit_embed.pug | 2 +- src/templates/projects/_macros.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/nodes/edit_embed.pug b/src/templates/nodes/edit_embed.pug index 6f06c00a..d0a191b9 100644 --- a/src/templates/nodes/edit_embed.pug +++ b/src/templates/nodes/edit_embed.pug @@ -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(' Saving...'); + $("li.button-save a#item_save").html(' Saving...'); $.ajax({ url: "{{url_for('nodes.edit', node_id=node._id)}}", diff --git a/src/templates/projects/_macros.pug b/src/templates/projects/_macros.pug index 32671315..b59555fc 100644 --- a/src/templates/projects/_macros.pug +++ b/src/templates/projects/_macros.pug @@ -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 %}