Hits
{{stats.hit_count|intcomma}} -
diff --git a/TEMPLATE.env b/TEMPLATE.env index 7b76ace..c7e66ba 100644 --- a/TEMPLATE.env +++ b/TEMPLATE.env @@ -70,3 +70,6 @@ SHOW_SHYNET_VERSION=True # that you have a separate queue consumer running somewhere via `celeryworker.sh`. # CELERY_TASK_ALWAYS_EAGER=False # CELERY_BROKER_URL=redis://redis.default.svc.cluster.local/1 + +# Should Shynet show third-party icons in the dashboard? +SHOW_THIRD_PARTY_ICONS=True \ No newline at end of file diff --git a/shynet/dashboard/templates/base.html b/shynet/dashboard/templates/base.html index c4648f2..b2f22bc 100644 --- a/shynet/dashboard/templates/base.html +++ b/shynet/dashboard/templates/base.html @@ -41,7 +41,7 @@ {% for service in user.owning_services.all %} {% url 'dashboard:service' service.uuid as url %} - {% include 'dashboard/includes/sidebar_portal.html' with label=service.name|truncatechars:20 url=url %} + {% include 'dashboard/includes/sidebar_portal.html' with label=service.name|truncatechars:20 url=url icon=service.link|iconify %} {% endfor %} {% endif %} diff --git a/shynet/dashboard/templates/dashboard/includes/service_overview.html b/shynet/dashboard/templates/dashboard/includes/service_overview.html index 60455da..57e81f4 100644 --- a/shynet/dashboard/templates/dashboard/includes/service_overview.html +++ b/shynet/dashboard/templates/dashboard/includes/service_overview.html @@ -4,7 +4,8 @@ {% with stats=object.stats %}
Sessions
{{stats.session_count|intcomma}} -
Hits
{{stats.hit_count|intcomma}} -