Loading module/Oscar/view/oscar/public/index.phtml +12 −3 Changes for module/Oscar/view/oscar/public/index.phtml: 12 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -4,7 +4,6 @@ use Oscar\OscarText; use function Oscar\_ot; ?> <?php $cols = 2; // -------------------------------------------------- ACCUEIL CUSTOM Loading @@ -25,7 +24,6 @@ if (file_exists(__DIR__ . '/../../../../../data/home.html')): </section> <?php $sectionTodo = ob_get_clean(); endif; ?> <div class="container-fluid homepage"> <section class="row"> Loading Loading @@ -63,6 +61,7 @@ if (file_exists(__DIR__ . '/../../../../../data/home.html')): <?= $this->oscarText('Activités dans vos structures') ?></a> </a> <?php endif; ?> <?php if ($this->grant()->getCurrentPerson() && $this->grant()->isDeclarer()): ?> <a class="btn btn-primary" href="<?= $this->url('timesheet/declarant') ?>"> <i class="icon-pencil"></i> Loading @@ -73,6 +72,7 @@ if (file_exists(__DIR__ . '/../../../../../data/home.html')): <?= $this->oscarText('Historique de mes feuilles de temps') ?> </a> <?php endif; ?> <?php if (count($periodsRejected)): ?> <div class="alert alert-danger"> <i class="icon-warning-empty"></i> Problème pour la/les déclaration(s) : Loading @@ -91,6 +91,7 @@ if (file_exists(__DIR__ . '/../../../../../data/home.html')): <?php endforeach; ?> </div> <?php endif; ?> <?php if ($isValidator): ?> <div class="btn-group"> <a type="button" href="<?= $this->url('timesheet/validations2') ?>" Loading @@ -100,17 +101,25 @@ if (file_exists(__DIR__ . '/../../../../../data/home.html')): </div> <?php endif; ?> <?php if ($documentsWait): ?> <a href="<?= $this->url('unicaen-signature/my-documents') ?>" class="btn btn-primary"> Documents à viser <span class="label label-danger"><?= count($documentsWait) ?></span> </a> <?php endif; ?> <?php if( $this->grant(\Oscar\Provider\Privileges::ACTIVITY_REQUEST) ):?> <a href="<?= $this->url('requestactivity') ?>" class="btn btn-primary"> <?= $this->oscarText("Faire une demande d'activité") ?> </a> <?php endif; ?> <?php if ($isRequestValidator): ?> <a href="<?= $this->url('contract/requestadmin') ?>" class="btn <?= $requestValidations > 0 ? 'btn-primary' : 'btn-default' ?>"> <i class="icon-cube"></i> <?= $this->oscarText("Demande d'activité") ?> <?= $this->oscarText("Valider les demandes d'activité") ?> <?php if ($requestValidations > 0): ?> <sub class="bubble bubble-danger"><?= $requestValidations ?></sub> <?php endif; ?> Loading Loading
module/Oscar/view/oscar/public/index.phtml +12 −3 Changes for module/Oscar/view/oscar/public/index.phtml: 12 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -4,7 +4,6 @@ use Oscar\OscarText; use function Oscar\_ot; ?> <?php $cols = 2; // -------------------------------------------------- ACCUEIL CUSTOM Loading @@ -25,7 +24,6 @@ if (file_exists(__DIR__ . '/../../../../../data/home.html')): </section> <?php $sectionTodo = ob_get_clean(); endif; ?> <div class="container-fluid homepage"> <section class="row"> Loading Loading @@ -63,6 +61,7 @@ if (file_exists(__DIR__ . '/../../../../../data/home.html')): <?= $this->oscarText('Activités dans vos structures') ?></a> </a> <?php endif; ?> <?php if ($this->grant()->getCurrentPerson() && $this->grant()->isDeclarer()): ?> <a class="btn btn-primary" href="<?= $this->url('timesheet/declarant') ?>"> <i class="icon-pencil"></i> Loading @@ -73,6 +72,7 @@ if (file_exists(__DIR__ . '/../../../../../data/home.html')): <?= $this->oscarText('Historique de mes feuilles de temps') ?> </a> <?php endif; ?> <?php if (count($periodsRejected)): ?> <div class="alert alert-danger"> <i class="icon-warning-empty"></i> Problème pour la/les déclaration(s) : Loading @@ -91,6 +91,7 @@ if (file_exists(__DIR__ . '/../../../../../data/home.html')): <?php endforeach; ?> </div> <?php endif; ?> <?php if ($isValidator): ?> <div class="btn-group"> <a type="button" href="<?= $this->url('timesheet/validations2') ?>" Loading @@ -100,17 +101,25 @@ if (file_exists(__DIR__ . '/../../../../../data/home.html')): </div> <?php endif; ?> <?php if ($documentsWait): ?> <a href="<?= $this->url('unicaen-signature/my-documents') ?>" class="btn btn-primary"> Documents à viser <span class="label label-danger"><?= count($documentsWait) ?></span> </a> <?php endif; ?> <?php if( $this->grant(\Oscar\Provider\Privileges::ACTIVITY_REQUEST) ):?> <a href="<?= $this->url('requestactivity') ?>" class="btn btn-primary"> <?= $this->oscarText("Faire une demande d'activité") ?> </a> <?php endif; ?> <?php if ($isRequestValidator): ?> <a href="<?= $this->url('contract/requestadmin') ?>" class="btn <?= $requestValidations > 0 ? 'btn-primary' : 'btn-default' ?>"> <i class="icon-cube"></i> <?= $this->oscarText("Demande d'activité") ?> <?= $this->oscarText("Valider les demandes d'activité") ?> <?php if ($requestValidations > 0): ?> <sub class="bubble bubble-danger"><?= $requestValidations ?></sub> <?php endif; ?> Loading