Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Message Template Definition

Template Name: Map Plan Printout

Revisions

AvailableNew 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: ${coach.fullName}
  • New: ${coach.primaryEmailAddress}
  • New: ${coach.workPhone}
  • New: ${lastModifiedBy.fullName}
  • New: ${lastModifiedBy.primaryEmailAddress}
  • New: ${lastModifiedBy.workPhone}
  • New: ${course.ElectiveCode}
  • New: ${course.ElectiveName}

 

Template Subject Example

Here is your MAP Plan

...

Here is your MAP Plan

 

Template Body Code

<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><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style>
@media print
{
  table { page-break-after:auto }
  tr    { page-break-inside:avoid; page-break-after:auto; page-break-before:auto }
  td    { page-break-inside:avoid; page-break-after:auto; page-break-before:auto }
  thead { display:table-header-group }
  tfoot { display:table-footer-group }
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>$title</title>
</head>

<body style="font-family: Tahoma; font-size: 12px;">
#if("$!emailNotes" != "")
<div>
<p>$!studentFullName,</p>
<p>
$!emailNotes
</p>
</div>
#end
<div>
<p style="padding-left:20px">
$!studentFullName</br>
$!studentEmail</br>
School Id: $!studentSchoolId
</p>
</div>
<div>
<p style="text-align:center">
$title
</p>
</div>
<div style="position:relative;left:100px">
    #foreach    #foreach($termCourse in $termCourses)
        <table         <table cellpadding="0" cellspacing="0" style="background-color:white;width:80%;border-collapse:collapse;">
            <caption              <caption  style="font-size:small;text-align:left">$termCourse.term.name #if($!termCourse.studentNotes) - $!termCourse.studentNotes#end<name</caption>
            <thead>
                <tr >
                    <th             <thead>
                <tr >
                    <th style="text-align:center;border:1px solid black;width:15%325">
                        Course<br                        Course<br/>Number
                    <                    </th>
                    <th                     <th style="text-align:center;border:1px solid black;width:50%60%">
                        Course Title
                    </th>
                    <th                         Course Title
                    </th>
                    <th style="text-align:center;border:1px solid black;width:15%">
                        Credit                         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                     </th>
                </tr>
            </thead>
            #foreach($course in $termCourse.courses)
            <tr>
                <td style="text-align:center;border:1px solid black;width:15%25%;padding-bottom:5px; padding-top:5px;padding-left:5px">
                    $                    $!course.formattedCourse
                <                </td>
                <td                 <td style="text-align:left;border:1px solid black;width:50%60%;padding-bottom:5px; padding-top:5px;padding-left:5px">
                    $
                    
                    $!course.courseTitle
                <                </td>
                <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                 </td>
            </tr>
            <tr>
            #end
            <tr>
            <td colspan="3" style="height:35px; padding-bottom:5px; padding-left:80px;vertical-align:bottom">
                 <b>Total                 <b>Total Credit Hours:</b>  $!termCourse.totalCreditHours
            <            </td>
            <            </tr>
            <tr>
            <td             <tr>
            <td colspan="3" style="height:15px">
            <br            <br/>
            <            </td>
            <            </tr>
        <        </table>
    #end
    <table     #end
    <table style="width:80%">
        <tbody>
        #if($!planStudentNotes)
        <tr>
        <td         <tbody>
        <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        <b>CREDIT HOURS FOR PLAN: $!totalPlanHours</b>
        <        </td>
        <        </tr>
        <        </tbody>
    <    </table>
</div>
    <div>
    <div>
    <p     <div>
    <p style="padding-left:20px">
    <b>If     <b>If I have questions or concerns about my plan I will contact:
    <    </p>
    <p     <p style="padding-left:20px">
    $    $!contactName</br>
    $    $!contactTitle</br>
    $    $!contactPhone</br>
    $    $!contactEmail
    <    </p>
               
    <p     <p style="padding-left:20px">
    $    $!ownerFullName</br>
    $    $!ownerPhone</br>
    $    $!ownerEmail
    <    </p>
    <    </div>
    </div>    </body>
    </html>