mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
remove dump()
This commit is contained in:
parent
30e0c663dc
commit
c3012b7f8a
@ -51,8 +51,7 @@ class ParticipationController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function newAction(Request $request)
|
public function newAction(Request $request)
|
||||||
{
|
{
|
||||||
dump('coucou');
|
|
||||||
|
|
||||||
// test the request is correct
|
// test the request is correct
|
||||||
try {
|
try {
|
||||||
$this->testRequest($request);
|
$this->testRequest($request);
|
||||||
|
@ -1,16 +1,5 @@
|
|||||||
{% import 'ChillEventBundle:EventReason:macro.html.twig' as m %}
|
{% import 'ChillEventBundle:EventReason:macro.html.twig' as m %}
|
||||||
|
|
||||||
{#
|
|
||||||
{{ dump() }}
|
|
||||||
<pre>
|
|
||||||
event :
|
|
||||||
| #{{ event.id }} | {{ event.date|localizeddate('short', 'short') }} | {{ event.name }} | center {{ event.center.id }} | circle {{ event.circle.id }} | type {{ event.type.id }} | {{ event.moderator }} |
|
|
||||||
participations :
|
|
||||||
{% for participation in event.participations %}
|
|
||||||
| #{{ participation.id }} | {{ participation.person }} | {{ participation.role.name|localize_translatable_string }} | {{ participation.status.name|localize_translatable_string }} | lastupdate {{ participation.lastupdate|localizeddate('short', 'short') }} |
|
|
||||||
{% endfor %}
|
|
||||||
</pre>
|
|
||||||
#}
|
|
||||||
{% if "now"|date('U') > event.date|date('U') %}
|
{% if "now"|date('U') > event.date|date('U') %}
|
||||||
{% set boolDate = 'past' %}
|
{% set boolDate = 'past' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -96,7 +96,6 @@ class TimelineEventProvider implements TimelineProviderInterface
|
|||||||
'WHERE' => $this->getWhereClause($metadataEvent, $metadataParticipation, $metadataPerson, $args['person'])
|
'WHERE' => $this->getWhereClause($metadataEvent, $metadataParticipation, $metadataPerson, $args['person'])
|
||||||
);
|
);
|
||||||
|
|
||||||
//dump($query);
|
|
||||||
return $query;
|
return $query;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user