Mercurial > pub > site.implab
annotate view/site/user/pagemenu.tt @ 16:e69c970c3ddd default tip
sync
author | sergey |
---|---|
date | Tue, 20 May 2014 01:28:48 +0400 |
parents | 573272ec604b |
children |
rev | line source |
---|---|
11 | 1 [% |
2 labels( | |
3 ViewProfile = 'View profile' | |
4 EditProfile = 'Update profile' | |
5 ChangePass = 'Change password' | |
6 ); | |
7 userLocation = resource.Seek('user').location; | |
8 document.menu.page = [ | |
9 { title = ViewProfile, href = userLocation }, | |
10 { title = EditProfile, href = userLocation.edit }, | |
11 { title = ChangePass, href = userLocation.passwd } | |
12 ]; | |
13 | |
14 %] |