mirror of
https://github.com/minetest/contentdb.git
synced 2025-03-30 14:52:30 +02:00
Add suggest changes button
This commit is contained in:
@ -20,11 +20,15 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<ul class="buttonset linedbuttonset">
|
<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.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.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.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.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>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user