From b630bd06d29782b1e4b7d5694bcf679492dc915f Mon Sep 17 00:00:00 2001
From: Philip Steffen
Date: Sun, 10 Apr 2016 18:30:15 +0200
Subject: Template: project/sidebar: set active-class in "Edit project" also in
the other actions
---
app/Template/project/sidebar.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'app/Template/project/sidebar.php')
diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php
index 304b4aee..f0be3448 100644
--- a/app/Template/project/sidebar.php
+++ b/app/Template/project/sidebar.php
@@ -11,7 +11,7 @@
user->hasProjectAccess('ProjectEdit', 'edit', $project['id'])): ?>
- app->checkMenuSelection('ProjectEdit', 'edit') ?>>
+ app->checkMenuSelection('ProjectEdit', 'edit') ?>= $this->app->checkMenuSelection('ProjectEdit', 'dates') ?>= $this->app->checkMenuSelection('ProjectEdit', 'description') ?>= $this->app->checkMenuSelection('ProjectEdit', 'priority') ?>>
= $this->url->link(t('Edit project'), 'ProjectEdit', 'edit', array('project_id' => $project['id'])) ?>
app->checkMenuSelection('project', 'share') ?>>
--
cgit v1.2.3
From bcee0ef48eff31f8428317ad0ed64c15f9efafdc Mon Sep 17 00:00:00 2001
From: Frederic Guillot
Date: Mon, 18 Apr 2016 22:08:27 -0400
Subject: Simplify PR #2108
---
app/Template/project/sidebar.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'app/Template/project/sidebar.php')
diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php
index f0be3448..7fb7718d 100644
--- a/app/Template/project/sidebar.php
+++ b/app/Template/project/sidebar.php
@@ -11,7 +11,7 @@
user->hasProjectAccess('ProjectEdit', 'edit', $project['id'])): ?>
- app->checkMenuSelection('ProjectEdit', 'edit') ?>= $this->app->checkMenuSelection('ProjectEdit', 'dates') ?>= $this->app->checkMenuSelection('ProjectEdit', 'description') ?>= $this->app->checkMenuSelection('ProjectEdit', 'priority') ?>>
+ app->checkMenuSelection('ProjectEdit') ?>>
= $this->url->link(t('Edit project'), 'ProjectEdit', 'edit', array('project_id' => $project['id'])) ?>
app->checkMenuSelection('project', 'share') ?>>
--
cgit v1.2.3