X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fprofile.tpl;h=20acccd3aaca2e61db1b89808fc9d58f72aa9670;hb=7937d89ecfc74726af9ae64d9211d53e6bbcc4e5;hp=dba31fd17485ed549f3acd17d05f1dbeb1b4a334;hpb=ba6ae0466e1dbc75852f4b8e8bfa8c815e81504a;p=platal.git
diff --git a/templates/profile/profile.tpl b/templates/profile/profile.tpl
index dba31fd..20acccd 100644
--- a/templates/profile/profile.tpl
+++ b/templates/profile/profile.tpl
@@ -1,6 +1,6 @@
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2013 Polytechnique.org *}
+{* Copyright (C) 2003-2014 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@ -65,7 +65,7 @@ $($.closeOnEsc);
{foreach from=$groups item=group name=groups}
{if !$smarty.foreach.groups.first}, {/if}
- {$group.nom}
+ {$group.nom}
{/foreach}
{/if}
{/if}
@@ -86,6 +86,14 @@ $($.closeOnEsc);
{/foreach}
{/if}
+ {assign var=hobbies value=$profile->getHobbies()}
+ {if count($hobbies) > 0}
+