2014-12-22 19:15:38 +01:00
|
|
|
<div class="sidebar">
|
|
|
|
<h2><?= t('Actions') ?></h2>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('Summary'), 'project', 'show', array('project_id' => $project['id'])) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
</li>
|
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?php if ($this->isManager($project['id'])): ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
<li>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('Public access'), 'project', 'share', array('project_id' => $project['id'])) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('Integrations'), 'project', 'integration', array('project_id' => $project['id'])) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('Edit project'), 'project', 'edit', array('project_id' => $project['id'])) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('Edit board'), 'board', 'edit', array('project_id' => $project['id'])) ?>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<?= $this->a(t('Category management'), 'category', 'index', array('project_id' => $project['id'])) ?>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<?= $this->a(t('Swimlanes'), 'swimlane', 'index', array('project_id' => $project['id'])) ?>
|
|
|
|
</li>
|
|
|
|
<?php if ($this->userSession->isAdmin() || $project['is_private'] == 0): ?>
|
|
|
|
<li>
|
|
|
|
<?= $this->a(t('User management'), 'project', 'users', array('project_id' => $project['id'])) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
|
|
|
<li>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('Automatic actions'), 'action', 'index', array('project_id' => $project['id'])) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2015-04-21 17:56:16 +02:00
|
|
|
<?= $this->a(t('Duplicate'), 'project', 'duplicate', array('project_id' => $project['id'])) ?>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<?= $this->a(t('Budget'), 'budget', 'index', array('project_id' => $project['id'])) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<?php if ($project['is_active']): ?>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('Disable'), 'project', 'disable', array('project_id' => $project['id']), true) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
<?php else: ?>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('Enable'), 'project', 'enable', array('project_id' => $project['id']), true) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
<?php endif ?>
|
|
|
|
</li>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?php if ($this->userSession->isAdmin()): ?>
|
|
|
|
<li>
|
|
|
|
<?= $this->a(t('Remove'), 'project', 'remove', array('project_id' => $project['id'])) ?>
|
|
|
|
</li>
|
|
|
|
<?php endif ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
<?php endif ?>
|
|
|
|
</ul>
|
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?php if ($this->acl->isManagerActionAllowed($project['id'])): ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
<h2><?= t('Exports') ?></h2>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('Tasks'), 'export', 'tasks', array('project_id' => $project['id'])) ?>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<?= $this->a(t('Subtasks'), 'export', 'subtasks', array('project_id' => $project['id'])) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
</li>
|
2015-04-21 17:56:16 +02:00
|
|
|
<li>
|
|
|
|
<?= $this->a(t('Task transitions'), 'export', 'transitions', array('project_id' => $project['id'])) ?>
|
|
|
|
</li>
|
2014-12-22 19:15:38 +01:00
|
|
|
<li>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('Daily project summary'), 'export', 'summary', array('project_id' => $project['id'])) ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
</li>
|
2015-01-16 14:23:05 +01:00
|
|
|
</ul>
|
2014-12-22 19:15:38 +01:00
|
|
|
<?php endif ?>
|
2015-01-16 14:23:05 +01:00
|
|
|
</div>
|