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
357c7e41
Commit
357c7e41
authored
11 years ago
by
Dave Greenberg
Browse files
Options
Downloads
Patches
Plain Diff
Change Birth date labels to Birth Date to match title case used in other labels.
parent
6027131b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CRM/Contact/Form/Edit/Demographics.php
+1
-1
1 addition, 1 deletion
CRM/Contact/Form/Edit/Demographics.php
templates/CRM/Contact/Page/Inline/Demographics.tpl
+1
-1
1 addition, 1 deletion
templates/CRM/Contact/Page/Inline/Demographics.tpl
with
2 additions
and
2 deletions
CRM/Contact/Form/Edit/Demographics.php
+
1
−
1
View file @
357c7e41
...
...
@@ -59,7 +59,7 @@ class CRM_Contact_Form_Edit_Demographics {
}
$form
->
addGroup
(
$genderOptions
,
'gender_id'
,
ts
(
'Gender'
));
$form
->
addDate
(
'birth_date'
,
ts
(
'Date of
b
irth'
),
FALSE
,
array
(
'formatType'
=>
'birth'
));
$form
->
addDate
(
'birth_date'
,
ts
(
'Date of
B
irth'
),
FALSE
,
array
(
'formatType'
=>
'birth'
));
$form
->
addElement
(
'checkbox'
,
'is_deceased'
,
NULL
,
ts
(
'Contact is deceased'
),
array
(
'onclick'
=>
"showDeceasedDate()"
));
$form
->
addDate
(
'deceased_date'
,
ts
(
'Deceased date'
),
FALSE
,
array
(
'formatType'
=>
'birth'
));
...
...
This diff is collapsed.
Click to expand it.
templates/CRM/Contact/Page/Inline/Demographics.tpl
+
1
−
1
View file @
357c7e41
...
...
@@ -35,7 +35,7 @@
<div
class=
"crm-content crm-contact-gender_display"
>
{
$gender_display
}
</div>
</div>
<div
class=
"crm-summary-row"
>
<div
class=
"crm-label"
>
{
ts
}
Date of
b
irth
{/
ts
}
</div>
<div
class=
"crm-label"
>
{
ts
}
Date of
B
irth
{/
ts
}
</div>
<div
class=
"crm-content crm-contact-birth_date_display"
>
{
if
$birthDateViewFormat
}
{
$birth_date_display
|
crmDate
:
$birthDateViewFormat
}
...
...
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