SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit e591289c authored by George Katsikas's avatar George Katsikas :goat:
Browse files

fix typo preventing drafting of publications

parent 0992ff6c
No related branches found
No related tags found
1 merge request!52New Production page fixes and oversights
......@@ -176,7 +176,7 @@
<div class="row m-0 d-none-empty">
<button class="btn btn-warning text-white"
hx-get="{% url 'production:mark_as_completed' stream_id=productionstream.id %}"
{% if stream.status != 'published' %}hx-confirm="Are you sure you want to mark this unpublished stream as completed?"{% endif %}
{% if productionstream.status != 'published' %}hx-confirm="Are you sure you want to mark this unpublished stream as completed?"{% endif %}
hx-target="#productionstream-{{ productionstream.id }}-details">
Mark this stream as completed
</button>
......@@ -184,7 +184,7 @@
</div>
{% endif %}
{% if perms.scipost.can_draft_publication and stream.status == 'accepted' %}
{% if perms.scipost.can_draft_publication and productionstream.status == 'accepted' %}
<div class="col-12 col-sm-auto col-md-12 col-lg-auto h-100 d-none-empty">
<div class="row m-0 d-none-empty">
<a class="btn btn-primary text-white"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment