From 34d9209227d887429848c84ffa920f8558bd1da5 Mon Sep 17 00:00:00 2001 From: "Luis M. Rodriguez-R" Date: Sun, 28 Jul 2024 17:41:11 +0200 Subject: [PATCH] Update _wikispecies_page.html.erb --- app/views/names/wiki/_wikispecies_page.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/names/wiki/_wikispecies_page.html.erb b/app/views/names/wiki/_wikispecies_page.html.erb index 3f93f11..6cf3cdc 100644 --- a/app/views/names/wiki/_wikispecies_page.html.erb +++ b/app/views/names/wiki/_wikispecies_page.html.erb @@ -36,7 +36,7 @@ Species: <%= @name.name_wiki(no_candidatus: true, link: true) %> when 'order' '{{ordo' + last + '|' + name.base_name + '}}' else - '[[' + name.base_name + ']]' + (' - ' unless last.present?) + '[[' + name.base_name + ']]' + (last.present? ? ' - ' : '') end %> <%= wiki_link %>