Skip to content
Snippets Groups Projects
staff.vtl 945 B
Newer Older
Brad's avatar
Brad committed
#set($dotTheme = $contents.getEmptyMap())
#set($blah1 = $dotTheme.put("path", "/application/includes/"))
#dotParse("${dotTheme.path}header.vtl")
#set($url = $URLMapContent)

<h2>$url.firstName $url.lastName</h2>
#if($url.image.name.length() > 0)
	<div>
	   <img src="$url.image.getResizeUri(300, auto)" alt="$url.firstName $URL!MapContent.lastName">
	</div>
#end
<ul class="staff-info">
#if($url.degree.length() > 0)<li>Degree: $url.degree</li>#end
#if($url.poisition.length() > 0)<li>Position: $url.poisition</li>#end
#if($url.department.length() > 0)<li>Department: $url.department</li>#end
#if($url.address.length() > 0)<li>$url.address</li>#end
#if($url.phone.length() > 0)<li>$url.phone</li>#end
#if($url.email.length() > 0)<li><a href="mailto${url.email}">$url.email</a></li>#end
#if($url.website.length() > 0)<li><a href="${url.website}">$url.website</a></li>#end
</ul>
<p>$url.description</p>
    
#dotParse("${dotTheme.path}footer.vtl")