mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 01:23:48 +01:00
Add suggest changes button
This commit is contained in:
parent
775850bbba
commit
dad980c3bf
@ -20,11 +20,15 @@
|
||||
</table>
|
||||
|
||||
<ul class="buttonset linedbuttonset">
|
||||
{% if package.checkPerm(current_user, "EDIT_PACKAGE") %}<li><a href="{{ package.getEditURL() }}">Edit</a></li>{% endif %}
|
||||
{% if package.repo %}<li><a href="{{ package.repo }}">View Source</a></li>{% endif %}
|
||||
{% if package.forums %}<li><a href="{{ package.forums }}">Forums</a></li>{% endif %}
|
||||
{% if package.issueTracker %}<li><a href="{{ package.issueTracker }}">Issue Tracker</a></li>{% endif %}
|
||||
{% if package.website %}<li><a href="{{ package.website }}">Website</a></li>{% endif %}
|
||||
{% if package.checkPerm(current_user, "EDIT_PACKAGE") %}
|
||||
<li><a href="{{ package.getEditURL() }}">Edit</a></li>
|
||||
{% elif current_user.is_authenticated %}
|
||||
<li><a href="">Suggest Change</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user