mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Layout optimizations
This commit is contained in:
parent
cd7c054f5c
commit
abeb4645a4
@ -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'),
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user