Skip to content

Commit

Permalink
Merge pull request #439 from BertHankes/patch-4
Browse files Browse the repository at this point in the history
Update fullpagebar_view.php
  • Loading branch information
LouisGac committed Mar 3, 2016
2 parents 08615e4 + f3c1a4d commit c36f8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/views/admin/super/fullpagebar_view.php
Expand Up @@ -11,7 +11,7 @@
<!-- Left Actions -->
<div class="col-md-8">
<!-- Create a new survey -->
<?php if (isset($fullpagebar['button']['newsurvey'])):?>
<?php if (isset($fullpagebar['button']['newsurvey']) && Permission::model()->hasGlobalPermission('surveys','create')):?>
<a class="btn btn-default" href="<?php echo $this->createUrl("admin/survey/sa/newsurvey"); ?>" role="button">
<span class="icon-add text-success"></span>
<?php eT("Create a new survey");?>
Expand Down

0 comments on commit c36f8ae

Please sign in to comment.