In this page

Notification emails

Visually indicating missing users (left employees)

In large teams, it might come in handy to see if users in the notification emails are not available anymore. For example, the following notification email code snippet displays a red "employee left" marker if the author the page is not a valid Confluence user anymore:

## this is the main iteration over the pages
#foreach($page in $pagesInSpace)
	<div class="page-item">
		## ...
		(author =
			#if(!$userAccessor.getUserByName($page.creatorName).fullName)
				<span style="color:red">EMPLOYEE LEFT</span>
			#else
				$page.creatorName
			#end
		)
	</div>
#end

Questions?

Ask us any time.