Project

General

Profile

feature request #7611

task #7596: PhycoBank Portal - Formatting

media types with media uris are clickable

Added by Andreas Kohlbecker 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Priority14
Category:
cdm-dataportal
Target version:
Start date:
07/31/2018
Due date:
% Done:

100%

Severity:
normal
Tags:

Description

Media types should be rendered in the following form depending on their type:

  • unpublished (has collection information): "[icon] {collection} {accession_number}" in case the media url is set the accession number can be rendered as link in webapplications
  • published (no collection information): "[icon] {ref_detail} in {reference}" in case the media url is set the ref_detail can be rendered as link in webapplications

Related issues

Copied from Edit - bug #7608: TypeDesignationSetManager: string representations for media types are missing Closed 07/31/2018

Associated revisions

Revision 723aa98c (diff)
Added by Andreas Kohlbecker 4 months ago

ref #7611 adding clickable external link to media specimen types with uri

Revision 58a5f647 (diff)
Added by Andreas Kohlbecker 4 months ago

ref #7611 implementing typeDesignation media service and MediaDTO

History

#1 Updated by Andreas Kohlbecker 4 months ago

  • Copied from bug #7608: TypeDesignationSetManager: string representations for media types are missing added

#2 Updated by Andreas Kohlbecker 4 months ago

  • Description updated (diff)
  • Status changed from In Progress to Feedback
  • Assignee changed from Andreas Kohlbecker to Wolf-Henning Kusber

It would be much easier to implement if the "[icon]" text would be clickable instead.

What do you think about this idea?

#3 Updated by Wolf-Henning Kusber 4 months ago

  • Assignee changed from Wolf-Henning Kusber to Andreas Kohlbecker

Good idea, than the "[icon]" string makes really sense.

#4 Updated by Andreas Kohlbecker 4 months ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Andreas Kohlbecker to Wolf-Henning Kusber
  • Priority changed from New to Priority14
  • % Done changed from 0 to 50

Implemented, but I needed to display the link to the image as icon, which now directly follows the "[icon]". This was need for consistency with other pages in the dataportal.

Please review.

#5 Updated by Wolf-Henning Kusber 4 months ago

  • Status changed from Resolved to Closed
  • Assignee changed from Wolf-Henning Kusber to Andreas Kohlbecker
  • % Done changed from 50 to 100

Es funktioniert (ist allerdings nicht besonders auffällig).
Beispiel in der Ausgabe http://test.e-taxonomy.eu/dataportal/preview/phycobank/cdm_dataportal/registration/http%253A%252F%252Fphycobank.org%252F100023
PhycoBank ID 100023 mit Link zum MfN

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)