Skip to content
Snippets Groups Projects
Commit 187c27e8 authored by Johanna Szepanski's avatar Johanna Szepanski
Browse files

Merge branch 'CE-2506-move-created-by-to-management' into 'develop'

CE-2506: Moved created by value from status to management tab

See merge request !453
parents a4c166cc 71ddf130
No related branches found
No related tags found
2 merge requests!497CE-2790: Prepare for 4.0.0,!453CE-2506: Moved created by value from status to management tab
Pipeline #178381 waiting for manual action
......@@ -57,15 +57,7 @@ export function IOCLiveStatus({ ioc }) {
</Typography>
) : (
grayOutNoText
),
"Created by": (
<InternalLink
to={`/user/${ioc.createdBy}`}
label={`Created by, user profile ${ioc.createdBy}`}
>
{ioc.createdBy}
</InternalLink>
)
)
};
return subset;
......
......@@ -33,7 +33,6 @@ function commonTests() {
// Expected in Info table:
cy.contains("ee3ae2a8"); // git reference
cy.contains("Test IOC for CCCE"); // description
cy.contains("johnsparger"); // created by
cy.contains("ccce-w40.cslab.esss.lu.se"); // deployed on
// Expect alerts to be displayed
......
......@@ -13,7 +13,8 @@ import {
userContext,
useAPIMethod,
AlertBannerList,
ExternalLink
ExternalLink,
InternalLink
} from "@ess-ics/ce-ui-common";
import AccessControl from "../../auth/AccessControl";
import { DeploymentStatus } from "../../../api/DataTypes";
......@@ -93,6 +94,14 @@ export function IOCManage({
>
{git}
</ExternalLink>
),
"Created by": (
<InternalLink
to={`/user/${ioc.createdBy}`}
label={`Created by, user profile ${ioc.createdBy}`}
>
{ioc.createdBy}
</InternalLink>
)
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment