diff options
Diffstat (limited to 'app/Template/project_overview/attachments.php')
-rw-r--r-- | app/Template/project_overview/attachments.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/Template/project_overview/attachments.php b/app/Template/project_overview/attachments.php index eb0c5be7..eaabfd5f 100644 --- a/app/Template/project_overview/attachments.php +++ b/app/Template/project_overview/attachments.php @@ -4,10 +4,9 @@ </div> <div class="accordion-content"> <?php if ($this->user->hasProjectAccess('ProjectFile', 'create', $project['id'])): ?> - <p style="margin-bottom: 15px;"> - <i class="fa fa-plus fa-fw"></i> - <?= $this->url->link(t('Upload a file'), 'ProjectFile', 'create', array('project_id' => $project['id']), false, 'popover') ?> - </p> + <div class="buttons-header"> + <?= $this->url->button('fa-plus', t('Upload a file'), 'ProjectFile', 'create', array('project_id' => $project['id']), 'popover') ?> + </div> <?php endif ?> <?= $this->render('project_overview/images', array('project' => $project, 'images' => $images)) ?> |