diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-07 22:44:03 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-07 22:44:03 -0400 |
commit | f8a1e454b547d3157b3bc91987966d3a19b0dd14 (patch) | |
tree | a89b076a7aba553dbfd31235d6e5135664b17382 /app/Template/project_user | |
parent | 8ddd56636154e5e55892fbb5ac9a5fe186b8df1f (diff) |
Improve project user page
Diffstat (limited to 'app/Template/project_user')
-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 |
3 files changed, 9 insertions, 7 deletions
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 ?> |