Revision 843f448b
Added by Andreas Kohlbecker about 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/component/registration/RegistrationItem.java | ||
---|---|---|
59 | 59 |
public class RegistrationItem extends GridLayout { |
60 | 60 |
|
61 | 61 |
|
62 |
/** |
|
63 |
* |
|
64 |
*/ |
|
65 |
public static final String STYLE_NAME_BLOCKED = "blocked"; |
|
66 |
|
|
62 | 67 |
private static final String LABEL_CAPTION_CREATED = "Created"; |
63 | 68 |
|
64 | 69 |
private static final String LABEL_CAPTION_PUBLISHED = "Published"; |
... | ... | |
258 | 263 |
|
259 | 264 |
if(regDto != null && regDto.isBlocked()){ |
260 | 265 |
getBlockedByButton().setEnabled(true); |
261 |
getBlockedByButton().addStyleName("blocked");
|
|
266 |
getBlockedByButton().addStyleName(STYLE_NAME_BLOCKED);
|
|
262 | 267 |
} |
263 | 268 |
|
264 | 269 |
labelMarkup.append(citationString); |
Also available in: Unified diff
fix #7247 TypeDesignationSetManager uses typedesignation itself as base entity for NameTypeDesignations