Skip to content

Commit

Permalink
request access menu and icon fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed May 26, 2022
1 parent 26d8fd6 commit ba0638f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public class GuiStyleConstants {
public static final String CLASS_ICON_PROFILE = "fa fa-user";
public static final String CLASS_ICON_CREDENTIALS = "fa fa-shield-alt";
public static final String CLASS_ICON_REQUEST = "fa fa-pen-square";
public static final String CLASS_ICON_REQUEST_ACCESS ="fas fa-plus-circle";
public static final String CLASS_ICON_CONSENT = "fa fa-check-square";

public static final String CLASS_APPROVAL_OUTCOME_ICON_UNKNOWN_COLORED = "fa fa-check text-warning";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.evolveum.midpoint.cases.api.util.QueryUtils;
import com.evolveum.midpoint.gui.impl.page.admin.cases.PageCase;
import com.evolveum.midpoint.gui.impl.page.admin.resource.PageResource;
import com.evolveum.midpoint.gui.impl.page.self.PageRequestAccess;
import com.evolveum.midpoint.prism.PrismContext;
import com.evolveum.midpoint.prism.PrismObject;
import com.evolveum.midpoint.web.application.CollectionInstance;
Expand Down Expand Up @@ -309,6 +310,8 @@ private SideBarMenuItem createSelfServiceMenu(boolean experimentalFeaturesEnable
if (WebModelServiceUtils.getLoggedInFocus() instanceof UserType) {
menu.addMainMenuItem(createMainMenuItem("PageAdmin.menu.request", GuiStyleConstants.CLASS_ICON_REQUEST,
PageAssignmentShoppingCart.class));
// menu.addMainMenuItem(createMainMenuItem("PageRequestAccess.title", GuiStyleConstants.CLASS_ICON_REQUEST_ACCESS,
// PageRequestAccess.class));
}
menu.addMainMenuItem(createMainMenuItem("PageAdmin.menu.consent", GuiStyleConstants.CLASS_ICON_CONSENT,
PageSelfConsents.class));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<html xmlns:wicket="http://wicket.apache.org">
<wicket:panel>
<div class="d-flex flex-column align-items-center mt-5">
<h2>Who are you requesting for?</h2>
<h5>Select for whom do you want to request access whether it's you or group of team members</h5>
<h2><wicket:message key="PersonOfInterestPanel.title"/></h2>
<h5><wicket:message key="PersonOfInterestPanel.subtitle"/></h5>
<div class="d-flex flex-wrap gap-3 justify-content-center mt-5">
<div wicket:id="myself"/>
<div wicket:id="group"/>
Expand Down

0 comments on commit ba0638f

Please sign in to comment.