Skip to content

Commit

Permalink
Merge pull request #107 from Gaeldrin/hide-logout
Browse files Browse the repository at this point in the history
Remove sign-out button from profile view
  • Loading branch information
zlamalp authored Jan 13, 2020
2 parents 75d5002 + 1adc933 commit 4392cc9
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 4392cc9

Please sign in to comment.