Project

General

Profile

Revision 2de4677e

ID2de4677ebf72158a33a70d87e9794feb5f1269d1
Parent d7747faf
Child 80b55fda

Added by Andreas Kohlbecker 4 months ago

fix #9721 individual labels for specimen scans

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/dto/DerivationTreeSummaryDTO.java
126 126
                    // specimen scan
127 127
                    if (media.getKindOfUnit().getUuid().equals(DefinedTerm.uuidSpecimenScan)) {
128 128
                        derivateDataDTO.addSpecimenScanUuid(media.getMediaSpecimen().getUuid());
129
                        String imageLinkText = "scan";
130
                        imageLinkText = specimenIdentifier;
129
                        String imageLinkText = "scan of " + specimenIdentifier;
130
                        if(CdmUtils.isNotBlank(media.getMediaSpecimen().getTitleCache())) {
131
                            imageLinkText = media.getMediaSpecimen().getTitleCache();
132
                        }
131 133
                        derivateDataDTO.addSpecimenScan(mediaUri, imageLinkText);
132 134
                    }
133 135
                    // detail image

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)