From c908730bc025bd16c93846716002587ffe73614d Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Sat, 22 Apr 2017 08:43:07 +0200
Subject: [PATCH] Fix args/kwargs url on template

---
 journals/templates/journals/publication_detail.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/journals/templates/journals/publication_detail.html b/journals/templates/journals/publication_detail.html
index 627d44a0a..38ddbd012 100644
--- a/journals/templates/journals/publication_detail.html
+++ b/journals/templates/journals/publication_detail.html
@@ -111,12 +111,12 @@
                 </div>
             </div>
           </li>
-          <li><a href="{% url 'journals:add_author' publication_id=publication.id %}">Add a missing author</a></li>
+          <li><a href="{% url 'journals:add_author' publication.id %}">Add a missing author</a></li>
           <li><a href="{% url 'journals:create_citation_list_metadata' publication.doi_label %}">Create/update citation list metadata</a></li>
           <li><a href="{% url 'journals:create_funding_info_metadata' publication.doi_label %}">Create/update funding info metadata</a></li>
           <li><a href="{% url 'journals:create_metadata_xml' publication.doi_label %}">Create/update the XML metadata</a></li>
-          <li><a href="{% url 'journals:metadata_xml_deposit' publication.doi_label option='test' %}">Test metadata deposit (via Crossref test server)</a></li>
-          <li><a href="{% url 'journals:metadata_xml_deposit' publication.doi_label option='deposit' %}">Deposit the metadata to Crossref</a></li>
+          <li><a href="{% url 'journals:metadata_xml_deposit' publication.doi_label 'test' %}">Test metadata deposit (via Crossref test server)</a></li>
+          <li><a href="{% url 'journals:metadata_xml_deposit' publication.doi_label 'deposit' %}">Deposit the metadata to Crossref</a></li>
           <li><a href="{% url 'journals:harvest_citedby_links' publication.doi_label %}">Update Crossref cited-by links</a></li>
         </ul>
         </div>
-- 
GitLab