<!doctype html>
<html>

  <head>
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>{$template_subject}</title>
    {include file='emails/__email_styles.tpl'}
  </head>

  <body>
    <span class="preheader">{$template_subject}</span>
    <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="body">
      <tr>
        <td>&nbsp;</td>
        <td class="container">

          <div class="email-header">
            <a href="{$system['system_url']}">
              {if $system['system_logo']}
              <img src="{$system['system_uploads']}/{$system['system_logo']}" alt="{__($system['system_title'])}">
              {else}
              <span class="site-name">{__($system['system_title'])}</span>
              {/if}
            </a>
          </div>

          <div class="content">
            <table role="presentation" class="main">
              <tr>
                <td class="header-bar">&nbsp;</td>
              </tr>
              <tr>
                <td class="wrapper">
                  <table role="presentation" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td>
                        <h1>{__("New Notification")}</h1>
                        <p>{__("Hi")} {$receiver['name']},</p>

                        <div class="notification-box">
                          {if !$notification['system_notification']}<strong>{$user->_data['user_fullname']}</strong> {/if}{$notification['message']}
                        </div>

                        <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="btn btn-primary">
                          <tbody>
                            <tr>
                              <td align="left">
                                <table role="presentation" border="0" cellpadding="0" cellspacing="0">
                                  <tbody>
                                    <tr>
                                      <td><a href="{$notification['url']}" target="_blank">{__("View")}</a></td>
                                    </tr>
                                  </tbody>
                                </table>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>

            <div class="footer">
              <table role="presentation" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td class="content-block">
                    <p>&copy; {$smarty.now|date_format:"%Y"} <a href="{$system['system_url']}">{__($system['system_title'])}</a>. {__("All rights reserved.")}</p>
                    <p>{__("You are receiving this email because you have an account on")} <a href="{$system['system_url']}">{__($system['system_title'])}</a>.</p>
                    <p><a href="{$system['system_url']}/settings/notifications">{__("Manage email notification preferences")}</a></p>
                  </td>
                </tr>
              </table>
            </div>

          </div>
        </td>
        <td>&nbsp;</td>
      </tr>
    </table>
  </body>

</html>