diff options
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/activity/project.php | 10 | ||||
-rw-r--r-- | app/Template/project/dropdown.php | 2 | ||||
-rw-r--r-- | app/Template/project_header/dropdown.php | 2 |
3 files changed, 6 insertions, 8 deletions
diff --git a/app/Template/activity/project.php b/app/Template/activity/project.php index 6d1e4a2e..ce1f8bba 100644 --- a/app/Template/activity/project.php +++ b/app/Template/activity/project.php @@ -1,14 +1,12 @@ -<section id="main"> - <?= $this->projectHeader->render($project, 'ActivityController', $this->app->getRouterAction()) ?> +<div class="page-header"> + <h2><?= t('%s\'s activity', $project['name']) ?></h2> <?php if ($project['is_public']): ?> - <div class="menu-inline"> <ul> <li><?= $this->url->icon('rss-square', t('RSS feed'), 'FeedController', 'project', array('token' => $project['token']), false, '', '', true) ?></li> <li><?= $this->url->icon('calendar', t('iCal feed'), 'ICalendarController', 'project', array('token' => $project['token'])) ?></li> </ul> - </div> <?php endif ?> +</div> - <?= $this->render('event/events', array('events' => $events)) ?> -</section> +<?= $this->render('event/events', array('events' => $events)) ?> diff --git a/app/Template/project/dropdown.php b/app/Template/project/dropdown.php index eaaa3546..4ae9318c 100644 --- a/app/Template/project/dropdown.php +++ b/app/Template/project/dropdown.php @@ -17,7 +17,7 @@ <?php endif ?> <li> - <?= $this->url->icon('dashboard', t('Activity'), 'ActivityController', 'project', array('project_id' => $project['id'])) ?> + <?= $this->modal->medium('dashboard', t('Activity'), 'ActivityController', 'project', array('project_id' => $project['id'])) ?> </li> <?php if ($this->user->hasProjectAccess('AnalyticController', 'taskDistribution', $project['id'])): ?> diff --git a/app/Template/project_header/dropdown.php b/app/Template/project_header/dropdown.php index 3f11838d..27a13ac9 100644 --- a/app/Template/project_header/dropdown.php +++ b/app/Template/project_header/dropdown.php @@ -27,7 +27,7 @@ <?php endif ?> <li> - <?= $this->url->icon('dashboard', t('Activity'), 'ActivityController', 'project', array('project_id' => $project['id'])) ?> + <?= $this->modal->medium('dashboard', t('Activity'), 'ActivityController', 'project', array('project_id' => $project['id'])) ?> </li> <?php if ($this->user->hasProjectAccess('CustomFilterController', 'index', $project['id'])): ?> |