Disable quick_review_voting.js for guest users
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user