mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-28 06:34:33 +00:00
Compare commits
3 Commits
460-displa
...
474-improv
| Author | SHA1 | Date | |
|---|---|---|---|
| a15c2aedd4 | |||
| 23d067fffe | |||
| 330b8fddb3 |
@@ -1,6 +0,0 @@
|
|||||||
kind: UX
|
|
||||||
body: Display calendar item info on cancel page
|
|
||||||
time: 2025-11-24T16:47:23.020302054+01:00
|
|
||||||
custom:
|
|
||||||
Issue: "460"
|
|
||||||
SchemaChange: No schema change
|
|
||||||
6
.changes/unreleased/UX-20251126-133910.yaml
Normal file
6
.changes/unreleased/UX-20251126-133910.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: UX
|
||||||
|
body: Improve accessibility of event form
|
||||||
|
time: 2025-11-26T13:39:10.462348982+01:00
|
||||||
|
custom:
|
||||||
|
Issue: "474"
|
||||||
|
SchemaChange: No schema change
|
||||||
@@ -162,7 +162,6 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="item-row separator">
|
<div class="item-row separator">
|
||||||
{% if show_record_actions is not defined or show_record_actions %}
|
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
{% if is_granted('CHILL_CALENDAR_DOC_EDIT', calendar) and calendar.status is not constant('STATUS_CANCELED', calendar) %}
|
{% if is_granted('CHILL_CALENDAR_DOC_EDIT', calendar) and calendar.status is not constant('STATUS_CANCELED', calendar) %}
|
||||||
{% if templates|length == 0 %}
|
{% if templates|length == 0 %}
|
||||||
@@ -246,7 +245,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,10 +6,6 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="flex-table list-records context-accompanyingCourse">
|
|
||||||
{{ include('@ChillCalendar/Calendar/_list.html.twig', {context: 'accompanying_course', show_record_actions: false}) }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ form_start(form) }}
|
{{ form_start(form) }}
|
||||||
|
|
||||||
{{ form_row(form.cancelReason) }}
|
{{ form_row(form.cancelReason) }}
|
||||||
|
|||||||
@@ -6,10 +6,6 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="flex-table list-records context-person">
|
|
||||||
{{ include('@ChillCalendar/Calendar/_list.html.twig', {context: 'person', show_record_actions: false}) }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ form_start(form) }}
|
{{ form_start(form) }}
|
||||||
|
|
||||||
{{ form_row(form.cancelReason) }}
|
{{ form_row(form.cancelReason) }}
|
||||||
|
|||||||
@@ -486,7 +486,7 @@ final class ParticipationController extends AbstractController
|
|||||||
|
|
||||||
return $this->redirectToRoute(
|
return $this->redirectToRoute(
|
||||||
'chill_event__event_show',
|
'chill_event__event_show',
|
||||||
['event_id' => $event->getId()]
|
['id' => $event->getId()]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
{{ form_row(edit_form.circle) }}
|
{{ form_row(edit_form.circle) }}
|
||||||
{{ form_row(edit_form.name) }}
|
{{ form_row(edit_form.name) }}
|
||||||
{{ form_row(edit_form.date) }}
|
{{ form_row(edit_form.date) }}
|
||||||
|
|
||||||
{{ form_row(edit_form.type, { label: "Event type" }) }}
|
{{ form_row(edit_form.type, { label: "Event type" }) }}
|
||||||
{{ form_row(edit_form.themes) }}
|
{{ form_row(edit_form.themes) }}
|
||||||
{{ form_row(edit_form.moderator) }}
|
{{ form_row(edit_form.moderator) }}
|
||||||
|
|||||||
@@ -37,4 +37,9 @@ class ChillDateTimeType extends AbstractType
|
|||||||
{
|
{
|
||||||
return DateTimeType::class;
|
return DateTimeType::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getBlockPrefix(): string
|
||||||
|
{
|
||||||
|
return 'chill_datetime';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -311,3 +311,32 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block chill_datetime_label %}
|
||||||
|
<label for="{{ form.date.vars.id }}" class="col-form-label col-sm-4 required">
|
||||||
|
{{ "Date"|trans }}
|
||||||
|
</label>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block chill_datetime_widget %}
|
||||||
|
<div class="col-sm-8 d-flex align-items-start gap-2">
|
||||||
|
{#date#}
|
||||||
|
{{ form_widget(form.date, {
|
||||||
|
attr: { class: 'form-control', style: 'flex: 1 1 auto;' }
|
||||||
|
}) }}
|
||||||
|
{#time#}
|
||||||
|
{{ form_widget(form.time, {
|
||||||
|
attr: {
|
||||||
|
class: 'form-select',
|
||||||
|
style: 'flex: 0 0 200px; max-width: 200px; white-space: nowrap; padding:0;'
|
||||||
|
}
|
||||||
|
}) }}
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block chill_datetime_row %}
|
||||||
|
<div class="mb-3 row">
|
||||||
|
{{ block('chill_datetime_label') }}
|
||||||
|
{{ block('chill_datetime_widget') }}
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user