mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
view page created for aside activity
This commit is contained in:
parent
544af59009
commit
1672e873a3
@ -0,0 +1,59 @@
|
|||||||
|
<h1>{{ "Aside activity"|trans }}</h1>
|
||||||
|
|
||||||
|
<dl class="chill_view_data">
|
||||||
|
|
||||||
|
<dt class="inline">{{ 'Type'|trans }}</dt>
|
||||||
|
<dd>{{ entity.type.title | localize_translatable_string }}</dd>
|
||||||
|
|
||||||
|
<dt class="inline">{{ 'Created by'|trans }}</dt>
|
||||||
|
<dd>{{ entity.createdBy }}</dd>
|
||||||
|
|
||||||
|
<dt class="inline">{{ 'Created for'|trans }}</dt>
|
||||||
|
<dd>{{ entity.agent }}</dd>
|
||||||
|
|
||||||
|
<h2 class="chill-red">{{ 'Activity data'|trans }}</h2>
|
||||||
|
|
||||||
|
<dt class="inline">{{ 'Date'|trans }}</dt>
|
||||||
|
<dd>{{ entity.date|format_date('long') }}</dd>
|
||||||
|
|
||||||
|
<dt class="inline">{{ 'Duration'|trans }}</dt>
|
||||||
|
<dd>{{ entity.duration|date('H:i') }}</dd>
|
||||||
|
|
||||||
|
<dt class="inline">{{ 'Remark'|trans }}</dt>
|
||||||
|
{%- if entity.note is empty -%}
|
||||||
|
<dd>
|
||||||
|
<span class="chill-no-data-statement">{{ 'No comments'|trans }}</span>
|
||||||
|
</dd>
|
||||||
|
{%- else -%}
|
||||||
|
<dd>
|
||||||
|
<section class="chill-entity entity-comment-embeddable">
|
||||||
|
<blockquote class="chill-user-quote">
|
||||||
|
<p>{{ entity.note }}</p>
|
||||||
|
</blockquote>
|
||||||
|
</section>
|
||||||
|
</dd>
|
||||||
|
{%- endif -%}
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<ul class="record_actions sticky-form-buttons">
|
||||||
|
<li class="cancel">
|
||||||
|
<a class="btn btn-cancel" href="{{ path('chill_crud_'~crud_name~'_index', { 'id': entity.id }) }}">
|
||||||
|
|
||||||
|
|
||||||
|
{{ 'Back to the list'|trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="btn btn-update" href="{{ path('chill_crud_'~crud_name~'_edit', { 'id': entity.id }) }}">
|
||||||
|
|
||||||
|
|
||||||
|
{{ 'Edit'|trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="{{ path('chill_crud_'~crud_name~'_delete', { 'id': entity.id }) }}" class="btn btn-delete">
|
||||||
|
|
||||||
|
{{ 'Delete'|trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
@ -1,15 +1,13 @@
|
|||||||
{% extends '@ChillMain/layout.html.twig' %}
|
{% extends "@ChillMain/layout.html.twig" %}
|
||||||
|
|
||||||
{% set activeRouteKey = '' %}
|
{% set activeRouteKey = 'chill_aside_activity_list' %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title 'Show the aside activity'|trans %}
|
||||||
{% include('@ChillMain/CRUD/_view_title.html.twig') %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content -%}
|
||||||
{% embed '@ChillMain/CRUD/_view_content.html.twig' %}
|
<div class="activity-show">
|
||||||
{% block crud_content_header %}
|
|
||||||
<h1>{{ ('crud.' ~ crud_name ~ '.title_view')|trans }}</h1>
|
{% include 'ChillAsideActivityBundle:asideActivity:_view.html.twig' %}
|
||||||
{% endblock crud_content_header %}
|
|
||||||
{% endembed %}
|
</div>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
@ -16,9 +16,7 @@ Delete: Supprimer
|
|||||||
Update: Mettre à jour
|
Update: Mettre à jour
|
||||||
Update activity: Modifier l'activité
|
Update activity: Modifier l'activité
|
||||||
Aside activity data: Données de l'activité annexe
|
Aside activity data: Données de l'activité annexe
|
||||||
No reason associated: Aucun sujet
|
|
||||||
There aren't any aside activities.: Aucune activité annexe enregistrée.
|
There aren't any aside activities.: Aucune activité annexe enregistrée.
|
||||||
type_name: type de l'activité
|
|
||||||
Type: Type
|
Type: Type
|
||||||
Invisible: Invisible
|
Invisible: Invisible
|
||||||
Optional: Optionnel
|
Optional: Optionnel
|
||||||
@ -157,6 +155,8 @@ days: jours
|
|||||||
#list
|
#list
|
||||||
My aside activities: Mes activités annexes
|
My aside activities: Mes activités annexes
|
||||||
Date: Date
|
Date: Date
|
||||||
|
By: Par
|
||||||
|
For: Pour
|
||||||
Created by: Créé par
|
Created by: Créé par
|
||||||
Created for: Créé pour
|
Created for: Créé pour
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user