diff options
Diffstat (limited to 'Pootle-2.0.0/local_apps/pootle_notifications/templates/latest_news_snippet.html')
-rw-r--r-- | Pootle-2.0.0/local_apps/pootle_notifications/templates/latest_news_snippet.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Pootle-2.0.0/local_apps/pootle_notifications/templates/latest_news_snippet.html b/Pootle-2.0.0/local_apps/pootle_notifications/templates/latest_news_snippet.html new file mode 100644 index 0000000..1466645 --- /dev/null +++ b/Pootle-2.0.0/local_apps/pootle_notifications/templates/latest_news_snippet.html @@ -0,0 +1,11 @@ +{% load i18n cleanhtml %} + +<ul> +{% if news_items %} + {% for item in news_items %} + <li class="newsitem">{{ item.message|clean }}</li> + {% endfor %} +{% else %} + <li>{% trans "No news yet." %}</li> +{% endif %} +</ul> |