added date to email and basic styles
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 31 May 2016 18:51:34 +0000 (14:51 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 31 May 2016 18:51:34 +0000 (14:51 -0400)
models/front/events/frontAdd.php
views/front/events/ownerEmail.html

index 039e782..630c304 100644 (file)
@@ -459,6 +459,7 @@ class GLmMembersFront_events_frontAdd extends GlmDataEvents
         $smarty->templateAssign('from_email', $fromEmail);
         $smarty->templateAssign('emailNotification', $emailNotification);
         $smarty->templateAssign('pendingEvents', $eventsList);
+        $smarty->templateAssign('startDate', $starting);
         
         $eventsList = GLM_MEMBERS_EVENTS_PLUGIN_ADMIN_URL ."?page=glm-members-admin-menu-events-index&glm_action=index";
         $smarty->templateAssign('items', $events);
index 5af8c83..785cf8a 100644 (file)
@@ -2,13 +2,16 @@
 <html>
     <head>
         <meta http-equiv="content-type" content="text/html;charset=utf-8">
-        <title>Event Submission Confirmation</title>
     </head>
-    <body>
+    <body style="background: rgb(5, 104, 179); padding-bottom: 10px;">
+        <h1 style="color: rgb(245, 130, 42); margin-left: 15px;" id="title"> Event Submission Notification</h1>
         <div id="emailMessage">
-            {$emailNotification}
+            <p style="color: white; margin-left: 15px;"> Event Start Date: {$startDate} </p>
+            <p style="margin: 20px 20px; color: white;">{$emailNotification}</p>
+        </div>
+        <div id="emailFooter">
+            <p style="margin: 0px 5px 0px 20px; color: white;">A new Event has been added to your Website from your &quot;Add Your Event&quot; page.</p>
+            <p style="margin: 0px 5px 0px 20px; color: white;">To approve it, please go to the <a style="color: rgb(245, 130, 42);" href="{$pendingEvents}"> events </a> page in your admin.</p>
         </div>
-        <p>A new Event has been added to your Website from your &quot;Add Your Event&quot; page.</p>
-        <p>To approve it, please go to the <a href="{$pendingEvents}"> events </a> page in your admin.</p>
     </body>
 </html>
\ No newline at end of file