add block for assigning documents to a case, use company timezone, update anchor tag class

This commit is contained in:
2025-01-10 15:03:53 +00:00
parent 722954d0d0
commit b7b0c8e6c4
19 changed files with 400 additions and 73 deletions

View File

@ -4,7 +4,7 @@
{% endblock %}
{% block body %}
{% set today = date("now", "America/Indiana/Indianapolis") %}
{% set today = date("now", company_timezone) %}
{{ block('nav', 'internal/libs/nav.html.twig') }}
<main class="main-content position-relative max-height-vh-100 h-100 border-radius-lg ">
@ -61,10 +61,10 @@
<td>{{ r.getHours() }}</td>
<td>{{ r.lat|number_format(6) }}/{{ r.lon|number_format(6) }}</td>
<td class='align-right'>
<a href='{{ path('app_community_resource_edit', {id: r.id}) }}' title='Edit Resource'>
<a href='{{ path('app_community_resource_edit', {id: r.id}) }}' class='text-secondary' title='Edit Resource'>
<i class="material-symbols-rounded opacity-5">edit</i>
</a>
<a href='{{ path('app_community_resource_download', {id: r.id}) }}' title='Download vCard'>
<a href='{{ path('app_community_resource_download', {id: r.id}) }}' class='text-secondary' title='Download vCard'>
<i class="material-symbols-rounded opacity-5">import_contacts</i>
</a>
</td>

View File

@ -4,7 +4,7 @@
{% endblock %}
{% block body %}
{% set today = date("now", "America/Indiana/Indianapolis") %}
{% set today = date("now", company_timezone) %}
{{ block('nav', 'internal/libs/nav.html.twig') }}
<main class="main-content position-relative max-height-vh-100 h-100 border-radius-lg ">