X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flogin.tpl;h=a104701ad10b8cc879394180049860c34310fac5;hb=7743e0e58199e7d59177ab8a6bac8a6310456c86;hp=d68ad8ef661ce7275b1fbafe4e2c31d9519c1afc;hpb=7b2413f614dc4deafd18501ba3cbe8db398c05e3;p=platal.git diff --git a/templates/login.tpl b/templates/login.tpl index d68ad8e..a104701 100644 --- a/templates/login.tpl +++ b/templates/login.tpl @@ -83,7 +83,12 @@ Bienvenue {$smarty.session.prenom}
- Cacher +
+ {if $smarty.session.perms eq 'admin'} + {icon name=page_edit title="Editer cet article"} + {/if} + {icon name=cross title="Cacher cet article"} +
{assign var="previd" value=$ev.id} {tidy} @@ -97,7 +102,7 @@ Bienvenue {$smarty.session.prenom} {$ev.texte|smarty:nodefaults|nl2br} {/tidy}
-

SommaireAnnonce proposée par +

SommaireAnnonce proposée par {$ev.prenom} {$ev.nom} X{$ev.promo} @@ -112,6 +117,15 @@ Bienvenue {$smarty.session.prenom} @@ -119,7 +133,7 @@ Bienvenue {$smarty.session.prenom} + {assign var="has_evts" value=true} {/iterate} + {if !$has_evts} + + + + {/if}
+ {if $smarty.session.core_rss_hash} + + {icon name=feed title='fil rss'} + + {else} + + {icon name=feed_add title='Activer mon fil rss'} + + {/if} Sommaire des informations événementielles
• - + {if $ev.nonlu}{/if} {tidy} {$ev.titre|nl2br} @@ -128,7 +142,13 @@ Bienvenue {$smarty.session.prenom}
Aucun article actuellement

@@ -143,15 +163,6 @@ Bienvenue {$smarty.session.prenom}

Proposer une information événementielle

- {if $smarty.session.core_rss_hash} -
- fil rss -
- {else} -
- fil rss -
- {/if} {/if} {* vim:set et sw=2 sts=2 sws=2: *}