Change table template hierarchy structure

This commit is contained in:
2023-06-06 15:10:02 +01:00
parent b8cb04cd14
commit 5bbceeac9a
26 changed files with 296 additions and 315 deletions

View File

@@ -0,0 +1,17 @@
<script id="{{table.id}}-column-info" type="text/x-handlebars-template">
{% verbatim %}
<td data-text="{{row.name}}">
<strong>
{{#ifx row.is_member '==' 1 }}
<a href="{{site.uri.public}}/organisations/o/{{row.slug}}">{{row.name}}</a>
{{ else }}
{% endverbatim %}{% if checkAccess('uri_organisation') %}{% verbatim %}
<a href="{{site.uri.public}}/organisations/o/{{row.slug}}">{{row.name}}</a>
{% endverbatim %}{% else %}{% verbatim %}
{{row.name}}
{% endverbatim %}{% endif %}{% verbatim %}
{{/ifx }}
</strong>
</td>
{% endverbatim %}
</script>