SciPost Code Repository

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

Small beautification

parent 797fe3da
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
{{ nr_contributors_w_duplicate_email }} Contributor duplicates (via email) identified {{ nr_contributors_w_duplicate_email }} Contributor duplicates (via email) identified
<ul> <ul>
{% for dup in contributors_w_duplicate_email %} {% for dup in contributors_w_duplicate_email %}
<li>{{ dup }}, id {{ dup.id }}, {{ dup.user.email }}</li> <li>{{ dup }}, {{ dup.user.email }}, id {{ dup.id }}</li>
{% empty %} {% empty %}
<li>No duplicates found</li> <li>No duplicates found</li>
{% endfor %} {% endfor %}
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
Please take action by merging these Contributor instances. Please take action by merging these Contributor instances.
</li> </li>
{% endif %} {% endif %}
<li><a href="{% url 'profiles:profile_create' %}">Add a Profile</a></li>
<li><a href="{% url 'profiles:profile_create' from_type='contributor' pk=next_contributor_wo_profile.id %}">Create a Profile</a> for Contributors without one ({{ nr_contributors_wo_profile }} to handle)</li> <li><a href="{% url 'profiles:profile_create' from_type='contributor' pk=next_contributor_wo_profile.id %}">Create a Profile</a> for Contributors without one ({{ nr_contributors_wo_profile }} to handle)</li>
</ul> </ul>
<br/> <br/>
...@@ -59,12 +60,8 @@ ...@@ -59,12 +60,8 @@
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<a href="{% url 'profiles:profile_create' %}">Add a Profile</a> <h3>Profiles {% if request.GET.discipline %}in {{ request.GET.discipline }}{% if request.GET.expertise %}, {{ request.GET.expertise }}{% endif %}{% endif %} ({% if request.GET.contributor == "True" %}registered Contributors{% elif request.GET.contributor == "False" %}unregistered as Contributors{% else %}all registered/unregistered{% endif %}):</h3>
<br/><br/>
{% if request.GET.discipline %}
<h3>Profiles in {{ request.GET.discipline }}{% if request.GET.expertise %}, {{ request.GET.expertise }}{% endif %} ({% if request.GET.contributor == "True" %}registered Contributors{% elif request.GET.contributor == "False" %}unregistered as Contributors{% else %}all registered/unregistered{% endif %}):</h3>
<br/> <br/>
{% endif %}
<table class="table table-hover mb-5"> <table class="table table-hover mb-5">
<thead class="thead-default"> <thead class="thead-default">
<tr> <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