diff --git a/journals/templates/journals/create_metadata_xml.html b/journals/templates/journals/create_metadata_xml.html index 6fcb9803386abcfba0d9d5996538c6e700ab2db2..d030518aea7064a1a61834e22968a1ff01845d25 100644 --- a/journals/templates/journals/create_metadata_xml.html +++ b/journals/templates/journals/create_metadata_xml.html @@ -27,7 +27,7 @@ <hr class="hr6"/> - <h3>Once you're happy with this metadata, you can <a href="{{publication.get_absolute_url}}">return to the publication's page</a> or to the <a href="{% url 'journals:manage_metadata' %}">metadata management page</a></h3> + <h3>Once you're happy with this metadata, you can <a href="{{publication.get_absolute_url}}">return to the publication's page</a> or to the <a href="{% url 'journals:manage_metadata' %}">general metadata management page</a> or to the <a href="{% url 'journals:manage_metadata' doi_label=publication.doi_label %}">this publication's metadata management page</a></h3> </section> diff --git a/journals/views.py b/journals/views.py index 111eaa5939d11a898de39f8a063dfbd9725b451a..29732981ca5f3fbd831438820e0f123ead5669ae 100644 --- a/journals/views.py +++ b/journals/views.py @@ -730,7 +730,8 @@ def mark_deposit_success(request, deposit_id, success): elif success == '0': deposit.deposit_successful = False deposit.save() - return redirect(reverse('journals:manage_metadata')) + return redirect(reverse('journals:manage_metadata', + kwargs={'doi_label': deposit.publication.doi_label})) @permission_required('scipost.can_publish_accepted_submission', return_403=True)