{if $actionInfo != ""}
  <div class="note">
    {$actionInfo}
  </div>
{/if}
<table>
<tr>
<td>
<h2>{$user.namePrefix} {$user.surname} {$user.name} {$user.nameSuffix}</h2>
<table border="0">
  <tr>  
    <td width="60"><b>ITIC:</b></td><td>{$user.ISIC}</td>
  </tr>
  <tr>
    <td><b>login:</b></td><td>{$user.login}</td>
  </tr>
</table>
<br />
<a href="index.php?site=teacher&amp;action=edit&amp;id={$user.id}">[editovať]</a> |
<a href="index.php?site=teacher&amp;action=change_p&amp;id={$user.id}">[zmeniť heslo]</a> |
<a href="index.php?site=teacher&amp;action=delete&amp;id={$user.id}">[vymazať]</a><br />
<br />
<b>Zoznam predmetov učiteľa:</b><br />
{if $userCourseCount > 0}
  {foreach from=$courses item=course}
    {if $course.signed}
      <br /><a href="index.php?site=course&amp;action=info&amp;id={$course.id}">{$course.name}</a></li>
    {/if}
  {/foreach}
{else}
<br/>
Učiteľ nemá priradený žiaden predmet.<br />
<br />
{/if}
</td>
</tr>
</table>
