From 9a72b491e73ceb0d24b1190e25c4d2edafec52c4 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Sun, 10 Sep 2017 17:53:30 +0200 Subject: [PATCH] Unify publication card styled --- scipost/templates/scipost/personal_page.html | 12 +++++++----- scipost/templates/scipost/vet_authorship_claims.html | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/scipost/templates/scipost/personal_page.html b/scipost/templates/scipost/personal_page.html index 7e23f9373..6776d069f 100644 --- a/scipost/templates/scipost/personal_page.html +++ b/scipost/templates/scipost/personal_page.html @@ -395,16 +395,18 @@ {# {% if own_publications %}#} <div class="row" id="mypublicationslist"> <div class="col-12"> - <h3>Publications for which you are identified as an author:</h3> + <h3 class="mb-3">Publications for which you are identified as an author:</h3> </div> <div class="col-12"> - <ul class="list-group list-group-flush"> + <ul class="list-unstyled"> {% for pub in own_publications %} - <li class="list-group-item"> - {% include 'journals/_publication_card_content.html' with publication=pub current_user=request.user %} + <li> + <div class="card card-grey card-publication" id="{{pub.doi_label}}"> + {% include 'journals/_publication_card_content.html' with publication=pub current_user=request.user %} + </div> </li> {% empty %} - <li class="list-group-item"> + <li> <em>No Publications found</em> </li> {% endfor %} diff --git a/scipost/templates/scipost/vet_authorship_claims.html b/scipost/templates/scipost/vet_authorship_claims.html index 7d09ae462..54711cdaa 100644 --- a/scipost/templates/scipost/vet_authorship_claims.html +++ b/scipost/templates/scipost/vet_authorship_claims.html @@ -34,7 +34,7 @@ <ul class="list-group list-group-flush"> {% for claim in claims_to_vet %} - <li class="list-group-item"> + <li class="list-unstyled"> <div class="card w-100"> {% if claim.publication %} <div class="card-header"> -- GitLab