view view/site/user/pagemenu.tt @ 14:d997ff96acf1

sync
author sergey
date Mon, 19 May 2014 18:34:16 +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 }
    ];
    
%]