mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
19 lines
No EOL
674 B
PHP
19 lines
No EOL
674 B
PHP
<section id="main">
|
|
<div class="page-header">
|
|
<h2><?= Helper\escape($user['name'] ?: $user['username']).' (#'.$user['id'].')' ?></h2>
|
|
<?php if (Helper\is_admin()): ?>
|
|
<ul>
|
|
<li><a href="?controller=user&action=index"><?= t('All users') ?></a></li>
|
|
<li><a href="?controller=user&action=create"><?= t('New user') ?></a></li>
|
|
</ul>
|
|
<?php endif ?>
|
|
</div>
|
|
<section class="user-show" id="user-section">
|
|
|
|
<?= Helper\template('user_sidebar', array('user' => $user)) ?>
|
|
|
|
<div class="user-show-main">
|
|
<?= $user_content_for_layout ?>
|
|
</div>
|
|
</section>
|
|
</section>
|