mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
Disable quick_review_voting.js for guest users
This commit is contained in:
parent
4df15d6ff2
commit
5f1d0ed946
@ -21,7 +21,9 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script src="/static/quick_review_voting.js"></script>
|
||||
{% if current_user.is_authenticated %}
|
||||
<script src="/static/quick_review_voting.js"></script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@ -5,7 +5,9 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block scriptextra %}
|
||||
<script src="/static/quick_review_voting.js"></script>
|
||||
{% if current_user.is_authenticated %}
|
||||
<script src="/static/quick_review_voting.js"></script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@ -19,7 +19,9 @@
|
||||
|
||||
{% block scriptextra %}
|
||||
<script src="/static/video_embed.js"></script>
|
||||
<script src="/static/quick_review_voting.js"></script>
|
||||
{% if current_user.is_authenticated %}
|
||||
<script src="/static/quick_review_voting.js"></script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% macro render_license(license) %}
|
||||
|
@ -26,7 +26,9 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block scriptextra %}
|
||||
<script src="/static/quick_review_voting.js"></script>
|
||||
{% if current_user.is_authenticated %}
|
||||
<script src="/static/quick_review_voting.js"></script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@ -9,7 +9,9 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block scriptextra %}
|
||||
<script src="/static/quick_review_voting.js"></script>
|
||||
{% if current_user.is_authenticated %}
|
||||
<script src="/static/quick_review_voting.js"></script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
Loading…
Reference in New Issue
Block a user