From 1bce73724337950bb63cdcbbdd7161fda06e4f57 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Jul 2015 18:21:48 -0400 Subject: Add icon to hide/show sidebar --- app/Template/analytic/sidebar.php | 2 + app/Template/app/sidebar.php | 2 + app/Template/budget/sidebar.php | 2 + app/Template/config/sidebar.php | 2 + app/Template/export/sidebar.php | 2 + app/Template/project/sidebar.php | 78 ++++++++++++++++++++------------------- app/Template/task/sidebar.php | 2 + app/Template/user/sidebar.php | 2 + 8 files changed, 54 insertions(+), 38 deletions(-) (limited to 'app') diff --git a/app/Template/analytic/sidebar.php b/app/Template/analytic/sidebar.php index de03bdf8..59cc1fa6 100644 --- a/app/Template/analytic/sidebar.php +++ b/app/Template/analytic/sidebar.php @@ -20,4 +20,6 @@ url->link(t('Lead and cycle time'), 'analytic', 'leadAndCycleTime', array('project_id' => $project['id'])) ?> + + \ No newline at end of file diff --git a/app/Template/app/sidebar.php b/app/Template/app/sidebar.php index 40bf6401..4cace15a 100644 --- a/app/Template/app/sidebar.php +++ b/app/Template/app/sidebar.php @@ -20,4 +20,6 @@ url->link(t('My activity stream'), 'app', 'activity', array('user_id' => $user['id'])) ?> + + \ No newline at end of file diff --git a/app/Template/budget/sidebar.php b/app/Template/budget/sidebar.php index 7740cf00..0fdb8612 100644 --- a/app/Template/budget/sidebar.php +++ b/app/Template/budget/sidebar.php @@ -11,4 +11,6 @@ url->link(t('Cost breakdown'), 'budget', 'breakdown', array('project_id' => $project['id'])) ?> + + \ No newline at end of file diff --git a/app/Template/config/sidebar.php b/app/Template/config/sidebar.php index 7f946dee..05ec4094 100644 --- a/app/Template/config/sidebar.php +++ b/app/Template/config/sidebar.php @@ -32,4 +32,6 @@ url->link(t('API'), 'config', 'api') ?> + + \ No newline at end of file diff --git a/app/Template/export/sidebar.php b/app/Template/export/sidebar.php index f93dcafb..f3bcf44d 100644 --- a/app/Template/export/sidebar.php +++ b/app/Template/export/sidebar.php @@ -14,4 +14,6 @@ url->link(t('Daily project summary'), 'export', 'summary', array('project_id' => $project['id'])) ?> + + \ No newline at end of file diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php index 3762f1ff..7ee39f53 100644 --- a/app/Template/project/sidebar.php +++ b/app/Template/project/sidebar.php @@ -6,47 +6,49 @@ user->isManager($project['id'])): ?> -
  • - url->link(t('Public access'), 'project', 'share', array('project_id' => $project['id'])) ?> -
  • -
  • - url->link(t('Integrations'), 'project', 'integration', array('project_id' => $project['id'])) ?> -
  • -
  • - url->link(t('Edit project'), 'project', 'edit', array('project_id' => $project['id'])) ?> -
  • -
  • - url->link(t('Columns'), 'column', 'index', array('project_id' => $project['id'])) ?> -
  • -
  • - url->link(t('Swimlanes'), 'swimlane', 'index', array('project_id' => $project['id'])) ?> -
  • -
  • - url->link(t('Categories'), 'category', 'index', array('project_id' => $project['id'])) ?> -
  • - user->isAdmin() || $project['is_private'] == 0): ?> -
  • - url->link(t('Users'), 'project', 'users', array('project_id' => $project['id'])) ?> -
  • - -
  • - url->link(t('Automatic actions'), 'action', 'index', array('project_id' => $project['id'])) ?> -
  • -
  • - url->link(t('Duplicate'), 'project', 'duplicate', array('project_id' => $project['id'])) ?> -
  • -
  • - - url->link(t('Disable'), 'project', 'disable', array('project_id' => $project['id']), true) ?> - - url->link(t('Enable'), 'project', 'enable', array('project_id' => $project['id']), true) ?> +
  • + url->link(t('Public access'), 'project', 'share', array('project_id' => $project['id'])) ?> +
  • +
  • + url->link(t('Integrations'), 'project', 'integration', array('project_id' => $project['id'])) ?> +
  • +
  • + url->link(t('Edit project'), 'project', 'edit', array('project_id' => $project['id'])) ?> +
  • +
  • + url->link(t('Columns'), 'column', 'index', array('project_id' => $project['id'])) ?> +
  • +
  • + url->link(t('Swimlanes'), 'swimlane', 'index', array('project_id' => $project['id'])) ?> +
  • +
  • + url->link(t('Categories'), 'category', 'index', array('project_id' => $project['id'])) ?> +
  • + user->isAdmin() || $project['is_private'] == 0): ?> +
  • + url->link(t('Users'), 'project', 'users', array('project_id' => $project['id'])) ?> +
  • - - user->isAdmin()): ?>
  • - url->link(t('Remove'), 'project', 'remove', array('project_id' => $project['id'])) ?> + url->link(t('Automatic actions'), 'action', 'index', array('project_id' => $project['id'])) ?>
  • - +
  • + url->link(t('Duplicate'), 'project', 'duplicate', array('project_id' => $project['id'])) ?> +
  • +
  • + + url->link(t('Disable'), 'project', 'disable', array('project_id' => $project['id']), true) ?> + + url->link(t('Enable'), 'project', 'enable', array('project_id' => $project['id']), true) ?> + +
  • + user->isAdmin()): ?> +
  • + url->link(t('Remove'), 'project', 'remove', array('project_id' => $project['id'])) ?> +
  • + + + diff --git a/app/Template/task/sidebar.php b/app/Template/task/sidebar.php index 8b0f3c6e..e6a5517a 100644 --- a/app/Template/task/sidebar.php +++ b/app/Template/task/sidebar.php @@ -67,4 +67,6 @@ + + diff --git a/app/Template/user/sidebar.php b/app/Template/user/sidebar.php index 3e79fda3..213b3209 100644 --- a/app/Template/user/sidebar.php +++ b/app/Template/user/sidebar.php @@ -74,4 +74,6 @@ + + \ No newline at end of file -- cgit v1.2.3