|
@@ -4,16 +4,16 @@ |
|
|
block discarded – undo |
|
4
|
4
|
<div class="panel panel-default panel-tour" id="getting-started-panel"> |
|
5
|
5
|
<?php |
|
6
|
6
|
// Temporary workaround till panel widget rewrite in 0.10 verion |
|
7
|
|
- $removeOptionHtml = "<li>" . \humhub\widgets\ModalConfirm::widget(array( |
|
|
7
|
+ $removeOptionHtml = "<li>".\humhub\widgets\ModalConfirm::widget(array( |
|
8
|
8
|
'uniqueID' => 'hide-panel-button', |
|
9
|
9
|
'title' => Yii::t('TourModule.widgets_views_tourPanel', '<strong>Remove</strong> tour panel'), |
|
10
|
10
|
'message' => Yii::t('TourModule.widgets_views_tourPanel', 'This action will remove the tour panel from your dashboard. You can reactivate it at<br>Account settings <i class="fa fa-caret-right"></i> Settings.'), |
|
11
|
11
|
'buttonTrue' => Yii::t('TourModule.widgets_views_tourPanel', 'Ok'), |
|
12
|
12
|
'buttonFalse' => Yii::t('TourModule.widgets_views_tourPanel', 'Cancel'), |
|
13
|
|
- 'linkContent' => '<i class="fa fa-eye-slash"></i> ' . Yii::t('TourModule.widgets_views_tourPanel', ' Remove panel'), |
|
|
13
|
+ 'linkContent' => '<i class="fa fa-eye-slash"></i> '.Yii::t('TourModule.widgets_views_tourPanel', ' Remove panel'), |
|
14
|
14
|
'linkHref' => Url::to(["/tour/tour/hide-panel", "ajax" => 1]), |
|
15
|
15
|
'confirmJS' => '$(".panel-tour").slideToggle("slow")' |
|
16
|
|
- ), true) . "</li>"; |
|
|
16
|
+ ), true)."</li>"; |
|
17
|
17
|
?> |
|
18
|
18
|
|
|
19
|
19
|
<!-- Display panel menu widget --> |
Please login to merge, or discard this patch.