From 201718758f3ee27d25a7e6a4c3020d8907f2bebc Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Mon, 15 Apr 2019 13:05:04 +0200
Subject: [PATCH] Template style: app stats, sponsors

---
 .../templates/sponsors/_sponsor_card.html     |  12 +-
 sponsors/templates/sponsors/base.html         |  16 +-
 sponsors/templates/sponsors/sponsors.html     | 168 +++++++++---------
 stats/templates/stats/statistics.html         | 154 ++++++++--------
 4 files changed, 175 insertions(+), 175 deletions(-)

diff --git a/sponsors/templates/sponsors/_sponsor_card.html b/sponsors/templates/sponsors/_sponsor_card.html
index afc41549f..285e270ab 100644
--- a/sponsors/templates/sponsors/_sponsor_card.html
+++ b/sponsors/templates/sponsors/_sponsor_card.html
@@ -1,14 +1,14 @@
 <div class="card text-center">
   {% if sponsor.logo %}
-  <img class="card-img-top {{ sponsor.css_class }} p-2" style="max-height: 16rem; max-width: 16rem;" src="{% if sponsor.logo %}{{ sponsor.logo.url }}{% endif %}" alt="{{ sponsor.name }} logo">
+    <img class="card-img-top {{ sponsor.css_class }} p-2" style="max-height: 16rem; max-width: 16rem;" src="{% if sponsor.logo %}{{ sponsor.logo.url }}{% endif %}" alt="{{ sponsor.name }} logo">
   {% endif %}
   <div class="card-body bg-light text-left">
     <h4 class="card-title">
       {% if sponsor.name_original %}{{ sponsor.name_original }}{% else %}{{ sponsor.name }}{% endif %}</h4>
-    {% if sponsor.name_original %}
-    <p class="card-text">({{ sponsor.name }})</p>
-    {% endif %}
-    <img src="{{ sponsor.country.flag }}" alt="{{ sponsor.country }} flag"/>&nbsp;<span class="text-muted"><small>[{{ sponsor.country }}]</small></span>&nbsp;&nbsp;{{ sponsor.get_country_display }}
-    &nbsp;&nbsp;<a href="{% url 'finances:subsidies' %}?org={{ sponsor.id }}">See subsidies</a>
+      {% if sponsor.name_original %}
+	<p class="card-text">({{ sponsor.name }})</p>
+      {% endif %}
+      <img src="{{ sponsor.country.flag }}" alt="{{ sponsor.country }} flag"/>&nbsp;<span class="text-muted"><small>[{{ sponsor.country }}]</small></span>&nbsp;&nbsp;{{ sponsor.get_country_display }}
+      &nbsp;&nbsp;<a href="{% url 'finances:subsidies' %}?org={{ sponsor.id }}">See subsidies</a>
   </div>
 </div>
diff --git a/sponsors/templates/sponsors/base.html b/sponsors/templates/sponsors/base.html
index 34520caa9..088124f9b 100644
--- a/sponsors/templates/sponsors/base.html
+++ b/sponsors/templates/sponsors/base.html
@@ -3,13 +3,13 @@
 {% block body_class %}{{ block.super }} sponsors{% endblock %}
 
 {% block breadcrumb %}
-    <div class="breadcrumb-container">
-        <div class="container">
-            <nav class="breadcrumb hidden-sm-down">
-                {% block breadcrumb_items %}
-                    <a href="{% url 'sponsors:sponsors' %}" class="breadcrumb-item">Sponsors</a>
-                {% endblock %}
-            </nav>
-        </div>
+  <div class="breadcrumb-container">
+    <div class="container">
+      <nav class="breadcrumb hidden-sm-down">
+        {% block breadcrumb_items %}
+          <a href="{% url 'sponsors:sponsors' %}" class="breadcrumb-item">Sponsors</a>
+        {% endblock %}
+      </nav>
     </div>
+  </div>
 {% endblock %}
diff --git a/sponsors/templates/sponsors/sponsors.html b/sponsors/templates/sponsors/sponsors.html
index 956efe10d..c8173bfb6 100644
--- a/sponsors/templates/sponsors/sponsors.html
+++ b/sponsors/templates/sponsors/sponsors.html
@@ -5,112 +5,112 @@
 {% load staticfiles %}
 
 {% block breadcrumb_items %}
-{{ block.super }}
+  {{ block.super }}
 {% endblock %}
 
 {% block content %}
 
