Skip to content

Commit

Permalink
Dev: questiongroupbar name and preview
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jan 20, 2016
1 parent 5065ae0 commit f24c8e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application/core/Survey_Common_Action.php
Expand Up @@ -672,7 +672,7 @@ function _nquestiongroupbar($aData)
$aData['condarray'] = $condarray;

$aData['languagelist'] = $oSurvey->getAllLanguages();
$this->getController()->renderPartial("/admin/survey/QuestionGroups/nquestiongroupbar_view", $aData);
$this->getController()->renderPartial("/admin/survey/QuestionGroups/questiongroupbar_view", $aData);
}
}

Expand Down
Expand Up @@ -114,7 +114,7 @@

<div class="col-sm-8">
<!-- Previews while editing a question -->
<?php if(isset($questiongroupbar['savebutton']['form'])&&isset($gid)):?>
<?php if(isset($questiongroupbar['savebutton']['form'])&&isset($qid)):?>
<?php if(Permission::model()->hasSurveyPermission($surveyid,'surveycontent','update')): ?>
<?php if (count($languagelist) > 1): ?>

Expand Down Expand Up @@ -159,7 +159,7 @@
<span class="icon-do"></span>
<?php eT("Preview ");?>
</a>

<!-- Preview simple langue -->
<a class="btn btn-default" href="<?php echo $this->createUrl("survey/index/action/previewgroup/sid/$surveyid/gid/$gid/"); ?>" role="button" target="_blank">
<span class="icon-do"></span>
Expand Down

0 comments on commit f24c8e6

Please sign in to comment.