view view/site/user/pagemenu.tt @ 12:d9551c7e7101

improved dox library
author sergey
date Fri, 16 May 2014 16:47:50 +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 }
    ];
    
%]