- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
8 lines
261 B
Twig
8 lines
261 B
Twig
<a href="{{ url('/table/tracking', {'table': table, 'db': db}) }}">
|
|
{% if is_tracked -%}
|
|
{{ get_image('eye', 'Tracking is active.'|trans) }}
|
|
{%- else -%}
|
|
{{ get_image('eye_grey', 'Tracking is not active.'|trans) }}
|
|
{%- endif %}
|
|
</a>
|