-<div class="row">
-  <div class="col">
-    <h1 class="highlight">SciPost Sponsors</h1>
+  <div class="row">
+    <div class="col">
+      <h1 class="highlight">SciPost Sponsors</h1>
+    </div>
   </div>
-</div>
-
-<div class="row">
-  <div class="col-12">
-    <h4>
-      <strong>We cordially invite organizations worldwide to join our Sponsorship scheme, and make <a href="{% url 'scipost:about' %}#GOA">Genuine Open Access</a> a reality.</strong>
-    </h4>
-    <br/>
-    <p>
-      Is your organization benefitting from SciPost's activities (check our <a href="{% url 'organizations:organizations' %}">organizations page</a>), and does it not appear in our list of Sponsors below? Then consider helping SciPost:
+
+  <div class="row">
+    <div class="col-12">
+      <h4>
+	<strong>We cordially invite organizations worldwide to join our Sponsorship scheme, and make <a href="{% url 'scipost:about' %}#GOA">Genuine Open Access</a> a reality.</strong>
+      </h4>
       <br/>
-      <strong>Are you a scientist?</strong><br/>
-      Please petition your local librarian/director/... to consider sponsoring us. You can use this email <a href="mailto:?subject=Petition to support SciPost&body={% autoescape on %}{% include 'sponsors/sponsor_petition_email.html' %}{% endautoescape %}&cc=sponsors@scipost.org">template</a>.
-      <strong>Are you a librarian, funding agency representative or other potential supporter?</strong><br/>
-      Take a look at our <a href="{% static 'sponsors/SciPost_Sponsorship_Agreement.pdf' %}">Sponsorship Agreement</a> template, and contact us at <a href="mailto:sponsors@scipost.org?subject=Sponsors enquiry">sponsors@scipost.org</a> to enquire about further details or initiate your sponsorship.
-    </p>
+      <p>
+	Is your organization benefitting from SciPost's activities (check our <a href="{% url 'organizations:organizations' %}">organizations page</a>), and does it not appear in our list of Sponsors below? Then consider helping SciPost:
+	<br/>
+	<strong>Are you a scientist?</strong><br/>
+	Please petition your local librarian/director/... to consider sponsoring us. You can use this email <a href="mailto:?subject=Petition to support SciPost&body={% autoescape on %}{% include 'sponsors/sponsor_petition_email.html' %}{% endautoescape %}&cc=sponsors@scipost.org">template</a>.
+	<strong>Are you a librarian, funding agency representative or other potential supporter?</strong><br/>
+	Take a look at our <a href="{% static 'sponsors/SciPost_Sponsorship_Agreement.pdf' %}">Sponsorship Agreement</a> template, and contact us at <a href="mailto:sponsors@scipost.org?subject=Sponsors enquiry">sponsors@scipost.org</a> to enquire about further details or initiate your sponsorship.
+      </p>
+    </div>
   </div>
-</div>
-
-<div class="row">
-  <div class="col-12">
-    <div class="card-deck">
-      <div class="card">
-	<div class="card-header">
-	  <h3>Community service; no user fees</h3>
-	</div>
-	<div class="card-body">
-	  <p>SciPost does not charge any subscription fees or article processing charges (APCs): all our operations are performed as a community service, with no user-facing charges;</p>
-	  <p>Our initiative's scope is resolutely international: we do not impose any geographical or institutional restrictions on the delivery of our services;</p>
-	  <p>SciPost is dedicated to serving the academic community, with no further competing interests.</p>
-	</div>
-      </div>
-      <div class="card">
-	<div class="card-header">
-	  <h3>Quality through Openness</h3>
+
+  <div class="row">
+    <div class="col-12">
+      <div class="card-deck">
+	<div class="card">
+	  <div class="card-header">
+	    <h3>Community service; no user fees</h3>
+	  </div>
+	  <div class="card-body">
+	    <p>SciPost does not charge any subscription fees or article processing charges (APCs): all our operations are performed as a community service, with no user-facing charges;</p>
+	    <p>Our initiative's scope is resolutely international: we do not impose any geographical or institutional restrictions on the delivery of our services;</p>
+	    <p>SciPost is dedicated to serving the academic community, with no further competing interests.</p>
+	  </div>
 	</div>
-	<div class="card-body">
-	  <p>Our sharp focus on openness through our <a href="/FAQ#pwr">peer-witnessed refereeing</a> procedure equips us with arguably the most stringent editorial quality control system available;</p>
-	  <p>Our <a href="{% url 'scipost:about' %}#editorial_college_physics">Editorial College</a> is composed of a broad selection of top academics;</p>
-	  <p>Our fully professional publishing services meet or surpass best practices in all respects. Our flagship journal SciPost Physics has been awarded the <a href="https://doaj.org">DOAJ</a> Seal.</p>
+	<div class="card">
+	  <div class="card-header">
+	    <h3>Quality through Openness</h3>
+	  </div>
+	  <div class="card-body">
+	    <p>Our sharp focus on openness through our <a href="/FAQ#pwr">peer-witnessed refereeing</a> procedure equips us with arguably the most stringent editorial quality control system available;</p>
+	    <p>Our <a href="{% url 'scipost:about' %}#editorial_college_physics">Editorial College</a> is composed of a broad selection of top academics;</p>
+	    <p>Our fully professional publishing services meet or surpass best practices in all respects. Our flagship journal SciPost Physics has been awarded the <a href="https://doaj.org">DOAJ</a> Seal.</p>
+	  </div>
 	</div>
-      </div>
-      <div class="card">
-	<div class="card-header">
-	  <h3>Community funded</h3>
-	</div>
-	<div class="card-body">
-	  <p>Our operations are obviously not without cost, but our strictly not-for-profit setup, community-led workflow, streamlined infrastructure and no-frills administration mean that the average per-publication costs are much lower than those of competing services;</p>
-	  <p>Our financing model relies on sponsorship from the organizations which benefit from our activities (see our <a href="{% url 'organizations:organizations' %}">organizations page</a>);</p>
-	  <p>All sponsorship funds are pooled and exclusively used to run our infrastructure and services.</p>
+	<div class="card">
+	  <div class="card-header">
+	    <h3>Community funded</h3>
+	  </div>
+	  <div class="card-body">
+	    <p>Our operations are obviously not without cost, but our strictly not-for-profit setup, community-led workflow, streamlined infrastructure and no-frills administration mean that the average per-publication costs are much lower than those of competing services;</p>
+	    <p>Our financing model relies on sponsorship from the organizations which benefit from our activities (see our <a href="{% url 'organizations:organizations' %}">organizations page</a>);</p>
+	    <p>All sponsorship funds are pooled and exclusively used to run our infrastructure and services.</p>
+	  </div>
 	</div>
       </div>
     </div>
   </div>
-</div>
 
-<div class="row">
-  <div class="col-12">
-    <h3>In a nutshell, for the business savvy: support our model to reduce your costs</h3>
-    <p>We are able to run a fully sustainable infrastructure at an estimated cost of under &euro;400 per publication, much below the current norm for APCs. The more scientists shift their publishing to SciPost, the fewer subscription/article processing charges you will have to pay as an organization. Your sponsorship will help us scale up and make our initiative sustainable.</p>
+  <div class="row">
+    <div class="col-12">
+      <h3>In a nutshell, for the business savvy: support our model to reduce your costs</h3>
+      <p>We are able to run a fully sustainable infrastructure at an estimated cost of under &euro;400 per publication, much below the current norm for APCs. The more scientists shift their publishing to SciPost, the fewer subscription/article processing charges you will have to pay as an organization. Your sponsorship will help us scale up and make our initiative sustainable.</p>
+    </div>
   </div>
-</div>
 
-<div class="row">
-  <div class="col-12">
-    <h1 class="highlight">Our current Sponsors</h1>
+  <div class="row">
+    <div class="col-12">
+      <h1 class="highlight">Our current Sponsors</h1>
 
-    <h3 class="highlight">&euro;20k and above:</h3>
-    <div class="card-columns">
-      {% for sponsor in sponsors_20kplus %}
-      {% include 'sponsors/_sponsor_card.html' with sponsor=sponsor %}
-      {% endfor %}
-    </div>
+      <h3 class="highlight">&euro;20k and above:</h3>
+      <div class="card-columns">
+	{% for sponsor in sponsors_20kplus %}
+	  {% include 'sponsors/_sponsor_card.html' with sponsor=sponsor %}
+	{% endfor %}
+      </div>
 
