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/project/sidebar.php | 78 ++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 38 deletions(-) (limited to 'app/Template/project') 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'])) ?> +
  • + + + -- cgit v1.2.3