Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
justinfreeman (Agileware)
Core
Commits
6c9f2174
Commit
6c9f2174
authored
11 years ago
by
colemanw
Browse files
Options
Downloads
Patches
Plain Diff
CRM-13782 - snippet/print tpl - Fix messages display
parent
d2c96507
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/CRM/common/print.tpl
+1
-6
1 addition, 6 deletions
templates/CRM/common/print.tpl
templates/CRM/common/snippet.tpl
+1
-6
1 addition, 6 deletions
templates/CRM/common/snippet.tpl
with
2 additions
and
12 deletions
templates/CRM/common/print.tpl
+
1
−
6
View file @
6c9f2174
...
...
@@ -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. -->
...
...
This diff is collapsed.
Click to expand it.
templates/CRM/common/snippet.tpl
+
1
−
6
View file @
6c9f2174
...
...
@@ -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
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment