Commit 11afc52a authored by THEO GUILLON's avatar THEO GUILLON
Browse files

Merge branch '363-corrections-et-ameliorations-du-parametrage-des-types-d-annexes' into '2.0.0'

Resolve "Corrections et améliorations du paramétrage des types d'annexes"

See merge request libriciel/pole-citoyens/web-DPO/web-DPO!381
parents 31a58e0c c6f0fe2c
......@@ -116,17 +116,17 @@ if (!empty($typages)) {
<div class="btn-group">
<?php
if ($this->Session->read('Su') || $typage['Typage']['createdbyorganisation'] == $this->Session->read('Organisation.id')) {
if (empty($organisations) === true) {
echo $this->Html->link('<span class="fa fa-pencil fa-lg"><!----></span>', [
'controller' => 'typages',
'action' => 'edit',
$typage['Typage']['id']
], [
'class' => 'btn btn-default-default btn-sm my-tooltip',
'title' => __d('typage', 'typage.commentaireBtnModifierType'),
'escape' => false,
]);
echo $this->Html->link('<span class="fa fa-pencil fa-lg"><!----></span>', [
'controller' => 'typages',
'action' => 'edit',
$typage['Typage']['id']
], [
'class' => 'btn btn-default-default btn-sm my-tooltip',
'title' => __d('typage', 'typage.commentaireBtnModifierType'),
'escape' => false,
]);
if (empty($organisations) === true) {
echo $this->Html->link('<span class="fa fa-trash fa-lg"><!----></span>', [
'controller' => 'typages',
'action' => 'delete',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment