SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit d0906fb7 authored by Geert Kapteijns's avatar Geert Kapteijns
Browse files

Merge branch 'hotfix-thesis-authorships-claim' into development

parents 8c5fa875 1c3dd342
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<h3>Potential authorships to claim (auto-detected)</h3> <h3>Potential authorships to claim (auto-detected)</h3>
<ul> <ul>
{% for thesis in thesis_authorships_to_claim %} {% for thesis in thesis_authorships_to_claim %}
{{ thesis.header_as_li }} {% include 'theses/_thesislink_header_as_li.html' with thesislink=thesis %}
<form action="{% url 'scipost:claim_thesis_authorship' thesis_id=thesis.id claim=1%}" method="post"> <form action="{% url 'scipost:claim_thesis_authorship' thesis_id=thesis.id claim=1%}" method="post">
{% csrf_token %} {% csrf_token %}
<input type="submit" value="I am an author" /> <input type="submit" value="I am an author" />
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<h3>Theses for which this Contributor is identified as an author:</h3> <h3>Theses for which this Contributor is identified as an author:</h3>
<ul> <ul>
{% for thesis in contributor_theses %} {% for thesis in contributor_theses %}
{{ thesis.header_as_li }} {% include 'theses/_thesislink_header_as_li.html' with thesislink=thesis %}
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
......
...@@ -72,7 +72,8 @@ ...@@ -72,7 +72,8 @@
<h3>Theses:</h3> <h3>Theses:</h3>
<ul> <ul>
{% for thesislink in thesislink_search_list %} {% for thesislink in thesislink_search_list %}
{{ thesislink.header_as_li }}
{% include 'theses/_thesislink_header_as_li.html' with thesislink=thesislink %}
<form action="{% url 'scipost:list_add_element' list_id=list.id type='T' element_id=thesislink.id %}" method="post"> <form action="{% url 'scipost:list_add_element' list_id=list.id type='T' element_id=thesislink.id %}" method="post">
{% csrf_token %} {% csrf_token %}
<input class="AddItemToList" type="submit" value="Add"/> <input class="AddItemToList" type="submit" value="Add"/>
......
...@@ -471,7 +471,7 @@ ...@@ -471,7 +471,7 @@
<h3>Theses for which you are identified as an author:</h3> <h3>Theses for which you are identified as an author:</h3>
<ul> <ul>
{% for thesis in own_thesislinks %} {% for thesis in own_thesislinks %}
{{ thesis.header_as_li }} {% include 'theses/_thesislink_header_as_li.html' with thesislink=thesis %}
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<h3>Theses:</h3> <h3>Theses:</h3>
<ul> <ul>
{% for thesislink in thesislink_search_list %} {% for thesislink in thesislink_search_list %}
{{ thesislink.header_as_li }} {% include 'theses/_thesislink_header_as_li.html' with thesislink=thesislink %}
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
{{ claim.commentary.header_as_li }} {{ claim.commentary.header_as_li }}
{% elif claim.thesislink %} {% elif claim.thesislink %}
<h4>Contributor {{ claim.claimant.user.first_name }} {{ claim.claimant.user.last_name }} claims to be an author of Thesis:</h4> <h4>Contributor {{ claim.claimant.user.first_name }} {{ claim.claimant.user.last_name }} claims to be an author of Thesis:</h4>
{{ claim.thesislink.header_as_li }} {% include 'theses/_thesislink_header_as_li.html' with thesislink=claim.thesislink %}
{% endif %} {% endif %}
<form action="{% url 'scipost:vet_authorship_claim' claim_id=claim.id claim=1%}" method="post"> <form action="{% url 'scipost:vet_authorship_claim' claim_id=claim.id claim=1%}" method="post">
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
{% if thesislink.author_as_cont.all %} {% if thesislink.author_as_cont.all %}
{% for author in thesislink.author_as_cont.all %} {% for author in thesislink.author_as_cont.all %}
<td><a href= {% url 'scipost:contributor_info' author.id %}> <td><a href= {% url 'scipost:contributor_info' author.id %}>
author.user.first_name author.user.last_name {{ author.user.first_name }} {{ author.user.last_name }}
</a></td> </a></td>
{% endfor %} {% endfor %}
{% else %} {% else %}
......
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