SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit d7ac7c3d authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Work on forum_detail presentation again

parent 4161c3b1
No related branches found
No related tags found
No related merge requests found
...@@ -95,18 +95,32 @@ ...@@ -95,18 +95,32 @@
<ul> <ul>
<li><a href="#Description">Description</a></li> <li><a href="#Description">Description</a></li>
{% if forum.meeting %} {% if forum.meeting %}
<li><a href="#Preamble">Preamble</a></li>
<li><a href="#Motions">Motions</a></li> <li><a href="#Motions">Motions</a></li>
{% endif %} {% endif %}
<li><a href="#Posts">Posts</a></li> <li><a href="#Posts">Posts</a></li>
{% if forum.meeting %}
<li><a href="#Minutes">Minutes</a></li>
{% endif %}
</ul> </ul>
</div>
</div>
<div class="row">
<div class="col-12">
<h3 class="highlight" id="Description">Description</h3> <h3 class="highlight" id="Description">Description</h3>
{{ forum.description|restructuredtext }} {{ forum.description|restructuredtext }}
</div> </div>
</div> </div>
{% if forum.meeting %} {% if forum.meeting %}
<div class="row">
<div class="col-12">
<h3 class="highlight" id="Preamble">Preamble</h3>
{{ forum.preamble|restructuredtext }}
</div>
</div>
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<h3 class="highlight" id="Motions">Motions</h3> <h3 class="highlight" id="Motions">Motions</h3>
...@@ -140,4 +154,13 @@ ...@@ -140,4 +154,13 @@
</div> </div>
</div> </div>
{% if forum.meeting %}
<div class="row">
<div class="col-12">
<h3 class="highlight" id="Minutes">Minutes</h3>
{{ forum.minutes|restructuredtext }}
</div>
</div>
{% endif %}
{% endblock content %} {% endblock content %}
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
</div> </div>
</div> </div>
{% if post.followup_posts.all|length > 0 %} {% if post.followup_posts.all|length > 0 %}
<div class="followupPosts"> <div class="followupPosts{% if post.motion %}AfterMotion{% endif %}">
{% for followup in post.followup_posts.all %} {% for followup in post.followup_posts.all %}
{% include 'forums/post_card.html' with post=followup %} {% include 'forums/post_card.html' with post=followup %}
{% endfor %} {% endfor %}
......
...@@ -13,6 +13,12 @@ ...@@ -13,6 +13,12 @@
padding-left: 0.4rem; padding-left: 0.4rem;
} }
.followupPostsAfterMotion {
border-left: 1px solid white;
margin: 1rem;
padding-left: 0.4rem;
}
.forumList { .forumList {
padding-left: 0.4rem; padding-left: 0.4rem;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment