diff --git a/conflicts/management/commands/update_coi_via_arxiv.py b/conflicts/management/commands/update_coi_via_arxiv.py index 4e748e2cedb3d3ac58d3833efcc8a6d38f558dc1..6fa3051cb964fb43ee57a9c606f4e221fc1d65ce 100644 --- a/conflicts/management/commands/update_coi_via_arxiv.py +++ b/conflicts/management/commands/update_coi_via_arxiv.py @@ -45,4 +45,5 @@ class Command(BaseCommand): Q(last_name__in=author_str_list)).distinct() n_new_conflicts += caller.compare(author_profiles, fellow_profiles, submission=sub) + Submission.objects.filter(id=sub).update(needs_conflicts_update=False) return n_new_conflicts diff --git a/scipost/static/scipost/assets/css/_notifications.scss b/scipost/static/scipost/assets/css/_notifications.scss index facb75880a6059254ca8357acb2aa9477f0fcf5c..0385942083ab7018427d08ed840c87f6957ce596 100644 --- a/scipost/static/scipost/assets/css/_notifications.scss +++ b/scipost/static/scipost/assets/css/_notifications.scss @@ -183,7 +183,7 @@ .notification-center { .links li { - padding: 0.25rem 0; + padding: 0.5rem 0; } } diff --git a/scipost/templates/partials/scipost/notification_center_modal.html b/scipost/templates/partials/scipost/notification_center_modal.html index 597f97759154c990c4e241272744981c9d0d3f90..7b156971adfd0fbe4d360bfdd1a4f7b7b042e1bf 100644 --- a/scipost/templates/partials/scipost/notification_center_modal.html +++ b/scipost/templates/partials/scipost/notification_center_modal.html @@ -4,11 +4,12 @@ <div class="modal notification-center" id="notification_center" tabindex="-1" role="dialog" aria-labelledby="notification_center" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> - <div class="modal-header"> + <div class="modal-header border-0 pt-3"> {% if request.user.contributor %} <h4 class="modal-title">{{ request.user.contributor.get_title_display }} {{ request.user.first_name }} {{ request.user.last_name }}</h4> + {% else %} + <h4 class="modal-title">{{ request.user }}</h4> {% endif %} - <!-- <h5 class="modal-title" id="exampleModalLongTitle">Modal title</h5> --> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> diff --git a/scipost/templates/scipost/PlanSciPost.html b/scipost/templates/scipost/PlanSciPost.html index 3b9704f6e5019bd11e049e605a03c912a315ceca..ab8b69f92cfa6e4b52a7b4ea96d116496b2c3335 100644 --- a/scipost/templates/scipost/PlanSciPost.html +++ b/scipost/templates/scipost/PlanSciPost.html @@ -37,7 +37,7 @@ <p class="ml-2 mr-2"> We are ready to launch operations in other fields; for any given field, we require that two simple preconditions (triggers) be met: </p> - <div class="card-deck"> + <div class="card-deck mb-4"> <div class="card"> <div class="card-header"><strong>Academic involvement</strong></div> <div class="card-body"> diff --git a/scipost/templates/scipost/index_sidebar_2.html b/scipost/templates/scipost/index_sidebar_2.html index 6b368e9b6fdff2014b2a866057ce3ac4ed68d44e..1e93aac45b2d8e19fe9e0cde86a7bc561bc2dfe2 100644 --- a/scipost/templates/scipost/index_sidebar_2.html +++ b/scipost/templates/scipost/index_sidebar_2.html @@ -14,7 +14,7 @@ {% if not user.is_authenticated %} <!-- Register --> - <div class="p-3 border bg-light" id="register"> + <div id="register"> <h2>Register</h2> <p class="mb-1">Professional scientists (PhD students and above) can become Contributors to SciPost by filling the <a href="{% url 'scipost:register' %}">registration form</a>.</p> </div><!-- End Register --> @@ -23,7 +23,7 @@ {% endif %} <!-- News --> -<div class="p-3 border bg-light" id="news2"> +<div id="news2"> <h2 class="title"> News <small><a href="{% url 'scipost:feeds' %}"><i class="fa fa-rss"></i></a></small> @@ -49,7 +49,7 @@ <hr class="lg"> <!-- Sponsors --> -<div class="p-3 border bg-light" id="sponsors"> +<div id="sponsors"> <h2>Sponsors</h2> <p> @@ -74,7 +74,7 @@ We invite <a href="{% url 'organizations:organizations' %}">organizations benefi <hr class="lg"> <!-- Summarized --> -<div class="p-3 border bg-light" id="summarized"> +<div id="summarized"> <h2 class="title"><a href="{% url 'journals:journals' %}" class="text-black">Journals</a></h2> <p> SciPost publishes a portfolio of high-quality two-way open access scientific journals.