-    <h3 class="highlight">&euro;10k and above:</h3>
-    <div class="card-columns">
-      {% for sponsor in sponsors_10kplus %}
-      {% include 'sponsors/_sponsor_card.html' with sponsor=sponsor %}
-      {% endfor %}
-    </div>
+      <h3 class="highlight">&euro;10k and above:</h3>
+      <div class="card-columns">
+	{% for sponsor in sponsors_10kplus %}
+	  {% include 'sponsors/_sponsor_card.html' with sponsor=sponsor %}
+	{% endfor %}
+      </div>
 
-    <h3 class="highlight">&euro;5k and above:</h3>
-    <div class="card-columns">
-      {% for sponsor in sponsors_5kplus %}
-      {% include 'sponsors/_sponsor_card.html' with sponsor=sponsor %}
-      {% endfor %}
-    </div>
+      <h3 class="highlight">&euro;5k and above:</h3>
+      <div class="card-columns">
+	{% for sponsor in sponsors_5kplus %}
+	  {% include 'sponsors/_sponsor_card.html' with sponsor=sponsor %}
+	{% endfor %}
+      </div>
 
-    <h3 class="highlight">Our other current Sponsors:</h3>
-    <div class="card-columns">
-      {% for sponsor in current_sponsors %}
-      {% include 'sponsors/_sponsor_card.html' with sponsor=sponsor %}
-      {% endfor %}
-    </div>
+      <h3 class="highlight">Our other current Sponsors:</h3>
+      <div class="card-columns">
+	{% for sponsor in current_sponsors %}
+	  {% include 'sponsors/_sponsor_card.html' with sponsor=sponsor %}
+	{% endfor %}
+      </div>
 
+    </div>
   </div>
-</div>
 
 
 {% endblock content %}
diff --git a/stats/templates/stats/statistics.html b/stats/templates/stats/statistics.html
index 724c8b5e4..6b02e5730 100644
--- a/stats/templates/stats/statistics.html
+++ b/stats/templates/stats/statistics.html
@@ -8,86 +8,86 @@
 {% load bootstrap %}
 
 {% block breadcrumb_items %}
-    {{block.super}}
-    <span class="breadcrumb-item">Statistics</span>
+  {{block.super}}
+  <span class="breadcrumb-item">Statistics</span>
 {% endblock %}
 
 {% block content %}
 
-<h1 class="highlight">Statistics</h1>
+  <h1 class="highlight">Statistics</h1>
 
-<h2>Aggregate statistics</h2>
-<p>For each Journal, clicking on a year gives aggregate statistics for Submissions (so including rejections and withdrawals) which were first submitted in that year.</p>
-<p>Clicking on a Journal/Volume/Issue gives aggregates for all publications in that object.</p>
-<ul>
-  {% for journal in journals|dictsort:"doi_label" %}
+  <h2>Aggregate statistics</h2>
+  <p>For each Journal, clicking on a year gives aggregate statistics for Submissions (so including rejections and withdrawals) which were first submitted in that year.</p>
+  <p>Clicking on a Journal/Volume/Issue gives aggregates for all publications in that object.</p>
+  <ul>
+    {% for journal in journals|dictsort:"doi_label" %}
       <li><a href="{% url 'stats:statistics' journal_doi_label=journal.doi_label %}">{{ journal }}</a></li>
       <ul>
-      {% for year in journal|journal_publication_years %}
+	{% for year in journal|journal_publication_years %}
           <li><a href="{% url 'stats:statistics' journal_doi_label=journal.doi_label year=year %}">{{ year }}</a></li>
-      {% endfor %}
+	{% endfor %}
       </ul>
       <ul>
         {% for volume in journal.volumes.all|dictsort:"number" %}
-            <li><a href="{% url 'stats:statistics' journal_doi_label=journal.doi_label volume_nr=volume.number %}">{{ volume }}</a></li>
-            <ul>
-              {% for issue in volume.issues.all|dictsort:"number" %}
-                  <li><a href="{% url 'stats:statistics' journal_doi_label=journal.doi_label volume_nr=volume.number issue_nr=issue.number %}">{{ issue }}</a></li>
-              {% endfor %}
-            </ul>
+          <li><a href="{% url 'stats:statistics' journal_doi_label=journal.doi_label volume_nr=volume.number %}">{{ volume }}</a></li>
+          <ul>
+            {% for issue in volume.issues.all|dictsort:"number" %}
+              <li><a href="{% url 'stats:statistics' journal_doi_label=journal.doi_label volume_nr=volume.number issue_nr=issue.number %}">{{ issue }}</a></li>
+            {% endfor %}
+          </ul>
         {% endfor %}
       </ul>
-  {% endfor %}
-</ul>
+    {% endfor %}
+  </ul>
 
-{% if journal %}
+  {% if journal %}
     <h2>Results:</h2>
     {% if year %}
-    <h3>Impact factor (Cited-by) for {{ year }}: {{ citedby_impact_factor|floatformat:2 }} {% now "Y" as currentyear %}{% ifequal year currentyear %}<span style="color: red;">WARNING: not complete (year is current one)</span>{% endifequal %}</h3>
-      {% endif %}
+      <h3>Impact factor (Cited-by) for {{ year }}: {{ citedby_impact_factor|floatformat:2 }} {% now "Y" as currentyear %}{% ifequal year currentyear %}<span style="color: red;">WARNING: not complete (year is current one)</span>{% endifequal %}</h3>
+    {% endif %}
     <table class="table">
       <tr>
         <th>DOI label</th>
         {% if year %}
-            <th>Year</th>
-            <th>Nr submissions<br/>(distinct)</th>
-            <th>Nr submissions<br/>(including resubmissions)</th>
-            <th>Nr assignment failed</th>
-            <th>Nr accepted/<br/>published</th>
-            <th>Nr rejected</th>
-            <th>Nr withdrawn</th>
+          <th>Year</th>
+          <th>Nr submissions<br/>(distinct)</th>
+          <th>Nr submissions<br/>(including resubmissions)</th>
+          <th>Nr assignment failed</th>
+          <th>Nr accepted/<br/>published</th>
+          <th>Nr rejected</th>
+          <th>Nr withdrawn</th>
         {% else %}
-            <th>Nr publications</th>
-            <th>Duration average</th>
-            <th>Citation rate (per paper per year)</th>
+          <th>Nr publications</th>
+          <th>Duration average</th>
+          <th>Citation rate (per paper per year)</th>
         {% endif %}
       </tr>
       <tr>
         {% if issue %}
-            <td>{{ issue.doi_label }}</td>
-            <td>{% nr_publications issue %}</td>
-            <td>{% avg_processing_duration issue as avg %}{{ avg|floatformat:2 }} days</td>
-            <td>{% citation_rate issue as cr %}{{ cr|floatformat:2 }}</td>
+          <td>{{ issue.doi_label }}</td>
+          <td>{% nr_publications issue %}</td>
+          <td>{% avg_processing_duration issue as avg %}{{ avg|floatformat:2 }} days</td>
+          <td>{% citation_rate issue as cr %}{{ cr|floatformat:2 }}</td>
         {% elif volume %}
-            <td>{{ volume.doi_label }}</td>
-            <td>{% nr_publications volume %}</td>
-            <td>{% avg_processing_duration volume as avg %}{{ avg|floatformat:2 }} days</td>
-            <td>{% citation_rate volume as cr %}{{ cr|floatformat:2 }}</td>
+          <td>{{ volume.doi_label }}</td>
+          <td>{% nr_publications volume %}</td>
+          <td>{% avg_processing_duration volume as avg %}{{ avg|floatformat:2 }} days</td>
+          <td>{% citation_rate volume as cr %}{{ cr|floatformat:2 }}</td>
         {% else %}
-            <td>{{ journal.doi_label }}</td>
-            {% if year %}
-                <td>{{ year }}</td>
-                <td>{{ submissions|submissions_count_distinct }}</td>
-                <td>{{ submissions|length }}</td>
-                <td>{{ submissions.assignment_failed.count }}</td>
-                <td>{{ submissions.accepted.count|add:submissions.published.count }}</td>
-                <td>{{ submissions.rejected.count }}</td>
-                <td>{{ submissions.withdrawn.count }}</td>
-            {% else %}
-                <td>{% nr_publications journal %}</td>
-                <td>{% avg_processing_duration journal as avg %}{{ avg|floatformat:2 }} days</td>
-                <td>{% citation_rate journal as cr %}{{ cr|floatformat:2 }}</td>
-            {% endif %}
+          <td>{{ journal.doi_label }}</td>
+          {% if year %}
+            <td>{{ year }}</td>
+            <td>{{ submissions|submissions_count_distinct }}</td>
+            <td>{{ submissions|length }}</td>
+            <td>{{ submissions.assignment_failed.count }}</td>
+            <td>{{ submissions.accepted.count|add:submissions.published.count }}</td>
+            <td>{{ submissions.rejected.count }}</td>
+            <td>{{ submissions.withdrawn.count }}</td>
+          {% else %}
+            <td>{% nr_publications journal %}</td>
+            <td>{% avg_processing_duration journal as avg %}{{ avg|floatformat:2 }} days</td>
+            <td>{% citation_rate journal as cr %}{{ cr|floatformat:2 }}</td>
+          {% endif %}
         {% endif %}
       </tr>
     </table>
