Commit fcd97e89 authored by Michal Čihař's avatar Michal Čihař

Fixed HTML mail condition

parent f5d10027
......@@ -65,7 +65,7 @@ class AdvertisementManager(models.Manager):
placement=placement,
text=text
)
elif placement == Advertisement.PLACEMENT_MAIL_TEXT:
elif placement == Advertisement.PLACEMENT_MAIL_HTML:
text = random.choice([
'<a href="{0}">{1}</a>'.format(
_('Donate to Weblate'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment