mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 16:43:48 +00:00
batch replace sc-button by btn btn-...
This commit is contained in:
@@ -62,9 +62,9 @@
|
||||
<ul class="record_actions">
|
||||
{% if workflow_transitions(task)|length > 0 %}
|
||||
<li>
|
||||
<div class="bt-dropdown">
|
||||
<div class="btn dropdown-toggle">
|
||||
<a href="" class="btn btn-task-exchange"> </a>
|
||||
<div class="bt-dropdown-content">
|
||||
<div class="dropdown-menu">
|
||||
{% for transition in workflow_transitions(task) %}
|
||||
<a href="{{ path('chill_task_task_transition', { 'taskId': task.id, 'transition': transition.name, 'kind': 'single-task', 'list_params': app.request.query.all }) }}" class="{{ task_workflow_metadata(task, 'transition.class', transition)|e('html_attr') }}">{{ task_workflow_metadata(task, 'transition.verb', transition)|trans }}</a>
|
||||
{% endfor %}
|
||||
@@ -127,7 +127,7 @@
|
||||
{% else %}
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('chill_task_singletask_list', app.request.query.all|merge({ 'status': [ status ] })) }}" class="sc-button">
|
||||
<a href="{{ path('chill_task_singletask_list', app.request.query.all|merge({ 'status': [ status ] })) }}" class="btn">
|
||||
{{ 'See more' | trans }}
|
||||
</a>
|
||||
</li>
|
||||
@@ -166,7 +166,7 @@
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<button type="submit" class="sc-button">{{ 'Filter'|trans }}</button>
|
||||
<button type="submit" class="btn">{{ 'Filter'|trans }}</button>
|
||||
</li>
|
||||
</ul>
|
||||
{{ form_end(form)}}
|
||||
|
@@ -39,7 +39,7 @@
|
||||
<a class="btn btn-cancel" href="{% if app.request.query.has('returnPath') %}
|
||||
{{ app.request.query.get('returnPath')|escape('html_attr') }}">
|
||||
{% else %}
|
||||
{{ path('chill_task_single_task_show', { 'id': task.id, 'list_params': app.request.query.get('list_params', { } )} ) }}" class="sc-button">
|
||||
{{ path('chill_task_single_task_show', { 'id': task.id, 'list_params': app.request.query.get('list_params', { } )} ) }}" class="btn">
|
||||
{% endif %}
|
||||
{{ app.request.query.get('returnLabel')|default('Cancel'|trans) }}
|
||||
</a>
|
||||
|
@@ -37,9 +37,9 @@
|
||||
{{ form_row(form.warningInterval) }}
|
||||
|
||||
<div class="grid-12 centered sticky-form-buttons">
|
||||
<!-- {{ form_row(form.submit, { 'label': 'Add a new task'|trans, 'attr': {'class': 'fa fa-save sc-button green margin-10'} }) }} -->
|
||||
<!-- {{ form_row(form.submit, { 'label': 'Add a new task'|trans, 'attr': {'class': 'fa fa-save btn btn-chill-green margin-10'} }) }} -->
|
||||
|
||||
<button class="sc-button green margin-10" type="submit"><i class="fa fa-save"></i> {{ 'Add a new task'|trans }}</button>
|
||||
<button class="btn btn-chill-green margin-10" type="submit"><i class="fa fa-save"></i> {{ 'Add a new task'|trans }}</button>
|
||||
</div>
|
||||
|
||||
{{ form_end(form) }}
|
||||
|
@@ -95,9 +95,9 @@
|
||||
</li>
|
||||
{% if workflow_transitions(task)|length > 0 %}
|
||||
<li>
|
||||
<div class="bt-dropdown">
|
||||
<div class="btn dropdown-toggle">
|
||||
<a href="" class="btn btn-task-exchange"> {{'Change task status'|trans}}</a>
|
||||
<div class="bt-dropdown-content">
|
||||
<div class="dropdown-menu">
|
||||
{% for transition in workflow_transitions(task) %}
|
||||
<a href="{{ path('chill_task_task_transition', { 'taskId': task.id, 'transition': transition.name, 'kind': 'single-task', 'return_path': app.request.uri }) }}" class="{{ task_workflow_metadata(task, 'transition.class', transition)|e('html_attr') }}">{{ task_workflow_metadata(task, 'transition.verb', transition)|trans }}</a>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user