mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Add list of packages to profile
This commit is contained in:
parent
87d7b14283
commit
dc31a98416
@ -63,6 +63,19 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="box box_grey">
|
||||
<h2>Packages</h2>
|
||||
<ul>
|
||||
{% for p in user.packages %}
|
||||
<li><a href="{{ p.getDetailsURL() }}">
|
||||
{{ p.title }} by {{ p.author.display_name }}
|
||||
</a></li>
|
||||
{% else %}
|
||||
<li><i>No packages available</i></ul>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% if form %}
|
||||
{% from "macros/forms.html" import render_field, render_submit_field %}
|
||||
<form class="box box_grey" action="" method="POST" class="form" role="form">
|
||||
|
Loading…
Reference in New Issue
Block a user