SciPost Code Repository

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

Move FundRef mention to Details tab in org card

parent 04977166
No related branches found
No related tags found
No related merge requests found
...@@ -32,9 +32,6 @@ $(document).ready(function($) { ...@@ -32,9 +32,6 @@ $(document).ready(function($) {
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" id="authors-{{ org.id }}-tab" data-toggle="tab" href="#authors-{{ org.id }}" role="tab" aria-controls="authors-{{ org.id }}" aria-selected="true">Associated Authors</a> <a class="nav-link" id="authors-{{ org.id }}-tab" data-toggle="tab" href="#authors-{{ org.id }}" role="tab" aria-controls="authors-{{ org.id }}" aria-selected="true">Associated Authors</a>
</li> </li>
<li class="nav-item">
<a class="nav-link" id="funders-{{ org.id }}-tab" data-toggle="tab" href="#funders-{{ org.id }}" role="tab" aria-controls="funders-{{ org.id }}" aria-selected="true">Funder Registry instances</a>
</li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" id="support-{{ org.id }}-tab" data-toggle="tab" href="#support-{{ org.id }}" role="tab" aria-controls="support-{{ org.id }}" aria-selected="true">Support history</a> <a class="nav-link" id="support-{{ org.id }}-tab" data-toggle="tab" href="#support-{{ org.id }}" role="tab" aria-controls="support-{{ org.id }}" aria-selected="true">Support history</a>
</li> </li>
...@@ -64,6 +61,23 @@ $(document).ready(function($) { ...@@ -64,6 +61,23 @@ $(document).ready(function($) {
<h3>Details:</h3> <h3>Details:</h3>
{% include 'organizations/_organization_details_contents.html' with org=org %} {% include 'organizations/_organization_details_contents.html' with org=org %}
<h3>Funder Registry instances associated to this Organization:</h3>
<ul>
{% for funder in org.funder_set.all %}
<li>{{ funder }}</li>
{% 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? 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>
</ul>
</li>
{% endfor %}
</ul>
</div> </div>
<div class="tab-pane show active pt-4" id="publications-{{ org.id }}" role="tabpanel" aria-labelledby="publications-{{ org.id }}-tab"> <div class="tab-pane show active pt-4" id="publications-{{ org.id }}" role="tabpanel" aria-labelledby="publications-{{ org.id }}-tab">
...@@ -115,23 +129,6 @@ $(document).ready(function($) { ...@@ -115,23 +129,6 @@ $(document).ready(function($) {
</div> </div>
</div> </div>
<div class="tab-pane pt-4" id="funders-{{ org.id }}" role="tabpanel" aria-labelledby="funders-{{ org.id }}-tab">
<h3>Funder Registry instances associated to this Organization:</h3>
<ul>
{% for funder in org.funder_set.all %}
<li>{{ funder }}</li>
{% 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? 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>
</ul>
</li>
{% endfor %}
</ul>
</div>
<div class="tab-pane pt-4" id="support-{{ org.id }}" role="tabpanel" aria-labelledby="support-{{ org.id }}-tab"> <div class="tab-pane pt-4" id="support-{{ org.id }}" role="tabpanel" aria-labelledby="support-{{ org.id }}-tab">
<h3>Support history</h3> <h3>Support history</h3>
......
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