Split project edition into multiple pages

This commit is contained in:
Frederic Guillot
2016-01-24 18:15:21 -05:00
parent 4fa38bf417
commit abcfd02067
18 changed files with 244 additions and 127 deletions

View File

@@ -19,7 +19,7 @@
<i class="fa fa-calendar fa-fw"></i>
<?= $this->url->link(t('Back to the calendar'), 'calendar', 'show', array('project_id' => $project['id'])) ?>
</li>
<?php if ($this->user->hasProjectAccess('project', 'edit', $project['id'])): ?>
<?php if ($this->user->hasProjectAccess('ProjectEdit', 'edit', $project['id'])): ?>
<li>
<i class="fa fa-cog fa-fw"></i>
<?= $this->url->link(t('Project settings'), 'project', 'show', array('project_id' => $project['id'])) ?>