Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
1,431 additions
and
1,294 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
application/extensions/TopbarWidget/views/baseTopbar_view.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
application/extensions/TopbarWidget/views/includes/questionTopbarRight_view.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 26 additions & 18 deletions
44
application/extensions/TopbarWidget/views/includes/tokensTopbarRight_view.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,45 @@ | ||
<?php | ||
/** | ||
* @var bool $showDelButton | ||
* @var bool $hasSurveySettingsUpdatePermission | ||
* @var bool $hasTokensDeletePermission | ||
* @var Survey $oSurvey | ||
*/ | ||
|
||
?> | ||
|
||
<!-- Delete tokens table --> | ||
<?php if (!empty($showDelButton) && ($hasSurveySettingsUpdatePermission || $hasTokensDeletePermission)): ?> | ||
<?php if (!empty($showDelButton) && ($hasSurveySettingsUpdatePermission || $hasTokensDeletePermission)) : ?> | ||
<a class="btn btn-danger" href="<?php echo Yii::App()->createUrl("admin/tokens/sa/kill/surveyid/$oSurvey->sid"); ?>" role="button"> | ||
<?php eT("Delete participants table"); ?> | ||
</a> | ||
<?php endif; ?> | ||
|
||
<!-- Download CSV --> | ||
<?php if(!empty($showDownloadButton)):?> | ||
<?php if (!empty($showDownloadButton)) : ?> | ||
<a class="btn btn-success pull-right" href="#" role="button" id="save-button"> | ||
<span class="fa fa fa-export" ></span> | ||
<?php eT("Download CSV file"); ?> | ||
<span class="fa fa fa-export"></span> | ||
<?php eT("Download CSV file"); ?> | ||
</a> | ||
<?php endif;?> | ||
<?php endif; ?> | ||
|
||
<!-- Send invitations buttons --> | ||
<?php if(!empty($showSendInvitationButton)):?> | ||
<?php if (!empty($showSendInvitationButton)) : ?> | ||
<a class="btn btn-success pull-right" href="#" role="button" id="send-invitation-button"> | ||
<span class="icon-invite" ></span> | ||
<?php eT("Send invitations");?> | ||
<span class="icon-invite"></span> | ||
<?php eT("Send invitations"); ?> | ||
</a> | ||
<?php endif;?> | ||
<?php endif; ?> | ||
|
||
<!-- Send reminder buttons --> | ||
<?php if(!empty($showSendReminderButton)):?> | ||
<?php if (!empty($showSendReminderButton)) : ?> | ||
<a class="btn btn-success pull-right" href="#" role="button" id="send-reminders-button"> | ||
<span class="icon-invite" ></span> | ||
<?php eT("Send reminders");?> | ||
<span class="icon-invite"></span> | ||
<?php eT("Send reminders"); ?> | ||
</a> | ||
<?php endif;?> | ||
<?php endif; ?> | ||
|
||
<?php | ||
/** | ||
* Include the default buttons | ||
*/ | ||
$this->render('includes/surveyTopbarRight_view', get_defined_vars()); | ||
<?php | ||
// Include the default buttons | ||
$this->render('includes/surveyTopbarRight_view', get_defined_vars()); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.