Disable quick_review_voting.js for guest users
This commit is contained in:
@@ -21,7 +21,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="/static/quick_review_voting.js"></script>
|
{% if current_user.is_authenticated %}
|
||||||
|
<script src="/static/quick_review_voting.js"></script>
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|||||||
@@ -5,7 +5,9 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block scriptextra %}
|
{% 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 %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|||||||
@@ -19,7 +19,9 @@
|
|||||||
|
|
||||||
{% block scriptextra %}
|
{% block scriptextra %}
|
||||||
<script src="/static/video_embed.js"></script>
|
<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 %}
|
{% endblock %}
|
||||||
|
|
||||||
{% macro render_license(license) %}
|
{% macro render_license(license) %}
|
||||||
|
|||||||
@@ -26,7 +26,9 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block scriptextra %}
|
{% 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 %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|||||||
@@ -9,7 +9,9 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block scriptextra %}
|
{% 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 %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|||||||
Reference in New Issue
Block a user