Mercurial > pub > site.implab
annotate view/site/user/pagemenu.tt @ 14:d997ff96acf1
sync
author | sergey |
---|---|
date | Mon, 19 May 2014 18:34:16 +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 %] |