From 4307ea632f38c0aea91206b2bd23dde3cf0a4e85 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Mon, 29 Oct 2018 20:39:08 +0100 Subject: [PATCH] Improve presentation --- journals/templates/journals/publication_detail.html | 2 +- ontology/templates/ontology/_topic_card.html | 2 ++ ontology/templates/ontology/ontology.html | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/journals/templates/journals/publication_detail.html b/journals/templates/journals/publication_detail.html index b640b83dc..06602747b 100644 --- a/journals/templates/journals/publication_detail.html +++ b/journals/templates/journals/publication_detail.html @@ -115,7 +115,7 @@ <li class="list-inline-item"> <form class="form-inline" action="{% url 'journals:publication_add_topic' doi_label=publication.doi_label %}" method="post"> <ul class="list-inline"> - <li class="list-inline-item">Add a Topic:</li> + <li class="list-inline-item">Add an existing Topic:</li> <li class="list-inline-item">{% csrf_token %}{{ select_topic_form }}</li> <li class="list-inline-item"><input class="btn btn-outline-secondary" type="submit" value="Link"></li> </ul> diff --git a/ontology/templates/ontology/_topic_card.html b/ontology/templates/ontology/_topic_card.html index 3c0167e24..337fd0495 100644 --- a/ontology/templates/ontology/_topic_card.html +++ b/ontology/templates/ontology/_topic_card.html @@ -44,6 +44,7 @@ </div> <div class="card-body"> + {% if relations_asym or topic.relationsym_set.all or perms.scipost.can_manage_ontology %} <h4>Relations to other Topics</h4> <div class="row mb-0"> <div class="col-6"> @@ -76,6 +77,7 @@ </div> </div> <hr/> + {% endif %} <div class="card-deck"> <div class="card"> <div class="card-header"> diff --git a/ontology/templates/ontology/ontology.html b/ontology/templates/ontology/ontology.html index 2e774cfee..7f88184d8 100644 --- a/ontology/templates/ontology/ontology.html +++ b/ontology/templates/ontology/ontology.html @@ -31,9 +31,12 @@ <li>identifying thematic areas for which the editorial workforce should be increased</li> <li>providing Editors-in-charge with referee suggestions</li> <li>giving readers a way to identify interesting published content</li> - <li>assist our internal metadata- and content-driven engines</li> + <li>assisting our internal metadata- and content-driven engines.</li> </ul> </p> + <p> + The Ontology is currently under development. + </p> </div> </div> -- GitLab