Skip to content

Commit

Permalink
Remove sign-out button from profile view
Browse files Browse the repository at this point in the history
As the logout in profile view does not work, this hides the logout button from UI.
  • Loading branch information
Gaeldrin committed Jan 13, 2020
1 parent 75d5002 commit 1adc933
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ interface PerunUserProfileViewUiBinder extends UiBinder<Widget, PerunProfileView
// @UiField AnchorListItem loginsXS;
@UiField AnchorListItem settingsXS;

@UiField AnchorListItem logout;
// @UiField AnchorListItem logout;

@UiField NavPills menuPills;

@UiHandler(value="logout")
/* @UiHandler(value="logout")
public void logoutClick(ClickEvent event) {
History.newItem("logout");
}
}*/

@Override
public void setActiveMenuItem(String anchor) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
<b:AnchorListItem visibleOn="XS" ui:field="settingsXS" icon="COG" iconFixedWidth="true" targetHistoryToken="{placeTokens.getSettings}" >
<ui:text from='{trans.menuSettings}'/>
</b:AnchorListItem>
<b:AnchorListItem icon="SIGN_OUT" iconSize="LARGE" ui:field="logout" targetHistoryToken="{placeTokens.getLogout}">
<!--<b:AnchorListItem icon="SIGN_OUT" iconSize="LARGE" ui:field="logout" targetHistoryToken="{placeTokens.getLogout}">
<ui:text from='{trans.logout}'/>
</b:AnchorListItem>
</b:AnchorListItem>-->
</b:NavbarNav>
</g:FocusPanel>
</b:NavbarCollapse>
Expand Down

0 comments on commit 1adc933

Please sign in to comment.