view view/site/user/pagemenu.tt @ 15:573a92d54f07

sync
author sergey
date Tue, 20 May 2014 01:27:30 +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 }
    ];
    
%]