mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
Improving UI
This commit is contained in:
parent
8c979c3080
commit
508b933ab9
@ -40,10 +40,10 @@
|
||||
<td>{{ activity.reason.name | localize_translatable_string }}</td>
|
||||
<td>{{ activity.type.name | localize_translatable_string }}</td>
|
||||
<td>
|
||||
<a href="{{ path('chill_activity_activity_show', { 'id': activity.id, 'person_id': person.id }) }}">{{ 'Show the activity' | trans }}</a>
|
||||
<a href="{{ path('chill_activity_activity_show', { 'id': activity.id, 'person_id': person.id }) }}" class="sc-button black">{{ 'Show' | trans }}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{ path('chill_activity_activity_edit', { 'id': activity.id, 'person_id': person.id }) }}">{{ 'Edit the activity' | trans }}</a>
|
||||
<a href="{{ path('chill_activity_activity_edit', { 'id': activity.id, 'person_id': person.id }) }}" class="sc-button bt-update">{{ 'Edit' | trans }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
@ -51,7 +51,7 @@
|
||||
</table>
|
||||
|
||||
<p>
|
||||
<a href="{{ path('chill_activity_activity_new', {'person_id': person.id}) }}">
|
||||
<a href="{{ path('chill_activity_activity_new', {'person_id': person.id}) }}" class="sc-button bt-create">
|
||||
{{ 'Add a new activity' | trans }}
|
||||
</a>
|
||||
</p>
|
||||
|
@ -21,7 +21,7 @@
|
||||
{% block title %}{{ 'Activity create' |trans }}{% endblock title %}
|
||||
|
||||
{% block personcontent %}
|
||||
<h1>{{ "Activity creation"|trans }}</h1>
|
||||
<h2 class="chill-red">{{ "Activity creation"|trans }}</h1>
|
||||
|
||||
{{ form_start(form) }}
|
||||
|
||||
|
@ -3,11 +3,7 @@
|
||||
{% set activeRouteKey = 'chill_activity_activity_list' %}
|
||||
|
||||
{% block personcontent -%}
|
||||
<h1>{{ "Activity"|trans }}</h1>
|
||||
|
||||
<a href="{{ path('chill_activity_activity_edit', { 'id': entity.id, 'person_id': person.id }) }}">
|
||||
<i class="fa fa-pencil"></i> {{ 'Edit the activity'|trans }}
|
||||
</a>
|
||||
<h2 class="chill-red">{{ "Activity"|trans }}</h1>
|
||||
|
||||
<dl>
|
||||
<dt class="inline">{{ 'Person'|trans }}</dt>
|
||||
@ -34,9 +30,7 @@
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<a href="{{ path('chill_activity_activity_edit', { 'id': entity.id, 'person_id': person.id }) }}">
|
||||
<a class="sc-button bt-update" href="{{ path('chill_activity_activity_edit', { 'id': entity.id, 'person_id': person.id }) }}">
|
||||
<i class="fa fa-pencil"></i> {{ 'Edit the activity'|trans }}
|
||||
</a>
|
||||
|
||||
{# {{ form(delete_form) }} #}
|
||||
{% endblock personcontent %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user