throttle-notice-drip.html 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {% extends "email/email_base.html" %}
  2. {% load humanize static settings %}
  3. {% block title_text %}
  4. {% if product %}
  5. Met event quota for {{ organization.name|striptags }}
  6. {% else %}
  7. Choose a GlitchTip subscription for {{ organization.name|striptags }}
  8. {% endif %}
  9. {% endblock %}
  10. {% block content %}
  11. <tr>
  12. <td style="background-color: #fefefe;">
  13. <table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
  14. {% if product %}
  15. <tr>
  16. <td style="padding: 20px; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 20px; color: #0a0a0a;">
  17. <p style="margin: 0;">
  18. Hello and thank you for using GlitchTip. We noticed your organization <b>{{ organization.name|striptags }}</b>
  19. has exceeded its monthly event limit on your {{ product.name }} and wanted to give you a heads up.
  20. Your plan allows for {{ event_limit|intcomma }} events, but for the current billing period we have received
  21. {{ organization.total_event_count|intcomma }} events for your organization.
  22. Here are a couple options to avoid this in the future.
  23. </p>
  24. </td>
  25. </tr>
  26. <tr>
  27. <td style="padding: 0 20px 20px 20px; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 20px; color: #0a0a0a;">
  28. <ul style="padding: 0; margin: 0 0 20px 0; list-style-type: disc;">
  29. <li style="margin:0 0 6px 30px;" class="list-item-first">
  30. <a href="{{ subscription_link }}" style="color: #e94056; text-decoration: none;">Upgrade</a>
  31. to a new plan for more events
  32. </li>
  33. <li style="margin:0 0 0px 30px;">
  34. <a href="{{ faq_link }}" style="color: #e94056; text-decoration: none;">Read about</a>
  35. reducing the number of events your app sends out
  36. </li>
  37. </ul>
  38. <p style="margin: 0;">
  39. In the meantime, we have placed a {{ organization.event_throttle_rate }}% throttle on incoming
  40. events from projects on your organization account for this billing period. If you choose to
  41. upgrade your plan, this throttle will be removed. Otherwise, it will reset at the beginning
  42. of your next billing cycle.
  43. </p>
  44. </td>
  45. </tr>
  46. {% else %}
  47. <tr>
  48. <td style="padding: 20px; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 20px; color: #0a0a0a;">
  49. <p style="margin: 0;">
  50. Hello and thank you for using GlitchTip. We noticed you recently created an account for your organization
  51. <b>{{ organization.name|striptags }}</b>, but that you haven't yet signed up for a subscription plan.
  52. We invite you to check out our
  53. <a href="{{ subscription_link }}" style="color: #e94056; text-decoration: none;">subscription options</a>
  54. and choose the right one for your organization.
  55. </p>
  56. </td>
  57. </tr>
  58. <tr>
  59. <td style="padding: 0 20px 20px 20px; font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 20px; color: #0a0a0a;">
  60. <p style="margin: 0;">
  61. Your organization won't be able to receive events on GlitchTip until you choose a subscription, so please
  62. do sign up to get started.
  63. </p>
  64. </td>
  65. </tr>
  66. {% endif %}
  67. </table>
  68. </td>
  69. </tr>
  70. {% endblock %}