Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jdev
jdev-boarding
Commits
806d2957
Commit
806d2957
authored
Feb 08, 2017
by
François Agneray
Browse files
base dashboard
parent
e8b84702
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/src/Action/ConnexionAction.php
View file @
806d2957
...
@@ -82,7 +82,7 @@ final class ConnexionAction
...
@@ -82,7 +82,7 @@ final class ConnexionAction
'page'
=>
'dashboard-admin'
'page'
=>
'dashboard-admin'
]);
]);
}
else
{
}
else
{
$this
->
view
->
render
(
$response
,
'dashboard.twig'
,
[
$this
->
view
->
render
(
$response
,
'dashboard
_home
.twig'
,
[
'page'
=>
'dashboard'
,
'page'
=>
'dashboard'
,
'participant'
=>
$participant
'participant'
=>
$participant
]);
]);
...
...
app/templates/dashboard.twig
→
app/templates/
base_
dashboard.twig
View file @
806d2957
...
@@ -20,22 +20,6 @@
...
@@ -20,22 +20,6 @@
</li>
</li>
</ul>
</ul>
</nav>
</nav>
<div
class=
"content-dashboard"
>
{%
block
content_dashboard
%}{%
endblock
%}
<div
id=
"home"
>
<h2
class=
"text-center"
>
Dashboard
</h2>
<hr>
<p>
Bienvenue dans votre espace participant
</p>
<p>
- nb places restants / Azur-Colloque
</p>
<p>
- génerer son badge
</p>
<p>
Role :
{{
participant.getRole
()
}}
</p>
<p>
Place prépayée :
{{
participant.getPassPrepaye
()
}}
</p>
{%
if
participant.getPassPrepaye
()
%}
<p>
Pas de paiement
</p>
{%
else
%}
<p>
Lien Azur colloque
</p>
{%
endif
%}
</div>
</div>
</div>
</div>
{%
endblock
%}
{%
endblock
%}
app/templates/dashboard_home.twig
0 → 100644
View file @
806d2957
{%
extends
"base_dashboard.twig"
%}
{%
block
content_dashboard
%}
<div
class=
"content-dashboard"
>
<div
id=
"home"
>
<h2
class=
"text-center"
>
Dashboard
</h2>
<hr>
<p>
Bienvenue dans votre espace participant
</p>
<p>
- nb places restants / Azur-Colloque
</p>
<p>
- génerer son badge
</p>
<p>
Role :
{{
participant.getRole
()
}}
</p>
<p>
Place prépayée :
{{
participant.getPassPrepaye
()
}}
</p>
{%
if
participant.getPassPrepaye
()
%}
<p>
Pas de paiement
</p>
{%
else
%}
<p>
Lien Azur colloque
</p>
{%
endif
%}
</div>
</div>
{%
endblock
%}
\ No newline at end of file
Write
Preview
Markdown
is supported
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