diff --git a/shynet/dashboard/templates/base.html b/shynet/dashboard/templates/base.html index 3a24758..b26c213 100644 --- a/shynet/dashboard/templates/base.html +++ b/shynet/dashboard/templates/base.html @@ -43,7 +43,7 @@ {% for service in user.owning_services.all %} {% contextual_url 'dashboard:service' service.uuid as url %} - {% include 'dashboard/includes/sidebar_portal.html' with label=service.name|truncatechars:16 url=url icon=service.link|iconify %} + {% include 'dashboard/includes/sidebar_portal.html' with label=service.name url=url icon=service.link|iconify %} {% endfor %} {% endif %} diff --git a/shynet/dashboard/templates/dashboard/includes/sidebar_portal.html b/shynet/dashboard/templates/dashboard/includes/sidebar_portal.html index 4cfc613..010b5fe 100644 --- a/shynet/dashboard/templates/dashboard/includes/sidebar_portal.html +++ b/shynet/dashboard/templates/dashboard/includes/sidebar_portal.html @@ -2,5 +2,5 @@
{{icon}} {{label}} + {% if disable_turbolinks %}data-turbolinks="false"{% endif %} href="{{url}}">{{icon}} {{label}}
\ No newline at end of file diff --git a/shynet/dashboard/templatetags/helpers.py b/shynet/dashboard/templatetags/helpers.py index 9cda09f..9eb11dc 100644 --- a/shynet/dashboard/templatetags/helpers.py +++ b/shynet/dashboard/templatetags/helpers.py @@ -172,7 +172,7 @@ def iconify(text): domain = text + ".com" return SafeString( - f'' + f'' )