view view/site/user/pagemenu.tt @ 16:e69c970c3ddd default tip

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