SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 3070a8d5 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Debug organization detail

parent 44a92faa
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ class Organization(models.Model):
return full_name_str + self.full_name
def get_absolute_url(self):
return reverse('organizations:organization_details', args=(self.id,))
return reverse('organizations:organization_details', kwargs = {'pk': self.id})
def get_publications(self):
return Publication.objects.filter(
......
......@@ -101,11 +101,11 @@ $(document).ready(function($) {
{% empty %}
<li>No Funder Registry instance found<br/><br/>
<strong class="text-danger">Without a Funder Registry instance, we cannot record funding acknowledgements to this Organization with Crossref.</strong>
<p>Are you a representative of this Organization? Then <em>for <strong>your Organization's</strong> benefit, not SciPost's</em>, you really should:</p>
<ol>
<li>Make sure your Organization gets included in <a href="https://www.crossref.org/services/funder-registry/" target="_blank">Crossref's Funder Registry</a></li>
<p>Are you a representative of this Organization? We advise you to:</p>
<ul>
<li>Make sure your Organization gets included in <a href="https://www.crossref.org/services/funder-registry/" target="_blank">Crossref's Funder Registry</a>;</li>
<li>After inclusion, <a href="mailto:admin@scipost.org?subject=Inclusion of {{ organization }} {% if organization.acronym %}({{ organization.acronym }}){% endif %} in the Funder Registry">contact our administration</a> with this information so that we can update our records.</li>
</ol>
</ul>
</li>
{% endfor %}
</ul>
......@@ -141,7 +141,7 @@ $(document).ready(function($) {
</tbody>
</table>
{% else %}
<p><strong>This Organization has <span class="text-danger">not yet</span> subsidized SciPost</strong></p>
<p><strong>This Organization has <span class="text-danger">not yet</span> supported SciPost.</strong></p>
{% endif %}
{% if is_scipost_admin %}
......
......@@ -13,7 +13,7 @@
<table class="table highlight">
<tr class="table-row">
<tr>
<td><img src="{{ organization.country.flag }}" style="width:20px;" alt="{{ organization.country }} flag"/>&nbsp;<span class="text-muted"><small>[{{ organization.country }}]</small></span>&nbsp;&nbsp;{{ organization.get_country_display }}</td>
<td>
<h2>{{ organization.full_name }}&nbsp;&nbsp;<small>{% if organization.acronym %}[{{ organization.acronym }}]{% endif %}</small></h2>
......
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