Skip to content

Commit

Permalink
UI customisation: Show Git repo, ref, hash & deploy time in status pa…
Browse files Browse the repository at this point in the history
…nel #5
  • Loading branch information
jonnyry committed Dec 10, 2023
1 parent 643e956 commit 22fc70d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/app/src/components/shared/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useState } from 'react';
import { AnimationClassNames, Callout, IconButton, FontWeights, Stack, Text, getTheme, mergeStyles, mergeStyleSets, StackItem, IButtonStyles } from '@fluentui/react';
import { AnimationClassNames, Callout, IconButton, FontWeights, Stack, Text, getTheme, mergeStyles, mergeStyleSets, StackItem, IButtonStyles, Link } from '@fluentui/react';
import { HttpMethod, useAuthApiCall } from '../../hooks/useAuthApiCall';
import { ApiEndpoint } from '../../models/apiEndpoints';
import config from "../../config.json";
Expand Down Expand Up @@ -66,7 +66,7 @@ export const Footer: React.FunctionComponent = () => {
{
uiConfig.gitRef && <Stack horizontal horizontalAlign='space-between'>
<Stack.Item>Git Ref:</Stack.Item>
<Stack.Item>{uiConfig.gitRef}</Stack.Item>
<Stack.Item><a href={`https://www.github.com/${uiConfig.gitRepo}/tree/${uiConfig.gitRef}`} target="_blank" rel='noreferrer'>{uiConfig.gitRef}</a></Stack.Item>
</Stack>
}
{
Expand Down

0 comments on commit 22fc70d

Please sign in to comment.