From 3070a8d575347a46938ce663b0f13bb33cd4cf77 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Sun, 7 Oct 2018 18:57:36 +0200
Subject: [PATCH] Debug organization detail

---
 organizations/models.py                                |  2 +-
 .../templates/organizations/_organization_card.html    | 10 +++++-----
 .../templates/organizations/organization_detail.html   |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/organizations/models.py b/organizations/models.py
index c4f3d9c42..494566cd2 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 2ad2a7d12..8635befd4 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 35acab153..47455259f 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"/>&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>
-- 
GitLab