Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
f31bd2f
1
Parent(s):
c1f3539
add donations warning
Browse files- src/components.py +17 -0
src/components.py
CHANGED
@@ -196,6 +196,11 @@ def show_charts():
|
|
196 |
def show_donations(lang):
|
197 |
st.subheader(_("📝 **Donations**"))
|
198 |
if lang == "en":
|
|
|
|
|
|
|
|
|
|
|
199 |
st.markdown(
|
200 |
"""
|
201 |
<div style="text-align: center;">
|
@@ -212,6 +217,12 @@ def show_donations(lang):
|
|
212 |
unsafe_allow_html=True,
|
213 |
)
|
214 |
elif lang == "ar":
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
st.markdown(
|
216 |
"""
|
217 |
<div style="text-align: center;">
|
@@ -229,6 +240,12 @@ def show_donations(lang):
|
|
229 |
unsafe_allow_html=True,
|
230 |
)
|
231 |
elif lang == "fr":
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
st.markdown(
|
233 |
"""
|
234 |
<div style="text-align: center;">
|
|
|
196 |
def show_donations(lang):
|
197 |
st.subheader(_("📝 **Donations**"))
|
198 |
if lang == "en":
|
199 |
+
st.markdown(
|
200 |
+
"""
|
201 |
+
<b>Notice:</b> We are not responsible for the donations collection. This is the official bank account dedicated to tackle the consequences of the earthquake.""",
|
202 |
+
unsafe_allow_html=True,
|
203 |
+
)
|
204 |
st.markdown(
|
205 |
"""
|
206 |
<div style="text-align: center;">
|
|
|
217 |
unsafe_allow_html=True,
|
218 |
)
|
219 |
elif lang == "ar":
|
220 |
+
st.markdown(
|
221 |
+
"""
|
222 |
+
<b>ملاحظة:</b> نحن لسنا مسؤولين عن جمع التبرعات. هذا هو الحساب البنكي الرسمي المخصص لمواجهة عواقب الزلزال.
|
223 |
+
""",
|
224 |
+
unsafe_allow_html=True,
|
225 |
+
)
|
226 |
st.markdown(
|
227 |
"""
|
228 |
<div style="text-align: center;">
|
|
|
240 |
unsafe_allow_html=True,
|
241 |
)
|
242 |
elif lang == "fr":
|
243 |
+
st.markdown(
|
244 |
+
"""
|
245 |
+
<b>Remarque:</b> Nous ne sommes pas responsables de la collecte des dons. Ceci est le compte bancaire officiel dédié à la lutte contre les conséquences du séisme.
|
246 |
+
""",
|
247 |
+
unsafe_allow_html=True,
|
248 |
+
)
|
249 |
st.markdown(
|
250 |
"""
|
251 |
<div style="text-align: center;">
|