Mercurial > pub > site.implab
comparison view/layout/default/index.tt @ 12:d9551c7e7101
improved dox library
author | sergey |
---|---|
date | Fri, 16 May 2014 16:47:50 +0400 |
parents | 573272ec604b |
children | d997ff96acf1 |
comparison
equal
deleted
inserted
replaced
11:573272ec604b | 12:d9551c7e7101 |
---|---|
8 <div class="page"> | 8 <div class="page"> |
9 $content | 9 $content |
10 </div> | 10 </div> |
11 </div> | 11 </div> |
12 <div id="top-menu"> | 12 <div id="top-menu"> |
13 <ul class="menu-bar float-right"> | 13 [% |
14 [% IF user.isNobody %] | 14 IF user.isNobody; |
15 <li><a href="$app.location.user.login?ref=$location">Login</a></li> | 15 usermenu = [ |
16 [% ELSE %] | 16 { title = 'Login', href= app.location.user.login(ref = location) } |
17 <!-- no space | 17 ]; |
18 --><li class="menu-item">$user.name</li><!-- no space | 18 ELSE; |
19 --><li class=""><a href="$app.location.user">Settings</a><!-- | 19 usermenu = [ |
20 --><li class=""><a href="$app.location.user.logout">Logout</a></li> | 20 { title = user.name }, |
21 [% END %] | 21 { title = 'Settings', href = app.location.user }, |
22 </ul> | 22 { title = 'Logout', href = app.location.user.logout } |
23 ]; | |
24 END; | |
25 render('menu', items = usermenu, class = 'menu-bar float-right', id = 'user-menu'); | |
26 %] | |
23 </div> | 27 </div> |