Broke out the table column templates into individual template files

This commit is contained in:
2023-06-05 16:04:56 +01:00
parent 83bf9a7307
commit f92bb5780a
24 changed files with 453 additions and 171 deletions

View File

@@ -0,0 +1,13 @@
<script id="{{table.id}}-column-info" type="text/x-handlebars-template">
{% verbatim %}
<td data-text="{{row.last_name}}">
<strong>
<a href="{{site.uri.public}}/users/u/{{row.user_name}}">{{row.first_name}} {{row.last_name}} ({{row.user_name}})</a>
</strong>
<div class="js-copy-container">
<span class="js-copy-target">{{row.email}}</span>
<button class="btn btn-xs uf-copy-trigger js-copy-trigger"><i class="fas fa-copy"></i></button>
</div>
</td>
{% endverbatim %}
</script>