Make dashboard section title clickable

This commit is contained in:
Frederic Guillot 2016-01-20 22:54:42 -05:00
parent 6df53e54da
commit f3e5fdb137
7 changed files with 11 additions and 9 deletions

View File

@ -23,6 +23,7 @@ Improvements:
* Make sure that some event subscribers are not executed multiple times
* Show rendering time of individual templates when debug mode is enabled
* Make sure that no events are fired if nothing have been modified in the task
* Make dashboard section title clickable
* Add unit tests for LastLogin
Bug fixes:

View File

@ -8,6 +8,6 @@
<?= $this->render('app/filters_helper') ?>
</div>
<?= $this->render('app/projects', array('paginator' => $project_paginator)) ?>
<?= $this->render('app/tasks', array('paginator' => $task_paginator)) ?>
<?= $this->render('app/subtasks', array('paginator' => $subtask_paginator)) ?>
<?= $this->render('app/projects', array('paginator' => $project_paginator, 'user' => $user)) ?>
<?= $this->render('app/tasks', array('paginator' => $task_paginator, 'user' => $user)) ?>
<?= $this->render('app/subtasks', array('paginator' => $subtask_paginator, 'user' => $user)) ?>

View File

@ -1,5 +1,5 @@
<div class="page-header">
<h2><?= t('My projects') ?> (<?= $paginator->getTotal() ?>)</h2>
<h2><?= $this->url->link(t('My projects'), 'app', 'projects', array('user_id' => $user['id'])) ?> (<?= $paginator->getTotal() ?>)</h2>
</div>
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('Your are not member of any project.') ?></p>

View File

@ -1,5 +1,5 @@
<div class="page-header">
<h2><?= t('My subtasks') ?> (<?= $paginator->getTotal() ?>)</h2>
<h2><?= $this->url->link(t('My subtasks'), 'app', 'subtasks', array('user_id' => $user['id'])) ?> (<?= $paginator->getTotal() ?>)</h2>
</div>
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('There is nothing assigned to you.') ?></p>

View File

@ -1,5 +1,5 @@
<div class="page-header">
<h2><?= t('My tasks') ?> (<?= $paginator->getTotal() ?>)</h2>
<h2><?= $this->url->link(t('My tasks'), 'app', 'tasks', array('user_id' => $user['id'])) ?> (<?= $paginator->getTotal() ?>)</h2>
</div>
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('There is nothing assigned to you.') ?></p>

File diff suppressed because one or more lines are too long

View File

@ -78,12 +78,13 @@ nav .active a {
}
.page-header h2 a {
color: #ddd;
color: #333;
text-decoration: none;
}
.page-header h2 a:focus,
.page-header h2 a:hover {
color: #333;
color: #aaa;
}
.page-header ul {