Just updated the message "A Published project cannot be updated"
This commit is contained in:
parent
a89dd687cb
commit
1844c32a4b
|
@ -1530,7 +1530,7 @@ public class GeoPortalDataEntryApp implements EntryPoint {
|
||||||
String phase = resultDocumentDV.getLifecycleInfo().getPhase();
|
String phase = resultDocumentDV.getLifecycleInfo().getPhase();
|
||||||
if(phase!=null && phase.compareToIgnoreCase(WORKFLOW_PHASE.PUBLISHED.getLabel())==0) {
|
if(phase!=null && phase.compareToIgnoreCase(WORKFLOW_PHASE.PUBLISHED.getLabel())==0) {
|
||||||
|
|
||||||
Alert alert = new Alert("Published project cannot be edited/updated.");
|
Alert alert = new Alert("A '"+WORKFLOW_PHASE.PUBLISHED.getLabel()+"' project cannot be updated.");
|
||||||
alert.setType(AlertType.WARNING);
|
alert.setType(AlertType.WARNING);
|
||||||
alert.setClose(false);
|
alert.setClose(false);
|
||||||
modal3.add(alert);
|
modal3.add(alert);
|
||||||
|
|
Loading…
Reference in New Issue