Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
web-DPO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Libriciel
web-DPO
Commits
21ab077a
Commit
21ab077a
authored
3 years ago
by
Théo GUILLON
Browse files
Options
Downloads
Patches
Plain Diff
Modification : affichage info organisation créatrice
parent
d7cb31ba
No related branches found
No related tags found
No related merge requests found
Pipeline
#16116
passed
3 years ago
Stage: static_tests
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/Config/Schema/CreationBase/patchs/2.0.1_to_2.1.0.sql
+1
-1
1 addition, 1 deletion
app/Config/Schema/CreationBase/patchs/2.0.1_to_2.1.0.sql
app/View/Formulaires/index.ctp
+12
-12
12 additions, 12 deletions
app/View/Formulaires/index.ctp
with
13 additions
and
13 deletions
app/Config/Schema/CreationBase/patchs/2.0.1_to_2.1.0.sql
+
1
−
1
View file @
21ab077a
...
...
@@ -27,7 +27,7 @@ organisation_id
formulaires
.
organisations_id
FROM
formulaires
;
ALTER
TABLE
formulaires
ADD
COLUMN
createdbyorganisation
INT
DEFAULT
NULL
REFERENCES
organisations
(
id
)
ON
UPDATE
CASCADE
;
ALTER
TABLE
formulaires
ADD
COLUMN
createdbyorganisation
INT
DEFAULT
NULL
REFERENCES
organisations
(
id
)
ON
DELETE
SET
NULL
ON
UPDATE
CASCADE
;
UPDATE
formulaires
SET
createdbyorganisation
=
organisations_id
;
ALTER
TABLE
formulaires
DROP
COLUMN
organisations_id
;
...
...
This diff is collapsed.
Click to expand it.
app/View/Formulaires/index.ctp
+
12
−
12
View file @
21ab077a
...
...
@@ -117,11 +117,11 @@ echo $this->element('Buttons/affecterEntite', [
?>
</th>
<!--
<th class="col-md-1">
-->
<!--
-->
<?php
//
echo "Créer par";
//
?>
<!--
</
th
>
-->
<th
class=
"col-md-1"
>
<?php
echo
"Créer par"
;
?>
</th>
<!-- Entité -->
<th
class=
"col-md-2"
>
...
...
@@ -131,7 +131,7 @@ echo $this->element('Buttons/affecterEntite', [
</th>
<!-- Actions -->
<th
class=
"col-md-
2
"
>
<th
class=
"col-md-
1
"
>
<?php
echo
__d
(
'user'
,
'user.titreTableauAction'
);
?>
...
...
@@ -212,11 +212,11 @@ echo $this->element('Buttons/affecterEntite', [
</td>
<!-- Créer par -->
<!--
<td class="tdleft col-md-1">
-->
<!--
-->
<?php
//
echo $data['Createdbyorganisation']['raisonsociale'];
//
?>
<!--
</
td
>
-->
<td
class=
"tdleft col-md-1"
>
<?php
echo
$data
[
'Createdbyorganisation'
][
'raisonsociale'
];
?>
</td>
<!-- Entité -->
<td
class=
"tdleft col-md-2"
>
...
...
@@ -229,7 +229,7 @@ echo $this->element('Buttons/affecterEntite', [
</td>
<!-- Action possible d'effectuer en fonction de l'état du formulaire -->
<td
class=
"tdleft col-md-
2
"
>
<td
class=
"tdleft col-md-
1
"
>
<div
class=
"buttons"
>
<?php
// Bouton voir le formulaire
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment