Message Template Definition
Template Name: Template Plan Printout
Revisions
Available | New Message Variables |
---|---|
2.7 | Note: The following message template variables can be added to the Message Template definitions New: ${plan.catalogYearCode} New: ${printParams.programName} New: ${lastModifiedBy.fullName} New: ${lastModifiedBy.primaryEmailAddress} New: ${lastModifiedBy.workPhone} New: ${course.ElectiveCode} New: ${course.ElectiveName} |
Template Subject Example
Template Plan |
---|
Template Body Example (Download)
Error rendering macro 'viewpdf' : Failed to find attachment with Name MAPTemplate.pdf |
---|
Template Subject Code
Template Plan |
---|
Template Body Code
<html><body> <div> <p text-align="center" style="padding-left:10%"> <table style="width:80%" ><tbody> <tr> <td style="text-align:left;width:30%" ></td> <td style="text-align:center;width:30%;font-size:large" ><b>$!title</b></td> <td style="text-align:right;width:30%;font-size:small" >Last Modified: $!lastModified</td> </tr> <tr> <td style="text-align:left;font-size:small" >#if($!printParams.divisionName)Division: $!printParams.divisionName#end</td> <td style="text-align:center;font-size:small" >#if($!printParams.departmentName)Department: $!printParams.departmentName#end</td> <td style="text-align:right;font-size:small" >#if($!printParams.programName)Program: $!printParams.programName#end</td> </tr> </tbody></table> <b> </p> </div> <div style="position:relative;left:100px"> #foreach($termCourse in $termCourses) <table cellpadding="0" cellspacing="0" style="background-color:white;width:80%;border-collapse:collapse;"> <caption style="font-size:small;text-align:left">$termCourse.term.name #if($!termCourse.studentNotes) - $!termCourse.studentNotes#end</caption> <thead> <tr > <th style="text-align:center;border:1px solid black;width:15%"> Course<br/>Number </th> <th style="text-align:center;border:1px solid black;width:50%"> Course Title </th> <th style="text-align:center;border:1px solid black;width:15%"> Credit <br/> Hours </th> <th style="text-align:center;border:1px solid black;width:25%"> Notes <b>(Student)</b> <br/> </th> </tr> </thead> #foreach($course in $!termCourse.courses) <tr> <td style="text-align:center;border:1px solid black;width:15%;padding-bottom:5px; padding-top:5px;padding-left:5px"> $!course.formattedCourse </td> <td style="text-align:left;border:1px solid black;width:50%;padding-bottom:5px; padding-top:5px;padding-left:5px"> $!course.courseTitle </td> <td style="text-align:center;border:1px solid black;width:15%;padding-bottom:5px; padding-top:5px;padding-left:5px"> $!course.creditHours </td> <td style="text-align:center;border:1px solid black;width:25%;padding-bottom:5px; padding-top:5px;padding-left:5px"> $!course.studentNotes </td> </tr> <tr> #end <tr> <td colspan="3" style="height:35px; padding-bottom:5px; padding-left:80px;vertical-align:bottom"> <b>Total Credit Hours:</b> $!termCourse.totalCreditHours </td> </tr> <tr> <td colspan="3" style="height:15px"> <br/> </td> </tr> </table> #end <table style="width:80%"> <tbody> #if($!planStudentNotes) <tr> <td style="text-align:left"> Notes: </td> </tr> <tr> <td style="text-align:left;padding-left10px;"> $!planStudentNotes </td> </tr> #end <tr> <td style="text-align:center"> <b>Total Template Hours: $!totalPlanHours</b> </td> </tr> </tbody> </table> </div> <div> <div> #if(($!contactName != "" && $!contactName.trim() != "") || ($!contactTitle != "" && $!contactTitle.trim() != "") || ($!contactPhone != "" && $!contactPhone.trim() != "") || ($!contactEmail != "" && $!contactEmail.trim() != "") ) <p style="padding-left:20px"> <b>If I have questions or concerns about my plan I will contact: </p> <p style="padding-left:20px"> #if($!contactName != "")$!contactName</br>#end #if($!contactTitle != "")$!contactTitle</br>#end #if($!contactPhone != "")$!contactPhone</br>#end #if($!contactEmail != "")$!contactEmail#end </p>` #end <p style="padding-left:20px"> #if($!ownerFullName != "")$!ownerFullName</br>#end #if($!ownerPhone != "")$!ownerPhone</br>#end #if($!ownerEmail != "")$!ownerEmail#end </p> </div> </div> </body></html> |
---|