Skip to content
Snippets Groups Projects
Commit 765b014e authored by colemanw's avatar colemanw
Browse files

Merge pull request #2005 from colemanw/4.3

CRM-13782 - snippet/print tpl - Fix messages display
parents d2c96507 6c9f2174
No related branches found
No related tags found
No related merge requests found
......@@ -41,12 +41,7 @@
<div id="crm-container" class="crm-container" lang="{$config->lcMessages|truncate:2:"":true}" xml:lang="{$config->lcMessages|truncate:2:"":true}">
{crmRegion name='page-header' allowCmsOverride=0}{/crmRegion}
{* Check for Status message for the page (stored in session->getStatus). Status is cleared on retrieval. *}
{if $session->getStatus(false)}
<div class="messages status no-popup">
<div class="icon inform-icon"></div>
{$session->getStatus(true)}
</div>
{/if}
{include file="CRM/common/status.tpl"}
{crmRegion name='page-body' allowCmsOverride=0}
<!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
......
......@@ -40,12 +40,7 @@
<div class="crm-container-snippet" bgColor="white">
{* Check for Status message for the page (stored in session->getStatus). Status is cleared on retrieval. *}
{if $session->getStatus(false)}
<div class="messages status no-popup">
<div class="icon alert-icon"></div>
{$session->getStatus(true)}
</div>
{/if}
{include file="CRM/common/status.tpl"}
<!-- .tpl file invoked: {$tplFile}. Call via form.tpl if we have a form in the page. -->
{if !empty($isForm)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment