Skip to content

Commit

Permalink
BK2024 Adjust wording
Browse files Browse the repository at this point in the history
  • Loading branch information
agileware-justin committed Sep 14, 2024
1 parent 1e6bc58 commit c858021
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CRM/Elections/Form/CreateElectionPosition.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function buildQuickForm() {
$this->assign('election', $this->election);
$this->addFormElements();

CRM_Utils_System::setTitle('Add Election Position - ' . $this->election->name);
CRM_Utils_System::setTitle('Add Election Position for ' . $this->election->name);
parent::buildQuickForm();
}

Expand All @@ -60,7 +60,7 @@ public function setDefaultValues() {
$default['sortorder'] = $this->electionPosition['sortorder'];
$default['description'] = (!empty($this->electionPosition['description'])) ? $this->electionPosition['description'] : '';

CRM_Utils_System::setTitle('Edit Election Position - ' . $this->electionPosition['name']);
CRM_Utils_System::setTitle('Edit Election Position for ' . $this->electionPosition['name']);
}
else {
$this->epId = 0;
Expand Down
2 changes: 1 addition & 1 deletion CRM/Elections/Form/VoteCandidates.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function buildQuickForm() {
],
]);

CRM_Utils_System::setTitle('You are voting for ' . $this->election->name);
CRM_Utils_System::setTitle('You are Voting for ' . $this->election->name);

parent::buildQuickForm();
}
Expand Down
2 changes: 1 addition & 1 deletion CRM/Elections/Page/ElectionPositions.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function run() {
$this->assign('isElectionRunning', $this->isElectionRunning);
$this->assign('election', $this->election);

CRM_Utils_System::setTitle('Election Positions - ' . $this->election->name);
CRM_Utils_System::setTitle('Election Positions for ' . $this->election->name);

$electionPositions = civicrm_api3('ElectionPosition', 'get', [
'election_id' => $this->eId,
Expand Down
2 changes: 1 addition & 1 deletion CRM/Elections/Page/ElectionSummary.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function run() {
$this->election = findElectionById($this->eId);
$this->isElectionAdmin = isElectionAdmin();

CRM_Utils_System::setTitle('Election Summary - ' . $this->election->name);
CRM_Utils_System::setTitle('Election Summary for ' . $this->election->name);

if (!$this->election->isResultsOut) {
throwAccessDeniedException($this, 'Election summary is not available yet.');
Expand Down

0 comments on commit c858021

Please sign in to comment.