Jelenlet alapfunkcio OK. Edzes torles OK.
This commit is contained in:
18
template/templates/presence_list.tpl
Normal file
18
template/templates/presence_list.tpl
Normal file
@@ -0,0 +1,18 @@
|
||||
<h1>Jelenlét</h1>
|
||||
|
||||
<table>
|
||||
|
||||
|
||||
|
||||
{foreach $training_array as $training}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/admin/{if $edit=='edit'}edit_training{elseif $edit=='view'}trainings{else}presence{/if}/{$training->get_tr_id()}">
|
||||
{$training->get_tr_date()|substr:0:-3} ({$training->get_tr_type_name_by_id()})
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
Reference in New Issue
Block a user