From 83b482e051f7af26f5fa7a26a84206a447bbcfc7 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Wed, 16 May 2018 11:03:45 +0200 Subject: [PATCH] Update 3. --- journals/templates/journals/_publication_card_content.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/journals/templates/journals/_publication_card_content.html b/journals/templates/journals/_publication_card_content.html index e48794bec..76a6054b7 100644 --- a/journals/templates/journals/_publication_card_content.html +++ b/journals/templates/journals/_publication_card_content.html @@ -20,7 +20,7 @@ <p class="abstract mb-0 mt-2 py-2" style="display:none;">{{ publication.abstract }}</p> </div> <div class="col-md-auto"> - {% if include_citation_rate %} + {% if include_citation_rate and publication.number_of_citations > 0 %} <h3><span class="badge badge-primary">Cited {{ publication.number_of_citations }} times</span></h3> {% endif %} </div> -- GitLab