mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
page 'create a course' for draft accompanying course
This commit is contained in:
@@ -12,19 +12,17 @@
|
||||
</div>
|
||||
|
||||
<div class="grid-4">
|
||||
<ul class="record_actions">
|
||||
<li>ponctuel <i class="fa fa-toggle-on fa-fw"></i> régulier</li>
|
||||
<li>ouvert</li>
|
||||
<li>en file active</li>
|
||||
<li>urgent</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="grid-3">
|
||||
<p style="text-align: right;">
|
||||
<i>{{ 'Started on %date%'|trans({'%date%': accompanyingCourse.openingDate|format_date('short') } ) }}</i><br>
|
||||
{% if accompanyingCourse.user is not null %}
|
||||
par <b>{{ accompanyingCourse.user.usernameCanonical }}</b>
|
||||
{% if 'DRAFT' == accompanyingCourse.getStep() %}
|
||||
Brouillon
|
||||
{% else %}
|
||||
<i>{{ 'Started on %date%'|trans({'%date%': accompanyingCourse.openingDate|format_date('short') } ) }}</i><br>
|
||||
{% if accompanyingCourse.user is not null %}
|
||||
par <b>{{ accompanyingCourse.user.username }}</b>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
|
@@ -1,7 +1,9 @@
|
||||
{% extends 'ChillPersonBundle:AccompanyingCourse:layout.html.twig' %}
|
||||
|
||||
{% set title = 'DRAFT' == accompanyingCourse.step ? 'New accompanying course' : 'Edit accompanying course' %}
|
||||
|
||||
{% block title %}
|
||||
{{ 'Edit Accompanying Course'|trans }}
|
||||
{{ title|trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
Reference in New Issue
Block a user