Skip to content
Snippets Groups Projects
Verified Commit d5537c46 authored by Dorian Koch's avatar Dorian Koch
Browse files

Shorten git commit hashes, Closes #45

parent b45e9700
No related branches found
No related tags found
No related merge requests found
Pipeline #6240 passed
......@@ -621,17 +621,20 @@ function Footer({ status }: { status?: GetStatusResponse }) {
"https://git.fsmpi.rwth-aachen.de/videoag/frontend/-/tree/" +
(process.env.NEXT_PUBLIC_GIT_COMMIT_HASH ?? "live_production")
}
title={process.env.NEXT_PUBLIC_GIT_COMMIT_HASH ?? "unknown"}
>
{process.env.NEXT_PUBLIC_GIT_COMMIT_HASH ?? "unknown"}
{process.env.NEXT_PUBLIC_GIT_COMMIT_HASH?.substring(0, 8) ??
"unknown"}
</a>
; Back:{" "}
<a
href={
"https://git.fsmpi.rwth-aachen.de/videoag/backend_api/-/tree/" +
(status?.git_commit_hash ?? "live_production")
(status?.git_commit_hash ?? "main")
}
title={status?.git_commit_hash ?? "unknown"}
>
{status?.git_commit_hash ?? "unknown"}
{status?.git_commit_hash?.substring(0, 8) ?? "unknown"}
</a>
, {status?.status ?? "unknown"}
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment