comparison default/forum/view_topics.html @ 133:0a0d9a953d98

css: some more refactoring
author Goffi <goffi@goffi.org>
date Mon, 26 Mar 2018 08:13:53 +0200
parents 4f27ce980ced
children
comparison
equal deleted inserted replaced
132:c70f405f9b86 133:0a0d9a953d98
15 {% trans %}You can login to create a new topic.{% endtrans %} 15 {% trans %}You can login to create a new topic.{% endtrans %}
16 {% endif %} 16 {% endif %}
17 </div> 17 </div>
18 {% endif %} 18 {% endif %}
19 {% if profile %} 19 {% if profile %}
20 <div class="forum_topic_create"> 20 <div class="forum__topic_create">
21 {% call textbox.textbox(service, node, placeholder=_("Your message"), submit_label=_("Create topic"), type="new_topic") %} 21 {% call textbox.textbox(service, node, placeholder=_("Your message"), submit_label=_("Create topic"), type="new_topic") %}
22 {{ field.text("title", placeholder=_("Your topic (try to be short and explicit)"), required=True) }} 22 {{ field.text("title", placeholder=_("Your topic (try to be short and explicit)"), required=True) }}
23 {% endcall %} 23 {% endcall %}
24 </div> 24 </div>
25 {% endif %} 25 {% endif %}
26 26
27 <div id="forum_topics"> 27 <div class="forum__topics">
28 {% for topic in topics %} 28 {% for topic in topics %}
29 <div> 29 <div>
30 <a href="{{topic.http_uri}}"> 30 <a href="{{topic.http_uri}}">
31 {{ avatar.avatar(topic.author) }} 31 {{ avatar.avatar(topic.author) }}
32 {{topic.title}} 32 {{topic.title}}