SciPost Code Repository

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

Add warning about current year in impact factor display

parent 3e163592
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@
{% if journal %}
<h2>Results:</h2>
{% if year %}
<h3>Impact factor (Cited-by) for {{ year }}: {{ citedby_impact_factor|floatformat:2 }}</h3>
<h3>Impact factor (Cited-by) for {{ year }}: {{ citedby_impact_factor|floatformat:2 }} {% now "Y" as currentyear %}{% if year is currentyear %}<span style="color: red;">WARNING: not complete (year is current one)</span>{% endif %}</h3>
{% endif %}
<table class="table">
<tr>
......
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