1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- {% extends "MuzichHomeBundle::layout.html.twig" %}
-
- {% block title %}
- {% if event.type == event_const('TYPE_COMMENT_ADDED_ELEMENT') %}
- {{ 'events.view.title.comments'|trans({}, 'userui') }}
- {% endif %}
- {% if event.type == event_const('TYPE_FAV_ADDED_ELEMENT') %}
- {{ 'events.view.title.nvxfav'|trans({}, 'userui') }}
- {% endif %}
- {% if event.type == event_const('TYPE_TAGS_PROPOSED') %}
- {{ 'events.view.title.tagsprop'|trans({}, 'userui') }}
- {% endif %}
- {% endblock %}
- {% block mainbox_classes %}mainbox_nopadding{% endblock %}
-
- {% block content %}
-
- <div class="top_tools">
-
- <div class="show_options">
-
- {% if event.type != event_const('TYPE_TAGS_PROPOSED') %}
- <a class="button darkbutton" href="{{ path('event_delete', {
- 'event_id' : event.id,
- 'token' : app.user.getPersonalHash(event.id)
- }) }}" >
- {{ 'events.view.link_delete'|trans({}, 'userui') }}
- </a>
- {% endif %}
-
- </div>
-
- {% if event.type == event_const('TYPE_COMMENT_ADDED_ELEMENT') %}
-
- <h1>{{ 'events.view.title.comments'|trans({}, 'userui') }}</h1>
- <p>{{ 'events.view.text.comments'|trans({}, 'userui') }}</p>
-
- {% endif %}
- {% if event.type == event_const('TYPE_FAV_ADDED_ELEMENT') %}
-
- <h1>{{ 'events.view.title.nvxfav'|trans({}, 'userui') }}</h1>
- <p>{{ 'events.view.text.nvxfav'|trans({}, 'userui') }}</p>
-
- {% endif %}
- {% if event.type == event_const('TYPE_TAGS_PROPOSED') %}
-
- <h1>{{ 'events.view.title.tagsprop'|trans({}, 'userui') }}</h1>
- <p>{{ 'events.view.text.tagsprop'|trans({}, 'userui') }}</p>
-
- {% endif %}
-
- </div>
-
- {% include "MuzichCoreBundle:SearchElement:default.html.twig" with {
- 'noelements_filter' : true
- }%}
-
- {% if elements|length %}
- {% include "MuzichCoreBundle:SearchElement:more_button.html.twig" with {
- 'more_path' : path('search_elements_more', {
- 'session_id' : app.user.getPersonalHash(app.request.get('event_id')),
- 'id_limit' : last_element_id
- }),
- 'link_class' : 'event_view'
- }%}
- {% endif %}
-
- {% endblock %}
|