Skip to content

Commit

Permalink
use helper
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz committed Jan 3, 2025
1 parent 95d2be2 commit ebc214e
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,17 +353,13 @@ qx.Class.define("osparc.auth.LoginPage", {
});
versionLinkLayout.add(createReleaseNotesLink);

const organizationLink = new osparc.ui.basic.LinkLabel().set({
textColor: "text-darker"
});
const vendor = osparc.store.VendorInfo.getInstance().getVendor();
if (vendor && "url" in vendor && "copyright" in vendor) {
organizationLink.set({
value: vendor.copyright,
url: vendor.url
const copyrightLink = osparc.product.Utils.getCopyrightLink();
if (copyrightLink) {
copyrightLink.set({
textColor: "text-darker"
});
versionLinkLayout.add(copyrightLink);
}
versionLinkLayout.add(organizationLink);

versionLinkLayout.add(new qx.ui.core.Spacer(), {
flex: 1
Expand Down

0 comments on commit ebc214e

Please sign in to comment.