@@ -109,35 +109,35 @@
       </tr>
       <tr>
         {% if issue %}
-            <td>{{ issue.doi_label }}</td>
-            <td>{% nr_publications issue tier=1 %}</td>
-            <td>{% nr_publications issue tier=2 %}</td>
-            <td>{% nr_publications issue tier=3 %}</td>
-            <td>{% citation_rate issue tier=1 as cr %}{{ cr|floatformat:2 }}</td>
-            <td>{% citation_rate issue tier=2 as cr %}{{ cr|floatformat:2 }}</td>
-            <td>{% citation_rate issue tier=3 as cr %}{{ cr|floatformat:2 }}</td>
+          <td>{{ issue.doi_label }}</td>
+          <td>{% nr_publications issue tier=1 %}</td>
+          <td>{% nr_publications issue tier=2 %}</td>
+          <td>{% nr_publications issue tier=3 %}</td>
+          <td>{% citation_rate issue tier=1 as cr %}{{ cr|floatformat:2 }}</td>
+          <td>{% citation_rate issue tier=2 as cr %}{{ cr|floatformat:2 }}</td>
+          <td>{% citation_rate issue tier=3 as cr %}{{ cr|floatformat:2 }}</td>
         {% elif volume %}
-            <td>{{ volume.doi_label }}</td>
-            <td>{% nr_publications volume tier=1 %}</td>
-            <td>{% nr_publications volume tier=2 %}</td>
-            <td>{% nr_publications volume tier=3 %}</td>
-            <td>{% citation_rate volume tier=1 as cr %}{{ cr|floatformat:2 }}</td>
-            <td>{% citation_rate volume tier=2 as cr %}{{ cr|floatformat:2 }}</td>
-            <td>{% citation_rate volume tier=3 as cr %}{{ cr|floatformat:2 }}</td>
+          <td>{{ volume.doi_label }}</td>
+          <td>{% nr_publications volume tier=1 %}</td>
+          <td>{% nr_publications volume tier=2 %}</td>
+          <td>{% nr_publications volume tier=3 %}</td>
+          <td>{% citation_rate volume tier=1 as cr %}{{ cr|floatformat:2 }}</td>
+          <td>{% citation_rate volume tier=2 as cr %}{{ cr|floatformat:2 }}</td>
+          <td>{% citation_rate volume tier=3 as cr %}{{ cr|floatformat:2 }}</td>
         {% else %}
-            <td>{{ journal.doi_label }}</td>
-            <td>{% nr_publications journal tier=1 %}</td>
-            <td>{% nr_publications journal tier=2 %}</td>
-            <td>{% nr_publications journal tier=3 %}</td>
-            <td>{% citation_rate journal tier=1 as cr %}{{ cr|floatformat:2 }}</td>
-            <td>{% citation_rate journal tier=2 as cr %}{{ cr|floatformat:2 }}</td>
-            <td>{% citation_rate journal tier=3 as cr %}{{ cr|floatformat:2 }}</td>
+          <td>{{ journal.doi_label }}</td>
+          <td>{% nr_publications journal tier=1 %}</td>
+          <td>{% nr_publications journal tier=2 %}</td>
+          <td>{% nr_publications journal tier=3 %}</td>
+          <td>{% citation_rate journal tier=1 as cr %}{{ cr|floatformat:2 }}</td>
+          <td>{% citation_rate journal tier=2 as cr %}{{ cr|floatformat:2 }}</td>
+          <td>{% citation_rate journal tier=3 as cr %}{{ cr|floatformat:2 }}</td>
         {% endif %}
       </tr>
     </table>
-{% endif %}
+  {% endif %}
 
-{% if year %}
+  {% if year %}
     <h2>Refereeing stats for {{ year }}</h2>
     <table class="table">
       <tr>
@@ -159,7 +159,7 @@
         <td>{{ nr_rep_obt_con }} ({% widthratio nr_rep_obt_con nr_rep_obt 100 %}&#37;)</td>
       </tr>
     </table>
-{% endif %}
+  {% endif %}
 
 
 {% endblock content %}
-- 
GitLab