Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
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
Development
CiviCRM Core
Commits
8afcaf8c
Unverified
Commit
8afcaf8c
authored
3 years ago
by
Eileen McNaughton
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #22029 from eileenmcnaughton/action_set
Ensure action is set when loading contactFooter
parents
eb08a171
984a2e3e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CRM/Contact/Form/Inline.php
+1
-0
1 addition, 0 deletions
CRM/Contact/Form/Inline.php
templates/CRM/common/contactFooter.tpl
+1
-1
1 addition, 1 deletion
templates/CRM/common/contactFooter.tpl
with
2 additions
and
1 deletion
CRM/Contact/Form/Inline.php
+
1
−
0
View file @
8afcaf8c
...
...
@@ -162,6 +162,7 @@ abstract class CRM_Contact_Form_Inline extends CRM_Core_Form {
'contact_view_options'
,
TRUE
);
$smarty
->
assign
(
'changeLog'
,
$viewOptions
[
'log'
]);
$smarty
->
ensureVariablesAreAssigned
([
'action'
]);
$ret
=
[
'markup'
=>
$smarty
->
fetch
(
'CRM/common/contactFooter.tpl'
)];
if
(
$includeCount
)
{
$ret
[
'count'
]
=
CRM_Contact_BAO_Contact
::
getCountComponent
(
'log'
,
$cid
);
...
...
This diff is collapsed.
Click to expand it.
templates/CRM/common/contactFooter.tpl
+
1
−
1
View file @
8afcaf8c
...
...
@@ -12,7 +12,7 @@
<div
class=
"crm-footer"
id=
"crm-record-log"
>
<span
class=
"col1"
>
{
if
!
empty
(
$external_identifier
)
}{
ts
}
External ID
{/
ts
}
:
{
$external_identifier
}{/
if
}
{
if
!
isset
(
$action
)
||
(
isset
(
$action
)
&&
$action
NEQ
2
)
}
{
ts
}
Contact ID
{/
ts
}
:
{
$contactId
}{/
if
}
{
if
$action
!==
2
}
{
ts
}
Contact ID
{/
ts
}
:
{
$contactId
}{/
if
}
</span>
{
if
!
empty
(
$lastModified
)
}
{
ts
}
Last Change by
{/
ts
}
:
<a
href=
"
{
crmURL
p
=
'civicrm/contact/view'
q
=
"action=view&reset=1&cid=`$lastModified.id`"
}
"
>
{
$lastModified.name
}
</a>
(
{
$lastModified.date
|
crmDate
}
)
...
...
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