File tree 1 file changed +24
-5
lines changed
components/dashboard/src/teams
1 file changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import { ReactComponent as Spinner } from "../icons/Spinner.svg";
24
24
import { ReactComponent as UsageIcon } from "../images/usage-default.svg" ;
25
25
import { BillingMode } from "@gitpod/gitpod-protocol/lib/billing-mode" ;
26
26
import { toRemoteURL } from "../projects/render-utils" ;
27
+ import PillLabel from "../components/PillLabel" ;
27
28
28
29
function TeamUsage ( ) {
29
30
const { teams } = useContext ( TeamsContext ) ;
@@ -177,11 +178,29 @@ function TeamUsage() {
177
178
{ getBillingHistory ( ) }
178
179
</ div >
179
180
{ ! isLoading && (
180
- < div className = "flex flex-col truncate" >
181
- < div className = "text-base text-gray-500" > Total usage</ div >
182
- < div className = "flex text-lg text-gray-600 font-semibold" >
183
- < CreditsSvg className = "my-auto mr-1" />
184
- < span > { totalCreditsUsed } Credits</ span >
181
+ < div >
182
+ < div className = "flex flex-col truncate" >
183
+ < div className = "text-base text-gray-500" > Total usage</ div >
184
+ < div className = "flex text-lg text-gray-600 font-semibold" >
185
+ < CreditsSvg className = "my-auto mr-1" />
186
+ < span > { totalCreditsUsed } Credits</ span >
187
+ </ div >
188
+ </ div >
189
+ < div className = "flex flex-col truncate" >
190
+ < div className = "text-sm text-gray-500" >
191
+ Usage is currently in{ " " }
192
+ < PillLabel
193
+ type = "warn"
194
+ className = "font-semibold mt-2 py-0.5 px-1 self-center"
195
+ >
196
+ Beta
197
+ </ PillLabel > { " " }
198
+ </ div >
199
+ < div >
200
+ < a href = "#" className = "gp-link" >
201
+ Send feedback
202
+ </ a >
203
+ </ div >
185
204
</ div >
186
205
</ div >
187
206
) }
You can’t perform that action at this time.
0 commit comments