SciPost Code Repository

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

Update Sponsors dashboard according to wishes of KEMÖ.

parent 6d4d453d
No related branches found
No related tags found
No related merge requests found
......@@ -14,9 +14,9 @@
<div class="row">
<div class="col-12">
<h3 class="highlight">Contact Persons</h3>
<p>Contact Persons are by definition employees of an Organization, who play a role of potential relevance to SciPost's sponsoring efforts. SciPost Admin takes charge of contacting Contact Persons listed here, to try to promote them to registered Contacts (members of the Sponsors Board).</p>
<p>Contact Persons are by definition employees of an Organization, who play a role of potential relevance to SciPost's sponsoring efforts. SciPost Admin takes charge of contacting Contact Persons listed here, to try to promote them to registered Contacts.</p>
<p>Do you people who you think should appear on this list?</p>
<p>Are they not in our list of registered Contacts (which you can view on your <a href="{% url 'organizations:dashboard' %}" target="_blank">dashboard</a> under the Sponsors Board tab)?</p>
<p>Are they not in our list of registered Contacts (which you can view on your <a href="{% url 'organizations:dashboard' %}" target="_blank">dashboard</a>)?</p>
<p>Then please help us out: <a href="{% url 'organizations:contactperson_create' %}">add a Contact Person</a> instance.</p>
<table class="table">
......
......@@ -44,7 +44,7 @@
<a href="{% url 'forums:forums' %}" class="nav-link" target="_blank">Forums<br/><span class="small text-muted">[discussion boards<br/>and meetings]</span></a>
</li>
<li class="nav-item btn btn-outline-secondary">
<a href="#board" class="nav-link" data-toggle="tab">Sponsors Board<br/><span class="small text-muted">[registered Contacts]</span></a>
<a href="#board" class="nav-link" data-toggle="tab">Registered<br>Contacts</a>
</li>
<li class="nav-item btn btn-outline-secondary">
<a href="{% url 'organizations:contactperson_list' %}" class="nav-link" target="_blank">Contact Persons<br/><span class="small text-muted">[unregistered contacts]</span></a>
......@@ -166,19 +166,19 @@
<div class="tab-pane" id="board" role="tabpanel">
<div class="row">
<div class="col-12">
<h2 class="highlight">Sponsors Board</h2>
<h2 class="highlight">Registered Contacts</h2>
</div>
</div>
<div class="row">
<div class="col-12">
<p>The Sponsors Board is composed of all registered Organization Contacts.</p>
<p>This tab lists all registered Organization Contacts. It is only visible to Contacts themselves (besides SciPost administration).</p>
<p>Do you know people who you think should appear on this list? Help us by checking if they are already on our <a href="{% url 'organizations:contactperson_list' %}" target="_blank">list of Contact Persons</a>, and if not, please add them!</p>
<h3>Active Contacts</h3>
<table class="table">
<thead class="thead-default">
<tr>
<th>Name</th>
<th>Organization(s) / role(s)</th>
<th>Organization(s)&nbsp;/&nbsp;role(s)</th>
{% if perms.scipost.can_manage_organizations %}
<th>Account<br/>active?</th>
{% endif %}
......@@ -191,7 +191,24 @@
<td>
<ul class="list-group list-group-flush">
{% for role in contact.roles.all %}
<li class="list-group-item"><a href="{{ role.organization.get_absolute_url }}" target="_blank">{{ role.organization }}</a> / {{ role.get_kind_display }}</li>
<li class="list-group-item">
<a href="{{ role.organization.get_absolute_url }}" target="_blank">{{ role.organization }}</a>&nbsp;/&nbsp;{{ role.get_kind_display }}
{% if role.organization.parent %}
<small class="text-muted"><p>Parent: {{ role.organization.parent }}</p></small>
{% endif %}
{% if role.organization.children.all %}
<small class="text-muted">
<p>Parent of:
{% for child in role.organization.children.all %}
{{ child }}{% if not forloop.last %},&nbsp;{% endif %}
{% endfor %}
</p>
</small>
{% endif %}
{% if role.organization.superseded_by %}
<small class="text-muted"><p>Superseded by {{ role.organization.superseded_by }}</p></small>
{% endif %}
</li>
{% empty %}
<li class="list-group-item">No Organization found</li>
{% endfor %}
......
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