Revision 81134409
Added by Katja Luther about 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/MisapplicationContainerE4.java | ||
---|---|---|
46 | 46 |
TaxonNameEditorE4 editor = getEditor(); |
47 | 47 |
Taxon taxon = editor.getTaxon(); |
48 | 48 |
for (TaxonRelationship rel: taxon.getTaxonRelations(getMisappliedName())){ |
49 |
if (rel.getType().equals(TaxonRelationshipType.MISAPPLIED_NAME_FOR())){
|
|
49 |
if (rel.getType().isAnyMisappliedName()){
|
|
50 | 50 |
misapplication = rel; |
51 | 51 |
break; |
52 | 52 |
} |
... | ... | |
87 | 87 |
|
88 | 88 |
title += sec + getMisappliedName().getSec().getCacheStrategy().getCitation(getMisappliedName().getSec()); |
89 | 89 |
} |
90 |
if (misapplication.getType().equals(TaxonRelationshipType.PRO_PARTE_MISAPPLIED_NAME_FOR()) ){ |
|
91 |
title += " p.p. "; |
|
92 |
} |
|
90 | 93 |
title += author; |
91 | 94 |
title = title.replace("&", "&&"); |
92 | 95 |
setNonEditableInfo(title, false); |
Also available in: Unified diff
ref #7215: add p.p. to pro parte MAN in name editor