Files
BW/pmadminer/templates/table/page_with_secondary_tabs.twig
sean 343b4a3f3f
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-19 18:32:17 -05:00

20 lines
746 B
Twig

{% if cfg_relation['relwork'] or is_foreign_key_supported %}
<ul class="nav nav-pills m-2 d-print-none">
<li class="nav-item">
<a href="{{ url('/table/structure', {'db': db, 'table': table}) }}" id="table_structure_id" class="nav-link{{ route == '/table/structure' ? ' active' }}">
{{ get_icon('b_props', 'Table structure'|trans, true) }}
</a>
</li>
<li class="nav-item">
<a href="{{ url('/table/relation', {'db': db, 'table': table}) }}" id="table_relation_id" class="nav-link{{ route == '/table/relation' ? ' active' }}">
{{ get_icon('b_relations', 'Relation view'|trans, true) }}
</a>
</li>
</ul>
{% endif %}
<div id="structure_content">
{% block content %}{% endblock %}
</div>