mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
[course list in person file] remove action on course list
This commit is contained in:
parent
af0905c6e0
commit
c798b1290c
@ -116,6 +116,7 @@
|
|||||||
class="btn btn-show" title="{{ 'See accompanying period'|trans }}">{# {{ 'See this period'|trans }} #}</a>
|
class="btn btn-show" title="{{ 'See accompanying period'|trans }}">{# {{ 'See this period'|trans }} #}</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<!-- if new accompanying course, this is not necessary
|
||||||
{% if person is defined %}
|
{% if person is defined %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ path('chill_person_accompanying_period_update', {'person_id' : person.id, 'period_id' : accompanying_period.id } ) }}"
|
<a href="{{ path('chill_person_accompanying_period_update', {'person_id' : person.id, 'period_id' : accompanying_period.id } ) }}"
|
||||||
@ -142,6 +143,7 @@
|
|||||||
{% elseif household is defined %}
|
{% elseif household is defined %}
|
||||||
{# TODO buttons specific for household ? #}
|
{# TODO buttons specific for household ? #}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
-->
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,29 +18,10 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a class="btn btn-create change-icon dropdown-toggle"
|
<a class="btn btn-create change-icon"
|
||||||
href="#" role="button" id="newAccompanyingPeriod" data-bs-toggle="dropdown" aria-expanded="false">
|
href="{{ path ('chill_person_accompanying_course_new', {'person_id' : [ person.id ] } ) }}" role="button" id="newAccompanyingPeriod">
|
||||||
{{ 'Create an accompanying period'|trans }}
|
{{ 'Create an accompanying period'|trans }}
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu" aria-labelledby="newAccompanyingPeriod">
|
|
||||||
<li>
|
|
||||||
<a class="dropdown-item" href="{{ path ('chill_person_accompanying_course_new', {'person_id' : [ person.id ] } ) }}">
|
|
||||||
<i class="fa fa-fw fa-plus"></i> {{ 'Create an accompanying period'|trans }}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="dropdown-item" href="{{ path ('chill_person_accompanying_period_create', {'person_id' : person.id } ) }}">
|
|
||||||
<i class="fa fa-fw fa-reply"></i> {{ 'Add an accompanying period in the past'|trans }}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% if person.isOpen == false %}
|
|
||||||
<li>
|
|
||||||
<a class="dropdown-item" href="{{ path('chill_person_accompanying_period_open', {'person_id' : person.id} ) }}">
|
|
||||||
<i class="fa fa-fw fa-unlock"></i> {{'Begin a new accompanying period'|trans }}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user