diff --git a/app/templates/email/suggested_topic.html b/app/templates/email/suggested_topic.html new file mode 100644 index 00000000..cce382aa --- /dev/null +++ b/app/templates/email/suggested_topic.html @@ -0,0 +1,15 @@ +
+Hi {{ site_name }} Admin,
+The user {{ current_user_name }} has suggested the following new Topic:
+Topic Name: | +{{ topic_name }} | +
Communities: | +{{ communities_for_topic }} | +
Thank you for your time and attention.
\ No newline at end of file diff --git a/app/templates/email/suggested_topic.txt b/app/templates/email/suggested_topic.txt new file mode 100644 index 00000000..aaaa46d1 --- /dev/null +++ b/app/templates/email/suggested_topic.txt @@ -0,0 +1,8 @@ +Hi {{ site_name }} Admin! + +The user {{ current_user_name }} has suggested the following new Topic: + +Topic Name: {{ topic_name }} +Communities: {{ communities_for_topic }} + +Thank you for your time and attention. \ No newline at end of file diff --git a/app/templates/list_topics.html b/app/templates/list_topics.html index c8abb7ee..6954176b 100644 --- a/app/templates/list_topics.html +++ b/app/templates/list_topics.html @@ -34,4 +34,5 @@{{ _('There are no communities yet.') }}
{% endif -%}{{ _('Explore communities') }}
+ {% endblock -%} diff --git a/app/templates/topic/suggest_topics.html b/app/templates/topic/suggest_topics.html new file mode 100644 index 00000000..ac3e54a4 --- /dev/null +++ b/app/templates/topic/suggest_topics.html @@ -0,0 +1,22 @@ +{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %} + {% extends 'themes/' + theme() + '/base.html' %} +{% else %} + {% extends "base.html" %} +{% endif %} %} +{% set active_child = 'suggest_topics' %} +{% from 'bootstrap/form.html' import render_form %} + +{% block app_content %} +{{ _('You have not been using PieFed long enough to be allowed to suggest Topics.') }}
+