mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 08:12:26 +02:00
N°8031 - Make all portal bricks use custom templates for all templates
add missing templates
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
{% block pPageReadyScripts %}
|
||||
{{ parent() }}
|
||||
{% include 'itop-portal-base/portal/templates/helpers/tagset_clic_handler.js.twig' %}
|
||||
{% include template('tagset_clic_handler_js') %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<div id="brick_mosaic_overlay">
|
||||
{% block bBrowseMosaicOverlay %}
|
||||
<div class="overlay_content">
|
||||
{% include 'itop-portal-base/portal/templates/helpers/loader.html.twig' %}
|
||||
{% include template('loader') %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
</div>
|
||||
<div id="brick_tree_overlay">
|
||||
<div class="overlay_content">
|
||||
{% include 'itop-portal-base/portal/templates/helpers/loader.html.twig' %}
|
||||
{% include template('loader') %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -18,5 +18,5 @@
|
||||
|
||||
{% block pPageReadyScripts %}
|
||||
{{ parent() }}
|
||||
{% include 'itop-portal-base/portal/templates/helpers/tagset_clic_handler.js.twig' %}
|
||||
{% include template('tagset_clic_handler_js') %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
{# Misc. buttons #}
|
||||
{% if form.buttons is defined and (form.buttons.actions is defined or form.buttons.links is defined) %}
|
||||
<div class="form_btn_misc">
|
||||
{% include 'itop-portal-base/portal/templates/bricks/object/plugins_buttons.html.twig' with {'aButtons': form.buttons} %}
|
||||
{% include template('plugins_buttons', 'Combodo\\iTop\\Portal\\Controller\\ObjectController') with {'aButtons': form.buttons} %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{# Transition buttons #}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
{# Misc. buttons #}
|
||||
{% if form.buttons is defined and (form.buttons.actions is defined or form.buttons.links is defined) %}
|
||||
<div class="form_btn_misc">
|
||||
{% include 'itop-portal-base/portal/templates/bricks/object/plugins_buttons.html.twig' with {'aButtons': form.buttons} %}
|
||||
{% include template('plugins_buttons', 'Combodo\\iTop\\Portal\\Controller\\ObjectController') with {'aButtons': form.buttons} %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
{% set oContactForm = forms.contact %}
|
||||
{% set oPreferencesForm = forms.preferences %}
|
||||
{% set oPasswordForm = forms.password %}
|
||||
{% include 'itop-portal-base/portal/templates/bricks/user-profile/user_info.html.twig' %}
|
||||
{% include template('user_info', 'Combodo\\iTop\\Portal\\Brick\\UserProfileBrick') %}
|
||||
{% else %}
|
||||
<div id="user-profile-wrapper">
|
||||
<div class="row">
|
||||
@@ -80,7 +80,7 @@
|
||||
{% set oContactForm = forms.contact %}
|
||||
{% set oPreferencesForm = forms.preferences %}
|
||||
{% set oPasswordForm = forms.password %}
|
||||
{% include 'itop-portal-base/portal/templates/bricks/user-profile/user_info.ready.js.twig' %}
|
||||
{% include template('user_info_ready_js', 'Combodo\\iTop\\Portal\\Brick\\UserProfileBrick') %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div id="session-messages">
|
||||
{% for aSessionMessage in app['session_message_helper'] %}
|
||||
{% include 'itop-portal-base/portal/templates/helpers/session_messages/session_message.html.twig' with {aSessionMessage: aSessionMessage} %}
|
||||
{% include template('session_message') with {aSessionMessage: aSessionMessage} %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="col-xs-12 col-sm-9 col-md-10 col-sm-offset-3 col-md-offset-2">
|
||||
<section class="row">
|
||||
<div class="col-xs-12">
|
||||
{% include 'itop-portal-base/portal/templates/helpers/session_messages/session_messages.html.twig' %}
|
||||
{% include template('session_messages') %}
|
||||
</div>
|
||||
</section>
|
||||
<section class="row tiles_wrapper">
|
||||
|
||||
@@ -335,7 +335,7 @@
|
||||
<div class="col-xs-12 col-sm-9 col-md-10 col-sm-offset-3 col-md-offset-2">
|
||||
<section class="row">
|
||||
<div class="col-xs-12">
|
||||
{% include 'itop-portal-base/portal/templates/helpers/session_messages/session_messages.html.twig' %}
|
||||
{% include template('session_messages') %}
|
||||
</div>
|
||||
</section>
|
||||
<section class="row" id="main-header">
|
||||
@@ -367,7 +367,7 @@
|
||||
<div class="modal fade" id="modal-for-all" role="dialog" tabindex="-1">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
{% include 'itop-portal-base/portal/templates/helpers/loader.html.twig' %}
|
||||
{% include template('loader') %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -395,7 +395,7 @@
|
||||
{% block pPageOverlay %}
|
||||
<div id="page_overlay" class="global_overlay">
|
||||
<div class="overlay_content">
|
||||
{% include 'itop-portal-base/portal/templates/helpers/loader.html.twig' %}
|
||||
{% include template('loader') %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{% extends 'itop-portal-base/portal/templates/modal/layout.html.twig' %}
|
||||
|
||||
{% block pModalContent %}
|
||||
{% include 'itop-portal-base/portal/templates/helpers/loader.html.twig' %}
|
||||
{% include template('loader') %}
|
||||
|
||||
{% if redirection is defined and redirection.url is defined %}
|
||||
<script type="text/javascript">
|
||||
|
||||
Reference in New Issue
Block a user