Add team informations in the me page
This commit is contained in:
parent
67b5422c28
commit
b406ae93e3
@ -2,4 +2,6 @@
|
||||
|
||||
if(!defined('ONYX')) exit;
|
||||
|
||||
$template->assign("members", $TEAM->get_members());
|
||||
|
||||
return "teams/me";
|
||||
|
@ -1,7 +1,33 @@
|
||||
{extends file="teams/layout.tpl"}
|
||||
|
||||
{block name=content}
|
||||
<h1>
|
||||
THIS IS ME
|
||||
</h1>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Information sur l'équipe</h3>
|
||||
</div>
|
||||
<div class="panle-body">
|
||||
{if not empty($members)}
|
||||
<table class="table">
|
||||
<thead><tr>
|
||||
<th>#</th>
|
||||
<th>Prénom</th>
|
||||
<th>Nom</th>
|
||||
<th>Pseudonyme</th>
|
||||
<th>Entreprise</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
{foreach from=$members item=member}
|
||||
</tr>
|
||||
<td>{$member->firstname}</td>
|
||||
<td>{$member->lastname}</td>
|
||||
<td>{$member->nickname}</td>
|
||||
<td>{$member->company}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/block}
|
||||
|
Loading…
Reference in New Issue
Block a user