summaryrefslogtreecommitdiffstats
path: root/ogcp
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2024-01-29 12:56:47 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-01-30 10:53:38 +0100
commit5892d5c8c37ff412863afe2c9c6985f32276caf2 (patch)
treedae1c69c9f690fb0fd8bcef883db00a9b444f00a /ogcp
parentdb63b6bc60c0c3c75662136e8524e274746c355b (diff)
templates: show folder icon
Add icons to differentiate folders. Use &#x1F4C1; which represents folder using emojis.
Diffstat (limited to 'ogcp')
-rw-r--r--ogcp/templates/macros.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html
index a00556f..228c393 100644
--- a/ogcp/templates/macros.html
+++ b/ogcp/templates/macros.html
@@ -76,6 +76,9 @@
{% elif scope['state'] == 'WOL_SENT' %}fas text-wol
{% else %}far{% endif %}"></i>
{% endif %}
+ {% if scope["type"] == "folder" %}
+ &#x1F4C1;
+ {% endif %}
{{ scope["name"] }}
</a>
{% if scope["scope"] %}