Skip to content

Commit 89e51ca

Browse files
DIS-51: refactor: Update Milestone Page Title
Update the displayed page name to from Milesotne to Milesotne Criteria where the criteria for the milestones are set e.g. Name, When etc
1 parent 314fe08 commit 89e51ca

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

code/web/services/CommunityEngagement/Milestones.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function getModule(): string {
1818
}
1919

2020
function getPageTitle(): string {
21-
return 'Milestones';
21+
return 'Milestone Criteria';
2222
}
2323

2424
function getAllObjects($page, $recordsPerPage): array {

code/web/sys/Account/User.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4193,7 +4193,7 @@ public function getAdminActions() {
41934193
$sections['communityEngagement']->addAction(new AdminAction('Campaigns', 'Create and view campaigns.', '/CommunityEngagement/Campaigns'), [
41944194
'Administer Community Engagement Module',
41954195
]);
4196-
$sections['communityEngagement']->addAction(new AdminAction('Milestones', 'Create and view milestones.', '/CommunityEngagement/Milestones'), [
4196+
$sections['communityEngagement']->addAction(new AdminAction('Milestone Criteria', 'Create and view milestones.', '/CommunityEngagement/Milestones'), [
41974197
'Administer Community Engagement Module',
41984198
]);
41994199
$sections['communityEngagement']->addAction(new AdminAction('Rewards', 'Create and view rewards.', '/CommunityEngagement/Rewards'), [

code/web/sys/CommunityEngagement/CampaignMilestone.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static function getObjectStructure($context = '') {
4646
'milestoneId' => [
4747
'property' => 'milestoneId',
4848
'type' => 'enum',
49-
'label' => 'Milestone',
49+
'label' => 'Milestone Criteria',
5050
'values' => $availableMilestones,
5151
'description' => 'The milestone to be added to the campaign',
5252
],

0 commit comments

Comments
 (0)