Skip to content

Commit e2b1026

Browse files
committed
GitIssue#4058 Retrieve & Display Connect Project Billing Account
1 parent 8dd436a commit e2b1026

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ workflows:
128128
- build-dev
129129
filters:
130130
branches:
131-
only: ['dev', 'feature/RS256-IdToken-backcompatibility']
131+
only: ['dev']
132132

133133
- deployTest01:
134134
context : org-global

src/projects/detail/containers/ProjectInfoContainer.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ class ProjectInfoContainer extends React.Component {
498498
const isProjectActive = project.status === PROJECT_STATUS_ACTIVE
499499
const isV3Project = project.version === 'v3'
500500
const projectCanBeActive = !isV3Project || (!isProjectActive && hasReviewedOrActivePhases) || isProjectActive
501+
const BillingInfo = project.billingAccountId ? `BillingAccountId - ${project.billingAccountId}` : 'Billing Account Not Attached'
501502

502503
return (
503504
<div>
@@ -553,6 +554,16 @@ class ProjectInfoContainer extends React.Component {
553554
<ProjectDirectLinks
554555
directLinks={directLinks}
555556
/>
557+
{project.billingAccountId ?
558+
<div styleName="billing-account-info">
559+
{BillingInfo}
560+
</div>
561+
:
562+
<div styleName="billing-account-info">
563+
{BillingInfo}
564+
</div>
565+
566+
}
556567
</div>}
557568

558569
{!hideInfo && <div styleName="project-status-toggle">

src/projects/detail/containers/ProjectInfoContainer.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@
4848
letter-spacing: 0.8px;
4949
}
5050

51+
.administration-section .billing-account-info {
52+
@include roboto-medium;
53+
font-size: $tc-label-md;
54+
color: $tc-gray-40;
55+
line-height: $base-unit*6;
56+
padding-left: 4 * $base_unit;
57+
58+
@media screen and (max-width: $screen-md - 1px) {
59+
padding-bottom: 4 * $base_unit;
60+
}
61+
}
62+
5163
.all-project-link-wrapper {
5264
display: flex;
5365
padding: 20px;
@@ -60,6 +72,8 @@
6072
margin-top: 20px;
6173
padding: 5px 0;
6274

75+
76+
6377
:global {
6478
.panel {
6579
// avoid double padding for editable project status

0 commit comments

Comments
 (0)