Skip to content

Commit

Permalink
Dev: Added Back button to permissions view
Browse files Browse the repository at this point in the history
  • Loading branch information
thedirtypanda committed Jul 14, 2021
1 parent e01383b commit a89db93
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions application/controllers/SurveysGroupsPermissionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,13 @@ public function actionIndex(int $id)
);

// Green Bar Page Title
$aData['pageTitle'] = 'Permission for group: ' . $model->title;
$aData['pageTitle'] = gT('Permission for group: ') . $model->title;

// White Top Bar
$aData['fullpagebar'] = array(
'closebutton' => array(
'url' => App()->createUrl('surveyAdministration/listsurveys', array('#' => 'surveygroups')),
'returnbutton' => array(
'text' => gT('Back'),
'url' => App()->createUrl('surveyAdministration/listsurveys', array('#' => 'surveygroups')),
),
);
$this->aData = $aData;
Expand Down

0 comments on commit a89db93

Please sign in to comment.