Allègement barre navigation

FossilOrigin-Name: c189e0f47d7d5d0f6413c7f30d98910802edca75007466ae997826437a92a11b
This commit is contained in:
engel 2024-11-12 14:05:03 +00:00
parent 27168d0f0b
commit ec0702e48c

View File

@ -5,8 +5,8 @@
<nav class="tabs"> <nav class="tabs">
<ul> <ul>
<li{if $current_nav == 'index'} class="current"{/if}><a href="{plugin_url}">Accueil</a></li> <li{if $current_nav == 'index'} class="current"{/if}><a href="{plugin_url}">Accueil</a></li>
<li{if $current_nav == 'personne'} class="current"{/if}><a href="{plugin_url file="action.php?action=personne"}">Versements par personne</a></li> {if $current_nav == 'personne'} <li class="current"><a>Versements par personne</a></li>{/if}
<li{if $current_nav == 'activite'} class="current"{/if}><a href="{plugin_url file="action.php?action=activite"}">Versements par activité et tarif</a></li> {if $current_nav == 'activite'} <li class="current"><a>Versements par activité et tarif</a></li>{/if}
{if $session->canAccess($session::SECTION_ACCOUNTING, $session::ACCESS_WRITE)} {if $session->canAccess($session::SECTION_ACCOUNTING, $session::ACCESS_WRITE)}
<li{if $current_nav == 'config'} class="current"{/if}><a href="{plugin_url file="config.php"}">Configuration</a></li> <li{if $current_nav == 'config'} class="current"{/if}><a href="{plugin_url file="config.php"}">Configuration</a></li>
{/if} {/if}