Fixed: Tour Guide

This commit is contained in:
andystrobel 2015-11-12 13:48:56 +01:00
parent 23530b9369
commit 86096473f8
4 changed files with 7 additions and 13 deletions

View File

@ -34,13 +34,13 @@ $this->context->loadResources($this);
placement: "right"
},
{
element: ".controls-account",
element: ".edit-account",
title: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_profile', '<strong>Edit</strong> account')); ?>,
content: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_profile', 'Click on this button to update your profile and account settings. You can also add more information to your profile.')); ?>,
placement: "left"
},
{
element: ".profile-nav-container",
element: ".layout-nav-container .panel",
title: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_profile', '<strong>Profile</strong> menu')); ?>,
content: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_profile', 'Just like in the space, the user profile can be personalized with various modules.<br><br>You can see which modules are available for your profile by looking them in “Modules” in the account settings menu.')); ?>,
placement: "right"

View File

@ -28,16 +28,16 @@ $this->context->loadResources($this);
content: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_spaces', "Once you have joined or created a new space you can work on projects, discuss topics or just share information with other users.<br><br>There are various tools to personalize a space, thereby making the work process more productive.")); ?>
},
{
element: ".space-nav-container .panel:eq(0)",
element: ".layout-nav-container .panel",
title: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_spaces', '<strong>Space</strong> navigation menu')); ?>,
content: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_spaces', 'This is where you can navigate the space where you find which modules are active or available for the particular space you are currently in. These could be polls, tasks or notes for example.<br><br>Only the space admin can manage the space\'s modules.')); ?>,
placement: "right"
},
{
element: ".space-nav-container .panel:eq(1)",
element: ".dropdown-navigation",
title: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_spaces', '<strong>Space</strong> preferences')); ?>,
content: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_spaces', 'This menu is only visible for space admins. Here you can manage your space settings, add/block members and activate/deactivate tools for this space.')); ?>,
placement: "right"
placement: "bottom"
},
{
element: "#contentFormBody",
@ -51,12 +51,6 @@ $this->context->loadResources($this);
content: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_spaces', 'Yours, and other users\' posts will appear here.<br><br>These can then be liked or commented on.')); ?>,
placement: "bottom"
},
{
element: ".space-info",
title: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_spaces', '<strong>Space</strong> info')); ?>,
content: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_spaces', 'Give other useres a brief idea what the space is about. You can add the basic information here.<br /><br />The space admin can insert and change the space\'s cover photo either by clicking on it or by drag&drop.')); ?>,
placement: "left"
},
{
element: ".panel-activities",
title: <?php echo json_encode(Yii::t('TourModule.widgets_views_guide_spaces', '<strong>Most recent</strong> activities')); ?>,

View File

@ -3,4 +3,4 @@
use yii\helpers\Html;
use yii\helpers\Url;
print Html::a(Yii::t("UserModule.widgets_views_profileEditButton", "Edit account"), Url::toRoute('/user/account/edit'), array('class' => 'btn btn-primary'));
print Html::a(Yii::t("UserModule.widgets_views_profileEditButton", "Edit account"), Url::toRoute('/user/account/edit'), array('class' => 'btn btn-primary edit-account'));

View File

@ -11,7 +11,7 @@
<?php $items = $this->context->getItems($group['id']); ?>
<?php if (count($items) == 0) continue; ?>
<div class="btn-group">
<div class="btn-group dropdown-navigation">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="true">
<?php if ($group['label'] != "") {