mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Merge branch 'fix_double_search_button' into 'master'
Fix double search button See merge request Chill-Projet/chill-bundles!188
This commit is contained in:
commit
27db6ddf0c
@ -12,6 +12,7 @@ and this project adheres to
|
|||||||
|
|
||||||
<!-- write down unreleased development here -->
|
<!-- write down unreleased development here -->
|
||||||
|
|
||||||
|
* [person]: delete double actions buttons on search person page
|
||||||
* [person]: accompanying course work: remove creation date display the list of work + handle case when end date is null
|
* [person]: accompanying course work: remove creation date display the list of work + handle case when end date is null
|
||||||
* [main]: Add new pages with a menu for managing location and location type in the admin
|
* [main]: Add new pages with a menu for managing location and location type in the admin
|
||||||
* [main]: Add some fixtures for location type
|
* [main]: Add some fixtures for location type
|
||||||
|
@ -120,39 +120,6 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="record_actions">
|
|
||||||
{% if is_granted('CHILL_PERSON_CREATE') %}
|
|
||||||
<li>
|
|
||||||
<a href="{{ path('chill_person_new') }}" class="btn btn-create">
|
|
||||||
{{ 'Add a person'|trans }}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
{% if search_name != "person_similarity" %}
|
|
||||||
<li>
|
|
||||||
<a href="{{ path('chill_main_advanced_search', { "name": search_name, "q": pattern } ) }}" class="btn btn-action">
|
|
||||||
<i class="fa fa-fw fa-search" aria-hidden="true"></i> {{ 'Advanced search'|trans }}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
{% if preview == true and persons|length < total %}
|
|
||||||
<li>
|
|
||||||
<a href="{{ path('chill_main_search', { "name": search_name|default('abcd'), "q" : pattern }) }}" class="btn btn-misc">
|
|
||||||
{{ 'See all results'|trans }}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
</ul>
|
|
||||||
{% else %}
|
|
||||||
|
|
||||||
<ul class="record_actions">
|
|
||||||
<li>
|
|
||||||
<a href="{{ path('chill_main_advanced_search', { "name": search_name, "q": pattern } ) }}" class="btn btn-action">
|
|
||||||
<i class="fa fa-fw fa-search" aria-hidden="true"></i> {{ 'Advanced search'|trans }}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if preview == false %}
|
{% if preview == false %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user