Loading module/Oscar/view/oscar/public/index.phtml +2 −11 Original line number Diff line number Diff line Loading @@ -95,9 +95,7 @@ use function Oscar\_ot; ?> </a> <?php endif; ?> <?php if( $this->grant()->getCurrentPerson() && $this->grant()->isDeclarer()): ?> <?php if( $this->grant()->getCurrentPerson() && $this->grant()->isDeclarer()): ?> <a class="btn btn-primary" href="<?= $this->url('timesheet/declarant') ?>"> <i class="icon-pencil"></i> <?= $this->oscarText('Déclarer des heures') ?> Loading Loading @@ -133,14 +131,7 @@ use function Oscar\_ot; ?> class="btn <?= count($validations) > 0 ? 'btn-primary' : 'btn-default' ?>"> <i class="icon-edit"></i> <?= $this->oscarText("Validation des feuilles de temps") ?></a> <button type="button" class="btn <?= count($validations) > 0 ? 'btn-primary' : 'btn-default' ?> dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="caret"></span> <span class="sr-only">Toggle Dropdown</span> </button> <ul class="dropdown-menu"> <li><a href="<?= $this->url('timesheet/validations2') ?>">Validations v2</a></li> <li><a href="<?= $this->url('timesheet/validations') ?>">Validations (ancienne version)</a></li> </ul> </div> <?php endif; ?> Loading Loading
module/Oscar/view/oscar/public/index.phtml +2 −11 Original line number Diff line number Diff line Loading @@ -95,9 +95,7 @@ use function Oscar\_ot; ?> </a> <?php endif; ?> <?php if( $this->grant()->getCurrentPerson() && $this->grant()->isDeclarer()): ?> <?php if( $this->grant()->getCurrentPerson() && $this->grant()->isDeclarer()): ?> <a class="btn btn-primary" href="<?= $this->url('timesheet/declarant') ?>"> <i class="icon-pencil"></i> <?= $this->oscarText('Déclarer des heures') ?> Loading Loading @@ -133,14 +131,7 @@ use function Oscar\_ot; ?> class="btn <?= count($validations) > 0 ? 'btn-primary' : 'btn-default' ?>"> <i class="icon-edit"></i> <?= $this->oscarText("Validation des feuilles de temps") ?></a> <button type="button" class="btn <?= count($validations) > 0 ? 'btn-primary' : 'btn-default' ?> dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="caret"></span> <span class="sr-only">Toggle Dropdown</span> </button> <ul class="dropdown-menu"> <li><a href="<?= $this->url('timesheet/validations2') ?>">Validations v2</a></li> <li><a href="<?= $this->url('timesheet/validations') ?>">Validations (ancienne version)</a></li> </ul> </div> <?php endif; ?> Loading