Skip to content

Commit

Permalink
SWC-6619
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-hodgson committed Nov 27, 2023
1 parent 091f516 commit 75115f4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.google.inject.Inject;
import org.gwtbootstrap3.client.ui.Anchor;
import org.gwtbootstrap3.client.ui.Button;
import org.gwtbootstrap3.client.ui.Column;
import org.gwtbootstrap3.client.ui.FormGroup;
import org.gwtbootstrap3.client.ui.HelpBlock;
import org.gwtbootstrap3.client.ui.Row;
Expand Down Expand Up @@ -113,7 +114,7 @@ public interface Binder
Anchor changePasswordLink;

@UiField
Row orcIDContainer;
Column orcIDContainer;

@UiField
Anchor orcIdLink;
Expand Down Expand Up @@ -387,11 +388,12 @@ public void setSynAlert(IsWidget w) {

@Override
public void setOwnerId(String userId) {
ReactNode accountLevelBadgeComponent = React.createElementWithSynapseContext(
SRC.SynapseComponents.AccountLevelBadge,
AccountLevelBadgeProps.create(userId),
propsProvider.getJsInteropContextProps()
);
ReactNode accountLevelBadgeComponent =
React.createElementWithSynapseContext(
SRC.SynapseComponents.AccountLevelBadge,
AccountLevelBadgeProps.create(userId),
propsProvider.getJsInteropContextProps()
);
accountLevelBadgeContainer.render(accountLevelBadgeComponent);

UserProfileLinksProps props = UserProfileLinksProps.create(userId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@
</b:FormGroup>
</b:Column>
</b:Row>
<b:Row ui:field="orcIDContainer">
<b:Column size="MD_12,LG_6">
<b:Row>
<b:Column size="MD_12,LG_6" ui:field="orcIDContainer">
<b:FormGroup>
<b:FormLabel for="orcId">ORCID</b:FormLabel>
<bh:Div>
Expand Down

0 comments on commit 75115f4

Please sign in to comment.