Skip to content

Commit

Permalink
Evarisk#3432 [RiskSign] fix: use new saturne class to edit modal
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-micka committed Oct 17, 2023
1 parent 43e0de7 commit d32c790
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,11 @@
<div class="risksign-container" value="<?php echo $risksign->id ?>">
<!-- BUTTON MODAL RISK EDIT -->
<?php if ($permissiontoadd) : ?>
<div><i class="fas fa-map-signs"></i><?php echo ' ' . $risksign->ref; ?> <i class="risksign-edit wpeo-tooltip-event modal-open fas fa-pencil-alt" aria-label="<?php echo $langs->trans('EditRiskSign'); ?>" value="<?php echo $risksign->id; ?>" id="<?php echo $risksign->ref; ?>"></i></div>
<i class="fas fa-map-signs"></i><?php echo ' ' . $risksign->ref; ?>
<div class="risksign-edit risksign-button wpeo-button button-transparent wpeo-tooltip-event modal-open" aria-label="<?php echo $langs->trans('EditRiskSign') ?>" value="<?php echo $risksign->id;?>">
<input type="hidden" class="modal-options" data-modal-to-open="risksign_edit<?php echo $risksign->id ?>" data-from-id="<?php echo $risksign->id ?>"/>
<i class="fas fa-pencil-alt"></i>
</div>
<?php else : ?>
<div class="risk-edit-no-perm" value="<?php echo $risksign->id ?>"><i class="fas fa-map-signs"></i><?php echo ' ' . $risksign->ref; ?></div>
<?php endif; ?>
Expand Down

0 comments on commit d32c790

Please sign in to comment.