diff --git a/organizations/models.py b/organizations/models.py index c4f3d9c42802335d99393056da6a170a53822d94..494566cd21829de7bcc9f911ea75ff8a49d7ddcb 100644 --- a/organizations/models.py +++ b/organizations/models.py @@ -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( diff --git a/organizations/templates/organizations/_organization_card.html b/organizations/templates/organizations/_organization_card.html index 2ad2a7d121158c5b5c95f487bad19cb5dce7a8a6..8635befd495d432629087319bca6eeb73a566eb4 100644 --- a/organizations/templates/organizations/_organization_card.html +++ b/organizations/templates/organizations/_organization_card.html @@ -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 %} diff --git a/organizations/templates/organizations/organization_detail.html b/organizations/templates/organizations/organization_detail.html index 35acab15308eccd70c5f2e5e387c8d30b2e2b243..47455259fbce4232acd3ce9e980ffa03e449e260 100644 --- a/organizations/templates/organizations/organization_detail.html +++ b/organizations/templates/organizations/organization_detail.html @@ -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"/> <span class="text-muted"><small>[{{ organization.country }}]</small></span> {{ organization.get_country_display }}</td> <td> <h2>{{ organization.full_name }} <small>{% if organization.acronym %}[{{ organization.acronym }}]{% endif %}</small></h2>