mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
batch rename class sc-button (scratch) by btn (bootstrap)
This commit is contained in:
@@ -31,10 +31,10 @@
|
||||
{{ form_widget(edit_form) }}
|
||||
<ul class="sticky-form-buttons record_actions">
|
||||
<li class="cancel">
|
||||
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="sc-button bt-cancel">{{ 'Back to the list'|trans }}</a>
|
||||
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="btn btn-cancel">{{ 'Back to the list'|trans }}</a>
|
||||
<li>
|
||||
<li>
|
||||
<button class="sc-button bt-save" type="submit">{{ 'Save report'|trans }}</button>
|
||||
<button class="btn btn-save" type="submit">{{ 'Save report'|trans }}</button>
|
||||
</li>
|
||||
</ul>
|
||||
{{ form_end(edit_form) }}
|
||||
|
@@ -48,12 +48,12 @@
|
||||
<ul class="record_actions">
|
||||
{% if is_granted('CHILL_REPORT_SEE', report) %}
|
||||
<li>
|
||||
<a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id }) }}" class="sc-button bt-view"></a>
|
||||
<a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id }) }}" class="btn btn-view"></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if is_granted('CHILL_REPORT_UPDATE', report) %}
|
||||
<li>
|
||||
<a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id }) }}" class="sc-button bt-update"></a>
|
||||
<a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id }) }}" class="btn btn-update"></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('report_select_type', { 'person_id' : person.id } ) }}" class="sc-button bt-new">
|
||||
<a href="{{ path('report_select_type', { 'person_id' : person.id } ) }}" class="btn btn-new">
|
||||
{{ 'Create a new report'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
|
@@ -29,10 +29,10 @@
|
||||
{{ form_row(form.cFData) }}
|
||||
<ul class="sticky-form-buttons record_actions">
|
||||
<li class="cancel">
|
||||
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="sc-button bt-cancel">{{ 'Back to the list'|trans }}</a>
|
||||
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="btn btn-cancel">{{ 'Back to the list'|trans }}</a>
|
||||
<li>
|
||||
<li>
|
||||
<button class="sc-button bt-create" type="submit"> {{ 'Add report'|trans }}</button>
|
||||
<button class="btn btn-create" type="submit"> {{ 'Add report'|trans }}</button>
|
||||
</li>
|
||||
</ul>
|
||||
{{ form_end(form) }}
|
||||
|
@@ -27,7 +27,7 @@
|
||||
|
||||
<ul class="record_actions">
|
||||
<li class="cancel">
|
||||
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="sc-button bt-cancel">{{ 'Back to the list'|trans }}</a>
|
||||
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="btn btn-cancel">{{ 'Back to the list'|trans }}</a>
|
||||
<li>
|
||||
<button class="sc-button green" type="submit">
|
||||
<i class="fa fa-plus"></i>
|
||||
|
@@ -46,11 +46,11 @@
|
||||
|
||||
<ul class="record_actions">
|
||||
<li class="cancel">
|
||||
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="sc-button bt-cancel">{{ 'Back to the list'|trans }}</a>
|
||||
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="btn btn-cancel">{{ 'Back to the list'|trans }}</a>
|
||||
<li>
|
||||
{% if is_granted('CHILL_REPORT_UPDATE', entity) %}
|
||||
<li>
|
||||
<a class="sc-button bt-edit" href="{{ path('report_edit', { 'person_id': entity.person.id, 'report_id': entity.id }) }}">{{ 'Update the report' | trans }}</a>
|
||||
<a class="btn btn-edit" href="{{ path('report_edit', { 'person_id': entity.person.id, 'report_id': entity.id }) }}">{{ 'Update the report' | trans }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
@@ -25,13 +25,13 @@
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id} ) }}" class="sc-button bt-view">
|
||||
<a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id} ) }}" class="btn btn-view">
|
||||
{{ 'View the report'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
{% if is_granted('CHILL_REPORT_UPDATE', report) %}
|
||||
<li>
|
||||
<a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id} ) }}" class="sc-button bt-edit">
|
||||
<a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id} ) }}" class="btn btn-edit">
|
||||
{{ 'Update the report'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user