diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/GuiStyleConstants.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/GuiStyleConstants.java index 8833be36022..f536737199d 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/GuiStyleConstants.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/GuiStyleConstants.java @@ -22,6 +22,7 @@ public class GuiStyleConstants { public static final String CLASS_BOX = "box"; + public static final String CLASS_BOX_DEFAULT = "box-default"; public static final String CLASS_OBJECT_USER_ICON = "fa fa-user"; public static final String CLASS_OBJECT_USER_ICON_COLORED = CLASS_OBJECT_USER_ICON + " object-user-color"; @@ -60,6 +61,7 @@ public class GuiStyleConstants { public static final String CLASS_OBJECT_WORK_ITEM_ICON = "fa fa-inbox"; public static final String CLASS_OBJECT_WORK_ITEM_ICON_COLORED = CLASS_OBJECT_WORK_ITEM_ICON + " object-task-color"; // TODO + public static final String CLASS_OBJECT_WORK_ITEM_BOX_CSS_CLASSES = "object-task-box"; // TODO public static final String CLASS_OBJECT_CERT_DEF_ICON = "fa fa-certificate"; public static final String CLASS_OBJECT_CERT_DEF_ICON_COLORED = CLASS_OBJECT_CERT_DEF_ICON + " object-task-color"; // TODO @@ -99,6 +101,9 @@ public class GuiStyleConstants { public static final String CLASS_ICON_NO_OBJECTS = "fa fa-times"; public static final String CLASS_ICON_ACTIVATION_ACTIVE = "fa fa-check"; public static final String CLASS_ICON_ACTIVATION_INACTIVE = "fa fa-times"; + public static final String CLASS_ICON_ASSIGNMENTS = "fa fa-bank"; + public static final String CLASS_SHADOW_ICON_REQUEST = "fa fa-pencil-square-o"; + public static final String CLASS_ICON_TACHOMETER = "fa fa-tachometer"; public static final String CLASS_OP_RESULT_STATUS_ICON_UNKNOWN_COLORED = "fa fa-question-circle text-warning"; public static final String CLASS_OP_RESULT_STATUS_ICON_SUCCESS_COLORED = "fa fa-check-circle text-success"; diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java index acaacd2727e..b8aa64c6057 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java @@ -550,6 +550,19 @@ public static String getName(PrismObject object) { return name != null ? name.getOrig() : null; } + + public static String getDisplayNameOrName(PrismObject object) { + if (object == null) { + return null; + } + if (object.canRepresent(OrgType.class)) { + PolyString displayName = getValue(object, OrgType.F_DISPLAY_NAME, PolyString.class); + if (displayName != null && displayName.getOrig() != null) { + return displayName.getOrig(); + } + } + return getName(object); + } public static String getIdentification(ObjectType object) { if (object == null) { diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorDto.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorDto.java index 9e13dc56bf5..84d173b449d 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorDto.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorDto.java @@ -60,9 +60,12 @@ import com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowKindType; /** + * TODO: unify with AssignmentItemDto + * * @author lazyman */ public class AssignmentEditorDto extends SelectableBean implements Comparable { + private static final long serialVersionUID = 1L; private static final Trace LOGGER = TraceManager.getTrace(AssignmentEditorDto.class); diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorDtoType.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorDtoType.java index abee48a7349..a1da5841fa4 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorDtoType.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorDtoType.java @@ -29,22 +29,22 @@ */ public enum AssignmentEditorDtoType { - ORG_UNIT(OrgType.class, OrgType.COMPLEX_TYPE, GuiStyleConstants.CLASS_OBJECT_ORG_ICON_COLORED), + ORG_UNIT(OrgType.class, OrgType.COMPLEX_TYPE, GuiStyleConstants.CLASS_OBJECT_ORG_ICON), - ROLE(RoleType.class, RoleType.COMPLEX_TYPE, GuiStyleConstants.CLASS_OBJECT_ROLE_ICON_COLORED), + ROLE(RoleType.class, RoleType.COMPLEX_TYPE, GuiStyleConstants.CLASS_OBJECT_ROLE_ICON), - SERVICE(ServiceType.class, ServiceType.COMPLEX_TYPE, GuiStyleConstants.CLASS_OBJECT_SERVICE_ICON_COLORED), + SERVICE(ServiceType.class, ServiceType.COMPLEX_TYPE, GuiStyleConstants.CLASS_OBJECT_SERVICE_ICON), - CONSTRUCTION(null, null, GuiStyleConstants.CLASS_OBJECT_RESOURCE_ICON_COLORED); + CONSTRUCTION(null, null, GuiStyleConstants.CLASS_OBJECT_RESOURCE_ICON); private Class type; private QName qname; - private String coloredIconCssClass; + private String iconCssClass; - private AssignmentEditorDtoType(Class type, QName qname, String coloredIconCssClass) { + private AssignmentEditorDtoType(Class type, QName qname, String iconCssClass) { this.type = type; this.qname = qname; - this.coloredIconCssClass = coloredIconCssClass; + this.iconCssClass = iconCssClass; } public Class getType() { @@ -83,7 +83,7 @@ public static AssignmentEditorDtoType getType(QName type) { throw new IllegalArgumentException("Unknown assignment type '" + type + "'."); } - public String getColoredIconCssClass() { - return coloredIconCssClass; + public String getIconCssClass() { + return iconCssClass; } } diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorPanel.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorPanel.java index 6d4562d74c1..f287ae76a8b 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorPanel.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentEditorPanel.java @@ -800,7 +800,7 @@ public String getObject() { if (targetObject == null) { AssignmentEditorDtoType type = assignmentEditorDto.getType(); - return type.getColoredIconCssClass(); + return type.getIconCssClass(); } else { return WebComponentUtil.createDefaultIcon(targetObject); } diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentHeaderPanel.html b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentHeaderPanel.html index 25bbbdcee17..3cae8d718f9 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentHeaderPanel.html +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentHeaderPanel.html @@ -1,5 +1,5 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/PageDashboard.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/PageDashboard.java index c524011021c..ed513f5e5e1 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/PageDashboard.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/PageDashboard.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2015 Evolveum + * Copyright (c) 2010-2016 Evolveum * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,73 +13,48 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package com.evolveum.midpoint.web.page.admin.home; -import java.util.ArrayList; -import java.util.Collection; -import java.util.Collections; -import java.util.List; - -import com.evolveum.midpoint.prism.query.builder.QueryBuilder; -import com.evolveum.midpoint.web.component.breadcrumbs.Breadcrumb; -import com.evolveum.midpoint.xml.ns._public.common.common_3.*; import org.apache.wicket.Component; -import org.apache.wicket.ajax.AjaxRequestTarget; -import org.apache.wicket.model.IModel; import org.apache.wicket.model.Model; -import org.apache.wicket.model.PropertyModel; import org.apache.wicket.request.component.IRequestablePage; -import org.springframework.security.core.Authentication; import com.evolveum.midpoint.gui.api.GuiStyleConstants; -import com.evolveum.midpoint.gui.api.page.PageBase; -import com.evolveum.midpoint.gui.api.util.WebComponentUtil; -import com.evolveum.midpoint.gui.api.util.WebModelServiceUtils; -import com.evolveum.midpoint.prism.PrismContainer; -import com.evolveum.midpoint.prism.PrismContainerValue; import com.evolveum.midpoint.prism.PrismObject; -import com.evolveum.midpoint.prism.PrismReference; -import com.evolveum.midpoint.prism.PrismReferenceValue; import com.evolveum.midpoint.prism.query.EqualFilter; import com.evolveum.midpoint.prism.query.ObjectQuery; -import com.evolveum.midpoint.schema.GetOperationOptions; -import com.evolveum.midpoint.schema.SelectorOptions; +import com.evolveum.midpoint.prism.query.builder.QueryBuilder; import com.evolveum.midpoint.schema.constants.SchemaConstants; import com.evolveum.midpoint.schema.result.OperationResult; -import com.evolveum.midpoint.schema.util.ObjectQueryUtil; import com.evolveum.midpoint.security.api.AuthorizationConstants; import com.evolveum.midpoint.task.api.Task; -import com.evolveum.midpoint.util.exception.CommunicationException; -import com.evolveum.midpoint.util.exception.ConfigurationException; -import com.evolveum.midpoint.util.exception.ObjectNotFoundException; -import com.evolveum.midpoint.util.exception.SchemaException; -import com.evolveum.midpoint.util.exception.SecurityViolationException; import com.evolveum.midpoint.util.logging.Trace; import com.evolveum.midpoint.util.logging.TraceManager; import com.evolveum.midpoint.web.application.AuthorizationAction; import com.evolveum.midpoint.web.application.PageDescriptor; -import com.evolveum.midpoint.web.component.SecurityContextAwareCallable; -import com.evolveum.midpoint.web.component.assignment.AssignmentEditorDtoType; import com.evolveum.midpoint.web.component.box.InfoBoxPanel; import com.evolveum.midpoint.web.component.box.InfoBoxType; -import com.evolveum.midpoint.web.component.util.CallableResult; -import com.evolveum.midpoint.web.page.admin.home.component.AsyncDashboardPanel; -import com.evolveum.midpoint.web.page.admin.home.component.DashboardColor; +import com.evolveum.midpoint.web.component.breadcrumbs.Breadcrumb; import com.evolveum.midpoint.web.page.admin.home.component.DashboardPanel; -import com.evolveum.midpoint.web.page.admin.home.component.MyAccountsPanel; -import com.evolveum.midpoint.web.page.admin.home.component.MyAssignmentsPanel; import com.evolveum.midpoint.web.page.admin.home.component.PersonalInfoPanel; import com.evolveum.midpoint.web.page.admin.home.component.SystemInfoPanel; -import com.evolveum.midpoint.web.page.admin.home.dto.AccountCallableResult; -import com.evolveum.midpoint.web.page.admin.home.dto.AssignmentItemDto; -import com.evolveum.midpoint.web.page.admin.home.dto.SimpleAccountDto; import com.evolveum.midpoint.web.page.admin.resources.PageResources; import com.evolveum.midpoint.web.page.admin.roles.PageRoles; import com.evolveum.midpoint.web.page.admin.server.PageTasks; import com.evolveum.midpoint.web.page.admin.services.PageServices; import com.evolveum.midpoint.web.page.admin.users.PageOrgTree; import com.evolveum.midpoint.web.page.admin.users.PageUsers; +import com.evolveum.midpoint.xml.ns._public.common.common_3.ActivationStatusType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.AvailabilityStatusType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.OperationalStateType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.OrgType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.RoleType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.ServiceType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.TaskExecutionStatusType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.TaskType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.UserType; /** * @author lazyman @@ -90,12 +65,11 @@ @AuthorizationAction(actionUri = AuthorizationConstants.AUTZ_UI_DASHBOARD_URL, label = "PageDashboard.auth.dashboard.label", description = "PageDashboard.auth.dashboard.description")}) public class PageDashboard extends PageAdminHome { + private static final long serialVersionUID = 1L; - private static final Trace LOGGER = TraceManager.getTrace(PageDashboard.class); + private static final Trace LOGGER = TraceManager.getTrace(PageDashboard.class); private static final String DOT_CLASS = PageDashboard.class.getName() + "."; - private static final String OPERATION_LOAD_ACCOUNTS = DOT_CLASS + "loadAccounts"; - private static final String OPERATION_LOAD_ASSIGNMENTS = DOT_CLASS + "loadAssignments"; private static final String ID_INFO_BOX_USERS = "infoBoxUsers"; private static final String ID_INFO_BOX_ORGS = "infoBoxOrgs"; @@ -105,8 +79,6 @@ public class PageDashboard extends PageAdminHome { private static final String ID_INFO_BOX_TASKS = "infoBoxTasks"; private static final String ID_PERSONAL_INFO = "personalInfo"; - private static final String ID_ACCOUNTS = "accounts"; - private static final String ID_ASSIGNMENTS = "assignments"; private static final String ID_SYSTEM_INFO = "systemInfo"; private final Model> principalModel = new Model>(); @@ -128,79 +100,8 @@ protected void createBreadcrumb() { private void initLayout() { initInfoBoxes(); initPersonalInfo(); - initMyAccounts(); - initAssignments(); initSystemInfo(); - -// DraggablesAcceptedByDroppable defaultValues = new DraggablesAcceptedByDroppable("one", "two", "three"); -// DraggableElement draggable1 = new DraggableElement("draggable1"); -// add(draggable1); -// -// -// draggable1.setOutputMarkupId(true); -// -// -// DroppableElement droppable1 = new DroppableElement("droppable1", defaultValues); -// add(droppable1); -// -// add(new DraggableAndDroppableElement("draggableDroppable1", new Model("Drag me!"), defaultValues)); -// -// -// DraggableElement draggable2 = new DraggableElement("draggable2"); -// add(draggable2); -// draggable2.setOutputMarkupId(true); -// -// add(new DraggableAndDroppableElement("draggableDroppable2", new Model("Drag me!"), defaultValues)); -// -// add(new DroppableElement("droppable2", defaultValues)); - } - - private AccountCallableResult> loadAccounts() throws Exception { - LOGGER.debug("Loading accounts."); - - AccountCallableResult callableResult = new AccountCallableResult(); - List list = new ArrayList(); - callableResult.setValue(list); - PrismObject user = principalModel.getObject(); - if (user == null) { - return callableResult; - } - - Task task = createSimpleTask(OPERATION_LOAD_ACCOUNTS); - OperationResult result = task.getResult(); - callableResult.setResult(result); - GetOperationOptions getOpts = GetOperationOptions.createResolve(); - getOpts.setNoFetch(Boolean.TRUE); - Collection> options = - SelectorOptions.createCollection(ShadowType.F_RESOURCE, getOpts); - - - List references = user.asObjectable().getLinkRef(); - for (ObjectReferenceType reference : references) { - PrismObject account = WebModelServiceUtils.loadObject(ShadowType.class, reference.getOid(), - options, this, task, result); - if (account == null) { - continue; - } - - ShadowType accountType = account.asObjectable(); - OperationResultType fetchResult = accountType.getFetchResult(); - - if (fetchResult != null) { - callableResult.getFetchResults().add(OperationResult.createOperationResult(fetchResult)); - } - - ResourceType resource = accountType.getResource(); - String resourceName = WebComponentUtil.getName(resource); - list.add(new SimpleAccountDto(WebComponentUtil.getOrigStringFromPoly(accountType.getName()), resourceName)); - } - result.recordSuccessIfUnknown(); - result.recomputeStatus(); - - LOGGER.debug("Finished accounts loading."); - - return callableResult; } private void initInfoBoxes() { @@ -356,7 +257,9 @@ private Component createTaskInfoBoxPanel(OperationResult result, Task task) { private void initPersonalInfo() { DashboardPanel personalInfo = new DashboardPanel(ID_PERSONAL_INFO, null, - createStringResource("PageDashboard.personalInfo"), "fa fa-fw fa-male", DashboardColor.GRAY) { + createStringResource("PageDashboard.personalInfo"), GuiStyleConstants.CLASS_OBJECT_USER_BOX_CSS_CLASSES, + GuiStyleConstants.CLASS_OBJECT_USER_BOX_CSS_CLASSES) { + private static final long serialVersionUID = 1L; @Override protected Component getMainComponent(String componentId) { @@ -368,9 +271,11 @@ protected Component getMainComponent(String componentId) { private void initSystemInfo() { DashboardPanel systemInfo = new DashboardPanel(ID_SYSTEM_INFO, null, - createStringResource("PageDashboard.systemInfo"), "fa fa-tachometer", DashboardColor.GREEN) { + createStringResource("PageDashboard.systemInfo"), + GuiStyleConstants.CLASS_ICON_TACHOMETER, GuiStyleConstants.CLASS_OBJECT_RESOURCE_BOX_CSS_CLASSES) { + private static final long serialVersionUID = 1L; - @Override + @Override protected Component getMainComponent(String componentId) { return new SystemInfoPanel(componentId); } @@ -378,165 +283,8 @@ protected Component getMainComponent(String componentId) { add(systemInfo); } - private void initMyAccounts() { - AsyncDashboardPanel> accounts = - new AsyncDashboardPanel>(ID_ACCOUNTS, createStringResource("PageDashboard.accounts"), - "fa fa-fw fa-external-link", DashboardColor.BLUE) { - - @Override - protected SecurityContextAwareCallable>> createCallable( - Authentication auth, IModel callableParameterModel) { - return new SecurityContextAwareCallable>>( - getSecurityEnforcer(), auth) { - @Override - public AccountCallableResult> callWithContextPrepared() - throws Exception { - return loadAccounts(); - } - }; - } - - @Override - protected Component getMainComponent(String markupId) { - return new MyAccountsPanel(markupId, - new PropertyModel>(getModel(), CallableResult.F_VALUE)); - } - - @Override - protected void onPostSuccess(AjaxRequestTarget target) { - showFetchResult(); - super.onPostSuccess(target); - } - - @Override - protected void onUpdateError(AjaxRequestTarget target, Exception ex) { - showFetchResult(); - super.onUpdateError(target, ex); - } - - private void showFetchResult() { - AccountCallableResult> result = - (AccountCallableResult>) getModel().getObject(); - - PageBase page = (PageBase) getPage(); - for (OperationResult res : result.getFetchResults()) { - if (!WebComponentUtil.isSuccessOrHandledError(res)) { - page.showResult(res); - } - } - } - }; - add(accounts); - } - private void initAssignments() { - AsyncDashboardPanel> assignedOrgUnits = - new AsyncDashboardPanel>(ID_ASSIGNMENTS, createStringResource("PageDashboard.assignments"), - "fa fa-fw fa-star", DashboardColor.YELLOW) { - - @Override - protected SecurityContextAwareCallable>> createCallable( - Authentication auth, IModel callableParameterModel) { - - return new SecurityContextAwareCallable>>( - getSecurityEnforcer(), auth) { - - @Override - public CallableResult> callWithContextPrepared() throws Exception { - return loadAssignments(); - } - }; - } - - @Override - protected Component getMainComponent(String markupId) { - return new MyAssignmentsPanel(markupId, - new PropertyModel>(getModel(), CallableResult.F_VALUE)); - } - }; - add(assignedOrgUnits); - - } - - private CallableResult> loadAssignments() throws Exception { - LOGGER.debug("Loading assignments."); - CallableResult callableResult = new CallableResult(); - List list = new ArrayList(); - callableResult.setValue(list); - - PrismObject user = principalModel.getObject(); - if (user == null || user.findContainer(UserType.F_ASSIGNMENT) == null) { - return callableResult; - } - - Task task = createSimpleTask(OPERATION_LOAD_ASSIGNMENTS); - OperationResult result = task.getResult(); - callableResult.setResult(result); - - PrismContainer assignments = user.findContainer(UserType.F_ASSIGNMENT); - List values = assignments.getValues(); - for (PrismContainerValue assignment : values) { - AssignmentItemDto item = createAssignmentItem(user, assignment, task, result); - if (item != null) { - list.add(item); - } - } - result.recordSuccessIfUnknown(); - result.recomputeStatus(); - - Collections.sort(list); - - LOGGER.debug("Finished assignments loading."); - - return callableResult; - } - - private AssignmentItemDto createAssignmentItem(PrismObject user, - PrismContainerValue assignment, Task task, OperationResult result) { - PrismReference targetRef = assignment.findReference(AssignmentType.F_TARGET_REF); - if (targetRef == null || targetRef.isEmpty()) { - //account construction - PrismContainer construction = assignment.findContainer(AssignmentType.F_CONSTRUCTION); - String name = null; - String description = null; - if (construction.getValue().asContainerable() != null && !construction.isEmpty()) { - ConstructionType constr = (ConstructionType) construction.getValue().asContainerable(); - description = (String) construction.getPropertyRealValue(ConstructionType.F_DESCRIPTION, String.class); - - if (constr.getResourceRef() != null) { - ObjectReferenceType resourceRef = constr.getResourceRef(); - - PrismObject resource = WebModelServiceUtils.loadObject(ResourceType.class, resourceRef.getOid(), this, task, result); - name = WebComponentUtil.getName(resource); - } - } - - return new AssignmentItemDto(AssignmentEditorDtoType.CONSTRUCTION, name, description, null); - } - - PrismReferenceValue refValue = targetRef.getValue(); - PrismObject value = refValue.getObject(); - if (value == null) { - //resolve reference - value = WebModelServiceUtils.loadObject(ObjectType.class, refValue.getOid(), this, task, result); - } - - if (value == null) { - //we couldn't resolve assignment details - return new AssignmentItemDto(null, null, null, null); - } - - String name = WebComponentUtil.getName(value); - AssignmentEditorDtoType type = AssignmentEditorDtoType.getType(value.getCompileTimeClass()); - String relation = refValue.getRelation() != null ? refValue.getRelation().getLocalPart() : null; - String description = null; - if (RoleType.class.isAssignableFrom(value.getCompileTimeClass())) { - description = (String) value.getPropertyRealValue(RoleType.F_DESCRIPTION, String.class); - } - - return new AssignmentItemDto(type, name, description, relation); - } } diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/component/AsyncDashboardPanel.html b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/component/AsyncDashboardPanel.html index db8f9d98d2b..900db8af506 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/component/AsyncDashboardPanel.html +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/component/AsyncDashboardPanel.html @@ -1,5 +1,5 @@