[#if !person??] [#-- if a person doesn't exist, it's either missing or it needs to be created if the id is 'new' --] [#if !create] [#-- can't display a non-existing user --]

Person

There is no such user.

[#elseif activeCount >= licensedCount] [#-- can't create new users if the license limit of active users has been reached --]

New Person

You have reached the limit of active users allowed by your license (${licensedCount}). Please contact us by email at support@fanuriotimetracking.com if you need to activate more users.

[#else]

× New Person

Name:
Role:
Username:
Email:
Password:
Confirm Password:
${status!" "}
[/#if] [#else] [#-- if a person exists, it can either be edited or viewed --] [#if request.resourceRef.query?? && request.resourceRef.query == 'edit']

× Person

Name:
Role:
Username: ${person.username}
Email:
Active:
${status!" "}
[#else]

Person

Name: ${person.name}
Role: ${person.role?capitalize}
Username: ${person.username}
Email: ${person.email}
Active: ${person.active?string("Yes", "No")}
${status!" "}
[/#if] [/#if]