1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/app/widgets/Navigation/navigation.tpl

57 lines
2.3 KiB
Smarty
Raw Normal View History

<ul class="active">
2015-08-19 11:28:28 +02:00
<a class="classic on_mobile" href="#">
<li class="action" onclick="MovimTpl.toggleMenu()">
<span class="icon bubble on_mobile"><i class="zmdi zmdi-menu"></i></span>
<span>Movim</span>
</li>
2015-08-19 11:28:28 +02:00
</a>
<a class="classic on_desktop" href="{$c->route('root')}">
<li class="action {if="$page == 'main'"}active{/if}">
<span class="icon bubble"><i class="zmdi zmdi-cloud-outline"></i></span>
2015-08-19 11:28:28 +02:00
<span>{$c->__('page.home')}</span>
</li>
</a>
2015-08-19 11:28:28 +02:00
<a class="classic on_mobile" href="{$c->route('root')}">
<li class="action {if="$page == 'main'"}active{/if}">
<span class="icon bubble"><i class="zmdi zmdi-home"></i></span>
<span>{$c->__('page.home')}</span>
</li>
</a>
<a class="classic {if="!$c->supported('pubsub')"}disabled{/if}" href="{$c->route('news')}">
<li {if="$page == 'news'"}class="active"{/if}>
<span class="icon"><i class="zmdi zmdi-receipt"></i></span>
<span data-key="news" class="counter"></span>
<span>{$c->__('page.news')}</span>
</li>
</a>
<a class="classic" href="{$c->route('contact')}">
<li {if="$page == 'contact'"}class="active"{/if}>
<span class="icon"><i class="zmdi zmdi-accounts"></i></span>
2015-08-24 17:50:34 +02:00
<span data-key="invite" class="counter"></span>
<span>{$c->__('page.contacts')}</span>
</li>
</a>
<a class="classic {if="!$c->supported('pubsub')"}disabled{/if}" href="{$c->route('group')}">
<li {if="$page == 'group'"}class="active"{/if}>
<span class="icon"><i class="zmdi zmdi-pages"></i></span>
<span class="counter"></span>
<span>{$c->__('page.groups')}</span>
</li>
</a>
<a class="classic" href="{$c->route('chat')}">
<li {if="$page == 'chat'"}class="active"{/if}>
<span class="icon"><i class="zmdi zmdi-comments"></i></span>
<span data-key="chat" class="counter"></span>
<span>{$c->__('page.chats')}</span>
</li>
</a>
<!--
<a class="classic" href="{$c->route('media')}">
<li>
<span class="icon"><i class="zmdi zmdi-photo"></i></span>
<span class="counter"></span>
<span>{$c->__('page.media')}</span>
</li>
</a>-->
</ul>