Remove parent see BT#12723

pull/2487/head
jmontoyaa 9 years ago
parent 03de0860c2
commit 76632d0630
  1. 4
      plugin/studentfollowup/view/post.html.twig

@ -18,16 +18,16 @@
{% endif %} {% endif %}
</a> </a>
{% endif %} {% endif %}
{% endif %}
{% if type == 'all' %}
{% if post.parent %} {% if post.parent %}
<h3>Parent</h3> <h3>Parent</h3>
<a href="{{ post_url }}&post_id={{ post.parent.id }}"> <a href="{{ post_url }}&post_id={{ post.parent.id }}">
{{ post.parent.title }} {{ post.parent.title }}
</a> </a>
{% endif %} {% endif %}
{% endif %}
{% if type == 'all' %}
{% if related_posts %} {% if related_posts %}
<h3>Related</h3> <h3>Related</h3>
{% for post in related_posts %} {% for post in related_posts %}

Loading…
Cancel
Save