Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
OSE
Commits
f43eeec5
Commit
f43eeec5
authored
Jun 15, 2021
by
Antony Le Courtes
Browse files
Inversion Fi et Fa dans l'affichage dans les administrations type de ressources (#38510)
parent
50c38ded
Changes
1
Hide whitespace changes
Inline
Side-by-side
module/Application/view/application/type-ressource/index.phtml
View file @
f43eeec5
...
...
@@ -14,8 +14,8 @@ $canEdit = $this->isAllowed(Privileges::getResourceId(Privileges::TYPE_RESSOURCE
<tr>
<th>
Code
</th>
<th>
Libellé
</th>
<th>
FA
</th>
<th>
FI
</th>
<th>
FA
</th>
<th>
FC
</th>
<th>
FC Majorée
</th>
<th>
Référentiel
</th>
...
...
@@ -32,12 +32,12 @@ $canEdit = $this->isAllowed(Privileges::getResourceId(Privileges::TYPE_RESSOURCE
<?=
$type
->
getCode
()
?>
</td>
<td>
<?=
$type
->
getLibelle
()
?>
</td>
<td>
<?=
(
$type
->
getFi
())
?
'OUI'
:
'NON'
;
?>
</td>
<td>
<?=
(
$type
->
getFa
())
?
'OUI'
:
'NON'
;
?>
</td>
<td>
<?=
(
$type
->
getFc
())
?
'OUI'
:
'NON'
;
?>
</td>
<td>
<?=
(
$type
->
getFcMajorees
())
?
'OUI'
:
'NON'
;
?>
</td>
<td>
<?=
(
$type
->
getReferentiel
())
?
'OUI'
:
'NON'
;
?>
</td>
<td>
<?=
(
$type
->
getEtablissement
())
?
'OUI'
:
'NON'
;
?>
</td>
<td>
<?=
(
$type
->
getFi
())
?
'OUI'
:
'NON'
;
?>
</td>
<td>
<?=
(
$type
->
getFa
())
?
'OUI'
:
'NON'
;
?>
</td>
<td>
<?=
(
$type
->
getFc
())
?
'OUI'
:
'NON'
;
?>
</td>
<td>
<?=
(
$type
->
getFcMajorees
())
?
'OUI'
:
'NON'
;
?>
</td>
<td>
<?=
(
$type
->
getReferentiel
())
?
'OUI'
:
'NON'
;
?>
</td>
<td>
<?=
(
$type
->
getEtablissement
())
?
'OUI'
:
'NON'
;
?>
</td>
<?php
if
(
$canEdit
)
:
?>
<td
style=
"text-align:center;width:1px;white-space: nowrap"
>
<a
class=
"ajax-modal"
...
...
@@ -57,18 +57,18 @@ $canEdit = $this->isAllowed(Privileges::getResourceId(Privileges::TYPE_RESSOURCE
<span
class=
"glyphicon glyphicon-trash"
></span>
</a>
</td>
<?php
endif
;
?>
<?php
endif
;
?>
</tr>
<?php
endforeach
;
?>
</tbody>
</table>
<?php
if
(
$canEdit
)
:
?>
<a
class=
"btn btn-primary ajax-modal"
data-event=
"type-ressource-saisie"
href=
"
<?=
$this
->
url
(
'type-ressource/saisie'
)
?>
"
title=
"Ajouter un type de ressource"
>
<span
class=
"glyphicon glyphicon-plus"
></span>
Ajouter un type de ressource
</a>
<a
class=
"btn btn-primary ajax-modal"
data-event=
"type-ressource-saisie"
href=
"
<?=
$this
->
url
(
'type-ressource/saisie'
)
?>
"
title=
"Ajouter un type de ressource"
>
<span
class=
"glyphicon glyphicon-plus"
></span>
Ajouter un type de ressource
</a>
<?php
endif
;
?>
<script
type=
"text/javascript"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment