Download plugins/CoreHome/templates/_dataTableHead.twig from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/CoreHome/templates/_dataTableHead.twig
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/CoreHome/templates/_dataTableHead.twig
-
curl -L -o _dataTableHead.twig https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/CoreHome/templates/_dataTableHead.twig
1.07 kB
| {% set dimensions = dataTable.getMetadata('dimensions')|default([]) %} | |
| <thead> | |
| <tr> | |
| {% for column in properties.columns_to_display %} | |
| <th class="{% if properties.enable_sort %}sortable{% endif %} {% if loop.first %}first{% elseif loop.last %}last{% endif %} {% if column == 'label' or column in dimensions %}label{% endif %}" id="{{ column }}"> | |
| {% if properties.metrics_documentation[column]|default is not empty %} | |
| <div class="columnDocumentation"> | |
| <div class="columnDocumentationTitle"> | |
| <span class="icon-help"></span> | |
| {{ properties.translations[column]|default(column)|rawSafeDecoded }} | |
| </div> | |
| {{ properties.metrics_documentation[column]|rawSafeDecoded|raw }} | |
| </div> | |
| {% endif %} | |
| <div id="thDIV" class="thDIV">{{ properties.translations[column]|default(column)|rawSafeDecoded }}</div> | |
| </th> | |
| {% endfor %} | |
| </tr> | |
| </thead> | |