Skip to content

Commit

Permalink
chore: Minor ui fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robinshine committed Oct 17, 2024
1 parent f19e666 commit b4b0dba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</form>
</wicket:fragment>
<wicket:fragment wicket:id="verifiedFrag">
<h6 class="text-success"><wicket:svg href="tick-circle" class="icon icon-lg"/> Two-factor authentication is now configured for your account</h6>
<h4 class="text-success mb-4"><wicket:svg href="tick-circle" class="icon icon-lg"/> Two-factor authentication is now configured</h4>

<div class="mb-3">
<b class="text-danger">IMPORTANT:</b> Please <a wicket:id="download" class="font-weight-bolder">download</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import io.onedev.server.model.User;
import io.onedev.server.web.component.user.twofactorauthentication.TwoFactorAuthenticationStatusPanel;
import io.onedev.server.web.page.admin.usermanagement.UserPage;
import org.apache.wicket.Component;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.request.mapper.parameter.PageParameters;

@SuppressWarnings("serial")
Expand All @@ -30,9 +28,4 @@ protected User getUser() {
});
}

@Override
protected Component newTopbarTitle(String componentId) {
return new Label(componentId, "Two Factor Authentication");
}

}

0 comments on commit b4b0dba

Please sign in to comment.