mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-08 22:17:34 +01:00
Hide review form on own package
This commit is contained in:
parent
069c7de78c
commit
76b0c8446c
@ -469,6 +469,10 @@
|
||||
{{ _("Edit Review") }}
|
||||
</a>
|
||||
</p>
|
||||
{% elif current_user in package.maintainers %}
|
||||
<p>
|
||||
{{ _("You can't review your own package.") }}
|
||||
</p>
|
||||
{% else %}
|
||||
{{ render_review_form(package, current_user) }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user