Skip to content

Commit

Permalink
Shavuot banner 2022-05-10
Browse files Browse the repository at this point in the history
  • Loading branch information
edamboritz committed May 10, 2022
1 parent 2cb132d commit ded1295
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 4 deletions.
6 changes: 4 additions & 2 deletions sefaria/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@
}


'''

GLOBAL_INTERRUPTING_MESSAGE = {
"name": "13042022-passover-donate-banner",
"name": "2022-05-10-shavuot-donate-banner",
"style": "banner", # "modal" or "banner"
"repetition": 1,
"is_fundraising": True,
Expand All @@ -312,6 +312,8 @@
}
'''
GLOBAL_INTERRUPTING_MESSAGE = None
'''



# Grab environment specific settings from a file which
Expand Down
11 changes: 10 additions & 1 deletion static/mobile/message-en.json
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
null
{
"title": "",
"text": [
"In honor of Shavuot, we are counting towards the goal of recruiting 400 new Sefaria Sustainers. If you receive value from the library, please consider giving back with a monthly donation today."
],
"buttonLink": "https://sefaria.nationbuilder.com/sustainers_e",
"buttonText": "Become a Sustainer",
"name": "2022-05-10-shavuot-donate-banner-1",
"schemaVersion": 1
}
11 changes: 10 additions & 1 deletion static/mobile/message-he.json
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
null
{
"title": "",
"text": [
"לקראת סיום ספירת העומר ובואו של חג השבועות, ברצוננו להגיע ליעד של גיוס 400 תורמים חודשיים נוספים לספריא. אנו קוראים לך להירשם עוד היום לתרומה חודשית ולהצטרף לקהילת התורמים והתורמות המתרחבת שלנו!"
],
"buttonLink": "https://sefaria.nationbuilder.com/sustainers_e",
"buttonText": "לתרומה חודשית",
"name": "2022-05-10-shavuot-donate-banner-1",
"schemaVersion": 1
}
18 changes: 18 additions & 0 deletions templates/messages/2022-05-10-shavuot-donate-banner.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<div id="bannerTextBox">
<span class="int-en">
In honor of Shavuot, we are counting towards the goal of recruiting 400 new Sefaria Sustainers.
If you receive value from the library, please consider giving back with a monthly donation today.
</span>
<span class="int-he">
לקראת סיום ספירת העומר ובואו של חג השבועות, ברצוננו להגיע ליעד של גיוס 400 תורמים חודשיים נוספים לספריא.
אנו קוראים לך להירשם עוד היום לתרומה חודשית ולהצטרף לקהילת התורמים והתורמות המתרחבת שלנו!
</span>
</div>
<div id="bannerButtonBox">
<a class="button white int-en" href="https://sefaria.nationbuilder.com/sustainers_e">
<span>Become a Sustainer</span>
</a>
<a class="button white int-he" href="https://sefaria.nationbuilder.com/sustainers_e">
<span>לתרומה חודשית</span>
</a>
</div>

0 comments on commit ded1295

Please sign in to comment.