refactor(itim): services now use details template

. #22 #226
This commit is contained in:
2024-08-14 00:10:56 +09:30
parent 3f117f9d83
commit 086959b431
5 changed files with 162 additions and 258 deletions

View File

@ -20,7 +20,7 @@
{% else %}
<button class="content-navigation-tabs-link" onclick="openContentNavigationTab(event, '{{ tab.slug }}')">{{ tab.name }}</button>
<button id="tab-{{ tab.slug }}" class="content-navigation-tabs-link" onclick="openContentNavigationTab(event, '{{ tab.slug }}')">{{ tab.name }}</button>
{% endif %}
@ -30,4 +30,18 @@
{% block tabs %}{% endblock %}
{% if open_tab %}
<script>
document.getElementById("tab-{{ open_tab }}").click();
</script>
{% else %}
<script>
document.getElementById("defaultOpen").click();
</script>
{% endif %}
{% endblock %}