Visit Approval Approver Notification

Description

This email is set to visit approvers to notify them of a new visit that has been registered that needs approval. This email will list the host that scheduled the visit as well as the visitors that the visit was scheduled for and a justification for the visit. If any visitors match watchlist subjects the visit a indication will be included in the email.

Email

Template

Single Visitor

<p>
    A visit has been registered by <b>@Model.HostFullName</b> for <b>@Model.VisitorFullName</b> which requires your approval. Please click <a href="@Model.Url">here</a> to review the pending visit, or copy and paste the following URL into your favorite browser:
    <br/>
    @Model.Url
</p>
@if(!string.IsNullOrEmpty(@Model.VisitJustification)) {
    <p>
        <b>@string.Format("{0} {1}", "Visit Justification:", @Model.VisitJustification)</b>
    </p>
}

@if(@Model.WatchlistWarning) {
    <p>The visitor might be on the watch list</p>
}

Group Visit

<p>
	A visit has been registered by <b>@Model.HostFullName</b> for 
    
	<ul>
	@foreach(var visitorFullName in @Model.VisitorsFullNames) {
        <b>@string.Format("<li>{0}</li>", visitorFullName)</b>
    }
	</ul>    
     which requires your approval. Please click <a href="@Model.Url">here</a> to review the pending visit, or copy and paste the following URL into your favorite browser:
    <br/>
    @Model.Url
    <br/>
	@if(!string.IsNullOrEmpty(@Model.VisitJustification)) {
        <b>@string.Format("{0} {1}", "Visit Justification:", @Model.VisitJustification)</b>
    }
</p>
@if(Model.WatchlistWarning) {
    <p>@string.Format("{0}", "One or more visitors might be on the watch list")</p>
}

Razor Elements

Element Description
@Model.HostFullName The first and last name of the host
@Model.MissingApproverDetails The first and last name of the visitor
approverDetail The justification for the visit
@Model.Url The URL to the visit

{% notice warning %} It is strongly recommended that these elements be used as is with the only edits being to remove them if the information generated is not desired. {% /notice %}