diff options
author | Javier Hernandez <jhernandez@soleta.eu> | 2024-01-29 12:56:47 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-01-30 10:53:38 +0100 |
commit | 5892d5c8c37ff412863afe2c9c6985f32276caf2 (patch) | |
tree | dae1c69c9f690fb0fd8bcef883db00a9b444f00a | |
parent | db63b6bc60c0c3c75662136e8524e274746c355b (diff) |
templates: show folder icon
Add icons to differentiate folders.
Use 📁 which represents folder using emojis.
-rw-r--r-- | ogcp/templates/macros.html | 3 |
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" %} + 📁 + {% endif %} {{ scope["name"] }} </a> {% if scope["scope"] %} |