view view/site/user/pagemenu.tt @ 13:a9ce584a7f3b

test for mercurial repositories
author sergey
date Mon, 19 May 2014 04:34:28 +0400
parents 573272ec604b
children
line wrap: on
line source

[%
	labels(
		ViewProfile = 'View profile'
		EditProfile = 'Update profile'
		ChangePass  = 'Change password' 
	);
	userLocation = resource.Seek('user').location;
    document.menu.page = [
        { title = ViewProfile, href = userLocation },
        { title = EditProfile, href = userLocation.edit },
        { title = ChangePass, href = userLocation.passwd }
    ];
    
%]