Project

General

Profile

Actions

bug #8936

closed

Improve default distribution formatting

Added by Andreas Müller about 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Highest
Category:
cdm-dataportal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:

Description

Currently the default is

  • Level 0-Label suffix: ":"
  • Level 1-Item group prefix: ","

This result in Text like

"Southern America:,Brazil (Brazil Northeast); Caribbean (Cuba)

which is not correct.
Better is to use

  • no (or empty) Level 1-Item group prefix and
  • Level 0-Label suffix: ": " (with space after colon)

This results in

Southern America: Brazil (Brazil Northeast); Caribbean (Cuba)

which looks much better and it is the configuration that I always adjust when configuring a new portal.

UPDATE:

The solution to this problem is to introduce an additional parameter. Using the "label_suffix" is incorrect for this purpose.

The following portals are using the "label_suffix" with a values starting with an ":":

http://portal.cybertaxonomy.org/diptera/ ':
http://portal.cybertaxonomy.org/flora-malesiana-prospective/ ':'
http://portal.cybertaxonomy.org/flora-cuba/ ':'
http://portal.cybertaxonomy.org/flora-de-la-republica-de-cuba/ ':'
http://portal.cybertaxonomy.org/rubiaceae-mexico/ ':'
http://portal.cybertaxonomy.org/algaterra/ ':'
http://portal.cybertaxonomy.org/algaterra-new/ ':'
http://portal.cybertaxonomy.org/euromed/ ':'
http://portal.cybertaxonomy.org/roteliste_animalia/ ':'
http://portal.cybertaxonomy.org/roteliste_plantae/ ':'
http://portal.cybertaxonomy.org/flora-uzbekistan/ ':
http://portal.cybertaxonomy.org/lichenes-genera/ ':
http://portal.cybertaxonomy.org/lichenes-cuba/ ':
http://cichorieae.e-taxonomy.net/portal/ ':'
http://campanula.e-taxonomy.net/ ':'
http://phycobank.org/ ':'
http://europlusmed.org/ ':'
http://caryophyllales.org/caryophyllales_spp/ ':'

Further problems causes by the misuse of the label_suffix (copied from #9756):

the footnote key should come before the colon

Example: https://132.248.13.83/cdm_dataportal/taxon/5ac79016-327e-4318-b9d8-128ddc524502 (Egeria densa Planch.)


Files

picture423-1.png (20.8 KB) picture423-1.png Andreas Kohlbecker, 09/13/2021 01:42 PM
picture714-1.png (27.7 KB) picture714-1.png Andreas Müller, 09/22/2021 08:02 PM
picture035-1.png (11.7 KB) picture035-1.png Andreas Müller, 09/23/2021 01:03 PM
picture035-3.png (9.8 KB) picture035-3.png Andreas Müller, 09/23/2021 01:03 PM
picture953-1.png (22.7 KB) picture953-1.png Andreas Kohlbecker, 09/24/2021 01:31 PM

Related issues

Has duplicate EDIT - bug #9756: Footnote key placement in hierarchical distributions improved DuplicateAndreas Kohlbecker

Actions
Actions

Also available in: Atom PDF