diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/project/index.php | 2 | ||||
-rw-r--r-- | app/Template/project_user/layout.php | 2 | ||||
-rw-r--r-- | app/Template/project_user/sidebar.php | 2 | ||||
-rw-r--r-- | app/Template/project_user/tooltip_users.php | 12 |
4 files changed, 10 insertions, 8 deletions
diff --git a/app/Template/project/index.php b/app/Template/project/index.php index 0194672a..e10467eb 100644 --- a/app/Template/project/index.php +++ b/app/Template/project/index.php @@ -70,7 +70,7 @@ <?php if ($this->user->hasAccess('projectuser', 'managers')): ?> <td> <i class="fa fa-users fa-fw"></i> - <a href="#" class="tooltip" title="<?= t('Members') ?>" data-href="<?= $this->url->href('Projectuser', 'users', array('project_id' => $project['id'])) ?>"><?= t('Members') ?></a> + <span class="tooltip" title="<?= t('Members') ?>" data-href="<?= $this->url->href('Projectuser', 'users', array('project_id' => $project['id'])) ?>"><?= t('Members') ?></span> </td> <?php endif ?> <td class="dashboard-project-stats"> diff --git a/app/Template/project_user/layout.php b/app/Template/project_user/layout.php index 1103e9bc..7a7c1a50 100644 --- a/app/Template/project_user/layout.php +++ b/app/Template/project_user/layout.php @@ -24,4 +24,4 @@ <?= $content_for_sublayout ?> </div> </section> -</section>
\ No newline at end of file +</section> diff --git a/app/Template/project_user/sidebar.php b/app/Template/project_user/sidebar.php index ff113ebb..f1cffcad 100644 --- a/app/Template/project_user/sidebar.php +++ b/app/Template/project_user/sidebar.php @@ -27,4 +27,4 @@ <?= $this->hook->render('template:project-user:sidebar') ?> </ul> -</div>
\ No newline at end of file +</div> diff --git a/app/Template/project_user/tooltip_users.php b/app/Template/project_user/tooltip_users.php index f75d964b..81300eaa 100644 --- a/app/Template/project_user/tooltip_users.php +++ b/app/Template/project_user/tooltip_users.php @@ -1,14 +1,16 @@ <?php if (empty($users)): ?> <p><?= t('There is no project member.') ?></p> <?php else: ?> + <table> <?php foreach ($roles as $role => $role_name): ?> <?php if (isset($users[$role])): ?> - <strong><?= $role_name ?></strong> - <ul> + <tr><th><?= $role_name ?></th></tr> <?php foreach ($users[$role] as $user_id => $user): ?> - <li><?= $this->url->link($this->text->e($user), 'Projectuser', 'opens', array('user_id' => $user_id)) ?></li> + <tr><td> + <?= $this->url->link($this->text->e($user), 'Projectuser', 'opens', array('user_id' => $user_id)) ?> + </td></tr> <?php endforeach ?> - </ul> <?php endif ?> <?php endforeach ?> -<?php endif ?>
\ No newline at end of file + </table> +<?php endif ?> |