code-corps/code-corps-api

View on GitHub
emails/project_approval_request.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>{{project_title}} is asking to be approved</title>
    <!--
    Make sure you copy the styles from styles.css into the email template in Postmark before saving there.

    <style type="text/css" rel="stylesheet" media="all">
    </style>
    -->
    <link rel="stylesheet" type="text/css" href="styles.css" media="screen" />
  </head>
  <body>
    <span class="preheader">Head over to the app to process their request.</span>
    <table class="email-wrapper" width="100%" cellpadding="0" cellspacing="0">
      <tr>
        <td align="center">
          <table class="email-content" width="100%" cellpadding="0" cellspacing="0">
            <tr>
              <td class="email-masthead" width="100%" cellpadding="0" cellspacing="0">
                <table class="email-masthead_inner" align="center" width="570" cellpadding="0" cellspacing="0">
                  <tr>
                    <td>
                      <a href="https://www.codecorps.org">
                        <img src="https://d3pgew4wbk2vb1.cloudfront.net/emails/images/logo-small@2x.png" class="email-masthead_logo" />
                      </a>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
            <!-- Email Body -->
            <tr>
              <td class="email-body" width="100%" cellpadding="0" cellspacing="0">
                <table class="email-body_inner" align="center" width="570" cellpadding="0" cellspacing="0">
                  <!-- Body content -->
                  <tr>
                    <td class="content-cell">
                      <table class="donation" width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                          <td>
                            <p>
                              Hi Code Corps team,
                            </p>
                            <p>
                              <strong>{{project_title}}</strong> is asking to have their project approved.
                            </p>
                          </td>
                        </tr>
                      </table>
                      <table class="donation" width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                          <td>
                            <tr>
                              <td>
                                <p>
                                  <p class="center">
                                    <img src="{{project_logo_url}}" width="70" height="70" />
                                  </p>
                                  <p class="center">
                                    <strong>{{project_title}}</strong>
                                  </p>
                                </p>
                                <p class="center">
                                  {{project_description}}
                                </p>
                              <td>
                            </tr>
                          </tr>
                        </td>
                      </table>
                      <table class="donation" width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                          <td>
                            <p>
                              You can head over to <a href="{{admin_project_show_url}}">the admin page for the project</a> to process their request.
                            </p>
                            <p>
                              You can also take a look at <a href="{{project_url}}">their project on Code Corps</a> to see it how users will see it.
                            </p>
                          </td>
                        </tr>
                      </table>
                      <table class="body-signature">
                        <tr>
                          <td>
                            <p>
                              Cheers,
                              <br><strong>🤖 The Code Corps Robots</strong>
                            </p>
                          </td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
            <tr>
              <td>
                <table class="email-footer" align="center" width="570" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="email-footer__cell" align="center">
                      <p class="align-center">
                        Questions? Feedback? Visit our <strong><a href="https://help.codecorps.org">Help Center</a></strong> or just reply to this email.
                      </p>
                    </td>
                  </tr>
                  <tr>
                    <td class="email-footer__cell" align="center">
                      <p class="align-center">
                        Send us 🐌 mail!
                        <br>
                        <br>Code Corps PBC
                        <br>4166 Wilson Ave #1
                        <br>San Diego, CA 92104
                      </p>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </body>
</html>