Project

General

Profile

« Previous | Next » 

Revision 7c6896ae

Added by Katja Luther almost 8 years ago

in details view: add infrageneric epithet to all names lower than genus

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NameDetailElement.java
179 179
	}
180 180

  
181 181
	private void createInfragenerericEpithetControls(ICdmFormElement element, NonViralName nonViralName, int style){
182
		if(nonViralName.getRank() != null && nonViralName.getRank().isInfraGeneric() && !nonViralName.getRank().isSpeciesAggregate()){
182
		if(nonViralName.getRank() != null && nonViralName.getRank().isLower(Rank.GENUS()) && !nonViralName.getRank().isSpeciesAggregate()){
183 183
			text_infragenericEpithet = formFactory.createTextWithLabelElement(element, "Infrageneric Epithet", nonViralName.getInfraGenericEpithet(), style);
184 184
		}
185 185
	}

Also available in: Unified diff