Layout optimizations

This commit is contained in:
Andy Strobel 2014-06-28 12:13:11 +02:00
parent cd7c054f5c
commit abeb4645a4
3 changed files with 4 additions and 3 deletions

View File

@ -36,6 +36,7 @@ class PollsModule extends CWebModule {
if ($space->isModuleEnabled('polls')) {
$event->sender->addItem(array(
'label' => Yii::t('PollsModule.base', 'Polls'),
'group' => 'modules',
'url' => Yii::app()->createUrl('//polls/poll/show', array('sguid' => $space->guid)),
'icon' => '<i class="fa fa-question-circle"></i>',
'isActive' => (Yii::app()->controller->module && Yii::app()->controller->module->id == 'polls'),

View File

@ -164,7 +164,7 @@ class PollController extends Controller {
$users = User::model()->findAllBySql($sql, $params);
$output = $this->renderPartial('application.modules_core.user.views._listUsers', array(
'title' => Yii::t('PollsModule.base', "Users voted for: {answer}", array('{answer}' => $answer->answer)),
'title' => Yii::t('PollsModule.base', "Users voted for: <strong>{answer}</strong>", array('{answer}' => $answer->answer)),
'users' => $users,
'pagination' => $pagination
), true);

View File

@ -9,7 +9,7 @@
* @since 0.5
*/
?>
<ul class="nav nav-tabs wallFilterPanel" id="filter">
<ul class="nav nav-tabs wallFilterPanel" id="filter" style="display: none;">
<li class=" dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><?php echo Yii::t('WallModule.base', 'Filter'); ?> <b class="caret"></b></a>
<ul class="dropdown-menu">
@ -50,7 +50,7 @@
</div>
<!-- DIV for an single wall entry -->
<div class="s2_single">
<div class="s2_single" style="display: none;">
<div class="back_button_holder">
<a href="#" class="singleBackLink button_white"><?php echo Yii::t('WallModule.base', 'Back to stream'); ?></a>
</div>