aboutsummaryrefslogtreecommitdiff
path: root/app/templates/packages/view.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/packages/view.html')
-rw-r--r--app/templates/packages/view.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html
index 6ed5bbe..56cfd62 100644
--- a/app/templates/packages/view.html
+++ b/app/templates/packages/view.html
@@ -258,4 +258,27 @@
{% endfor %}
</ul>
{% endif %}
+
+ {% if similar_topics %}
+ <h3>Similar Forum Topics</h3>
+ {% if not package.approved and package.type == package.type.MOD %}
+ <div class="box box_grey alert alert-warning">
+ Please make sure that this package has the right to
+ the name '{{ package.name }}'.
+ See the
+ <a href="/policy_and_guidance/">Inclusion Policy</a>
+ for more info.
+ </div>
+ {% endif %}
+ <ul>
+ {% for t in similar_topics %}
+ <li>
+ [{{ t.getType().value }}]
+ <a href="https://forum.minetest.net/viewtopic.php?t={{ t.topic_id }}">
+ {{ t.title }} by {{ t.author.display_name }}
+ </a>
+ </li>
+ {% endfor %}
+ </ul>
+ {% endif %}
{% endblock %}