Project

General

Profile

« Previous | Next » 

Revision cfbcbdcb

Added by Katja Luther about 3 years ago

ref #7913: remove author for journal, print series in taxeditor

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/ReferenceDetailElement.java
126 126
		// abbreviated title
127 127
		text_abbrevTitle = formFactory.createTextWithLabelElement(formElement,
128 128
		        "Nomencl. Title", entity.getAbbrevTitle(), style);
129

  
129
		ReferenceType referenceType = entity.getType();
130 130
		// author team
131
		selection_authorTeam = formFactory
132
				.createSelectionElement(AgentBase.class,//getConversationHolder(),
133
				        formElement, "Author",
134
						entity.getAuthorship(),
135
						EntitySelectionElement.ALL, style);
131
		if(referenceType != null && !referenceType.equals(ReferenceType.Journal) && !!referenceType.equals(ReferenceType.PrintSeries) ) {
132
            selection_authorTeam = formFactory
133
            		.createSelectionElement(AgentBase.class,//getConversationHolder(),
134
            		        formElement, "Author",
135
            				entity.getAuthorship(),
136
            				EntitySelectionElement.ALL, style);
137
        }
138

  
136 139

  
137
		ReferenceType referenceType = entity.getType();
138 140

  
139 141
		if (referenceType != null) {
140 142

  

Also available in: Unified diff