From c04017c2b35ef7c8a8a59c5af120e910a11dc3bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Sat, 15 Jul 2017 01:46:41 +0300 Subject: [PATCH] Updated pricing. --- hc/payments/models.py | 4 ++-- hc/payments/views.py | 4 ++-- static/img/integrations/sms.png | Bin 4011 -> 5039 bytes templates/front/channels.html | 4 ++-- templates/payments/pricing.html | 19 +++++++++++-------- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/hc/payments/models.py b/hc/payments/models.py index caf008bb..a73ffdaa 100644 --- a/hc/payments/models.py +++ b/hc/payments/models.py @@ -29,8 +29,8 @@ class Subscription(models.Model): def price(self): if self.plan_id == "P5": return 5 - elif self.plan_id == "P75": - return 75 + elif self.plan_id == "P50": + return 50 return 0 diff --git a/hc/payments/views.py b/hc/payments/views.py index c63d260b..e9f03663 100644 --- a/hc/payments/views.py +++ b/hc/payments/views.py @@ -55,7 +55,7 @@ def log_and_bail(request, result): @require_POST def create_plan(request): plan_id = request.POST["plan_id"] - if plan_id not in ("P5", "P75"): + if plan_id not in ("P5", "P50"): return HttpResponseBadRequest() sub = Subscription.objects.for_user(request.user) @@ -113,7 +113,7 @@ def create_plan(request): profile.sms_sent = 0 profile.team_access_allowed = True profile.save() - elif plan_id == "P75": + elif plan_id == "P50": profile.ping_log_limit = 1000 profile.check_limit = 500 profile.sms_limit = 500 diff --git a/static/img/integrations/sms.png b/static/img/integrations/sms.png index 8100074aea24e02bd47d88deecff50ab858001b2..4a20fffcc2d74bba974dd605852dee5b0bbfb953 100644 GIT binary patch delta 4989 zcmZ8lbySpJ(0&&dgr!-KhNYyW3{r4uM5IBQRY1CthIa`iC8PzEkdO`mr4exHZlt@U z8|2&H_t$s6d(NCYXYM)o%zb9=GjpbhrHm`~2`m}_@S-74?@PXmQ{)2S_n*nj=y;{? zW_Y{n=zhjDpN%CI>YVy>5(bhR1QSpqpsG~vv5qkWH4-&5llUt?j*sc8^NoB`^{o2c zVxa&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;PqGGExeWkrMw0NId=?49a+IN(KbpjDqx~C`ex#cUxWVa|y6$ zG)Wl*Mx&|Yu;x*JdNRr2_=9JFT8=e^RMY`hNifE-Pm*bpHv9|fh5fXjHQ3D4aZu3i^h&x zy-m>&iiVC_9BclKtYzl0qPhUyYxy5smtBf!Y4a6ra+Iilh>P7P(J;I*RL%WyiRNO@ zNqpS88#6OkDPHO8@^+%J^AJ97+aGo{b0P_TFron}e-@S_JTg*dBF#JvR#P@oj2YmG z0FD#D5gvZg18-me9$z<{t`>B;&&hu1MuRotjvh)SGQ9qL#GqJAe1BL>)OFbVY(3-?Dp@Kk0;$Z@q;xGYBahL$6I6(pQ z=xPN+b10!*z}1gNUDneWhAy-M!vdfn5d|>y=G~@$0EAouf*yd)Vz!I+Fl62U`{uCH#p_Q!Ef2wljAVoYcq-Jx2O@+G+YfG>#X;HwATfvaG4!C15c=JU((1p2 zD-d=z@Zqw3EoR=c8o(b_F--|97aa?4QI4*EjP&pUnOWYKYHwLf3HeU|6XR1@Qy2>J z0SJCtS-M|VFfTjJPbtVthc;{gumzxZ0EqASPDUbWrob-n;vXv498h%hT1@jil!9zO za_eG)B+Zm4EdWQSfs&A0dI>=$D1I1AKQa*k?4W?Mv)3j#9HG5b#D^kptb3$%Z_FEi z2UMTvd*SdcbBIJfSF3$O@km8^)poVopX^MCok3wC^zn+aYWDEsU?Q&x{N>it>VMVS zh>6a`^Z*op$!X81)Z2{7z=ZPvgrHV*3-{l9?=DeqTP6d^;Q=V*hNGvwV&JZAw^b=W zbDj~BJ|+qzn|ggt?OB!>W^(;*Rh+t{g0M*Jkl5D=L@N~Et;uC4h( zZ$l;{N$mkB;G>k@Q(0PbQg2%(E6MBuB#x4ARg_ol*V~ZEOwxJ)O6j(W^8LH?wqvrB ztO9tdvb#g0XV~KIiT8dF-COs5`bSK_2TkA00000 LNkvXXu0mjf$ZvIl diff --git a/templates/front/channels.html b/templates/front/channels.html index 94db72ef..59d61293 100644 --- a/templates/front/channels.html +++ b/templates/front/channels.html @@ -151,7 +151,7 @@ class="icon" alt="Email icon" />

Email

-

Get an email message when check goes up or down.

+

Get an email message when a check goes up or down.

Add Integration @@ -161,7 +161,7 @@ class="icon" alt="SMS icon" />

SMS {% if show_pricing %}(paid plans){% endif %}

-

Get a text message to your phone when check goes down.

+

Get a text message to your phone when a check goes down.

Add Integration diff --git a/templates/payments/pricing.html b/templates/payments/pricing.html index 1b750696..d31e9ffd 100644 --- a/templates/payments/pricing.html +++ b/templates/payments/pricing.html @@ -67,10 +67,11 @@

free

    -
  • Single User Access
  • 20 Checks
  • 100 log entries per check
  • Personal or Commercial use
  • +
  • Single User
  • +
  •  
  •  
    -
  • Team Access
  • Unlimited Checks
  • 1000 log entries per check
  • Personal or Commercial use
  • +
  • Team Access
  • +
  • 50 SMS alerts per month
  • Email Support
- +
-

$75/mo

+

$50/mo

    -
  • Team Access
  • Unlimited Checks
  • 1000 log entries per check
  • Personal or Commercial use
  • +
  • Team Access
  • +
  • 500 SMS alerts per month
  • Priority Email Support