From b134de772203e9fa42e49613743699cbb0877fc0 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sun, 19 Nov 2017 17:30:25 +0100 Subject: [PATCH] Updated extension notice --- pages/embed/embed-pro-notice.pixy | 4 ++-- pages/embed/embed.go | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pages/embed/embed-pro-notice.pixy b/pages/embed/embed-pro-notice.pixy index b0ac4249..10fc84de 100644 --- a/pages/embed/embed-pro-notice.pixy +++ b/pages/embed/embed-pro-notice.pixy @@ -1,7 +1,7 @@ component EmbedProNotice(user *arn.User) - h1 notify.moe is in a financial crisis right now + h1 Anime Notifier needs your help! p - spa If we don't get the necessary funding to keep it alive, the site needs to shut down. The developer works 12 hours per day on this project and doesn't receive a single cent. Please help us fund the project and get yourself a + spa If we don't get the necessary funding to keep it alive, the site needs to shut down. Please help us fund the project and get yourself a a(href="https://notify.moe/shop", target="_blank") PRO account span to support the site. It only costs about 2.6 USD per month. Read more about it a(href="https://notify.moe/thread/A9nC8uakR", target="_blank") here diff --git a/pages/embed/embed.go b/pages/embed/embed.go index 432bce99..ca78b63b 100644 --- a/pages/embed/embed.go +++ b/pages/embed/embed.go @@ -2,7 +2,6 @@ package embed import ( "net/http" - "time" "github.com/aerogo/aero" "github.com/animenotifier/notify.moe/components" @@ -17,7 +16,7 @@ func Get(ctx *aero.Context) string { return utils.AllowEmbed(ctx, ctx.HTML(components.Login("_blank"))) } - if !user.IsPro() && user.TimeSinceRegistered() > 14*24*time.Hour { + if true { return utils.AllowEmbed(ctx, ctx.HTML(components.EmbedProNotice(user))) }