mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°7410 - Fix typo in template path
This commit is contained in:
@@ -41,7 +41,7 @@ function DisplayWelcomePopup(WebPage $oP): void
|
|||||||
$oWelcomePopupService = WelcomePopupService::GetInstance();
|
$oWelcomePopupService = WelcomePopupService::GetInstance();
|
||||||
$aProvidersMessagesData = $oWelcomePopupService->GetMessages();
|
$aProvidersMessagesData = $oWelcomePopupService->GetMessages();
|
||||||
if (count($aProvidersMessagesData) > 0) {
|
if (count($aProvidersMessagesData) > 0) {
|
||||||
TwigHelper::RenderIntoPage($oP, APPROOT."/", "templates/application/welcome_popup/layout", [
|
TwigHelper::RenderIntoPage($oP, APPROOT."/", "templates/application/welcome-popup/layout", [
|
||||||
"aProvidersMessagesData" => $aProvidersMessagesData,
|
"aProvidersMessagesData" => $aProvidersMessagesData,
|
||||||
"sEndpointAbsURIForAcknowledgeMessage" => Router::GetInstance()->GenerateUrl(WelcomePopupController::ROUTE_NAMESPACE . ".acknowledge_message"),
|
"sEndpointAbsURIForAcknowledgeMessage" => Router::GetInstance()->GenerateUrl(WelcomePopupController::ROUTE_NAMESPACE . ".acknowledge_message"),
|
||||||
]);
|
]);
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ use utils;
|
|||||||
*/
|
*/
|
||||||
class Message {
|
class Message {
|
||||||
/** @var string Default TWIG template */
|
/** @var string Default TWIG template */
|
||||||
protected const DEFAULT_TWIG_TEMPLATE_REL_PATH = 'templates/application/welcome_popup/templates/left-title-description-right-illustration.html.twig';
|
protected const DEFAULT_TWIG_TEMPLATE_REL_PATH = 'templates/application/welcome-popup/templates/left-title-description-right-illustration.html.twig';
|
||||||
|
|
||||||
/** @var string Unique ID of the message within its provider */
|
/** @var string Unique ID of the message within its provider */
|
||||||
protected readonly string $sId;
|
protected readonly string $sId;
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ class MessageFactory {
|
|||||||
$sIllustrationAbsURI,
|
$sIllustrationAbsURI,
|
||||||
[],
|
[],
|
||||||
$iImportance,
|
$iImportance,
|
||||||
"templates/application/welcome_popup/templates/left-title-description-right-illustration.html.twig"
|
"templates/application/welcome-popup/templates/left-title-description-right-illustration.html.twig"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ class MessageFactory {
|
|||||||
$sIllustrationAbsURI,
|
$sIllustrationAbsURI,
|
||||||
[],
|
[],
|
||||||
$iImportance,
|
$iImportance,
|
||||||
"templates/application/welcome_popup/templates/left-illustration-right-title-description.html.twig"
|
"templates/application/welcome-popup/templates/left-illustration-right-title-description.html.twig"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ class MessageFactory {
|
|||||||
$sIllustrationAbsURI,
|
$sIllustrationAbsURI,
|
||||||
[],
|
[],
|
||||||
$iImportance,
|
$iImportance,
|
||||||
"templates/application/welcome_popup/templates/left-illustration-as-svg-markup-right-title-description.html.twig"
|
"templates/application/welcome-popup/templates/left-illustration-as-svg-markup-right-title-description.html.twig"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ class MessageFactory {
|
|||||||
$sIllustrationAbsURI,
|
$sIllustrationAbsURI,
|
||||||
[],
|
[],
|
||||||
$iImportance,
|
$iImportance,
|
||||||
"templates/application/welcome_popup/templates/left-title-description-right-illustration-as-svg-markup.html.twig"
|
"templates/application/welcome-popup/templates/left-title-description-right-illustration-as-svg-markup.html.twig"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends 'templates/application/welcome_popup/templates/left-illustration-right-title-description.html.twig' %}
|
{% extends 'templates/application/welcome-popup/templates/left-illustration-right-title-description.html.twig' %}
|
||||||
|
|
||||||
{% block wpMessagIllustrationInner %}
|
{% block wpMessagIllustrationInner %}
|
||||||
<div class="ibo-welcome-popup--message-illustration ibo-svg-illustration--container">
|
<div class="ibo-welcome-popup--message-illustration ibo-svg-illustration--container">
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
{% extends 'templates/application/welcome_popup/templates/layout.html.twig' %}
|
{% extends 'templates/application/welcome-popup/templates/layout.html.twig' %}
|
||||||
|
|
||||||
{% block wpMessageContentExtraCssClasses %}{{ parent() }} ibo-is-illustration-on-left-side{% endblock %}
|
{% block wpMessageContentExtraCssClasses %}{{ parent() }} ibo-is-illustration-on-left-side{% endblock %}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends 'templates/application/welcome_popup/templates/left-title-description-right-illustration.html.twig' %}
|
{% extends 'templates/application/welcome-popup/templates/left-title-description-right-illustration.html.twig' %}
|
||||||
|
|
||||||
{% block wpMessagIllustrationInner %}
|
{% block wpMessagIllustrationInner %}
|
||||||
<div class="ibo-welcome-popup--message-illustration ibo-svg-illustration--container">
|
<div class="ibo-welcome-popup--message-illustration ibo-svg-illustration--container">
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
{% extends 'templates/application/welcome_popup/templates/layout.html.twig' %}
|
{% extends 'templates/application/welcome-popup/templates/layout.html.twig' %}
|
||||||
|
|
||||||
{# Nothing there, it's exactly the default template. The file only exists to ease people understanding what the default layout is. #}
|
{# Nothing there, it's exactly the default template. The file only exists to ease people understanding what the default layout is. #}
|
||||||
Reference in New Issue
Block a user