Skip to content

Commit 4832121

Browse files
committed
[dashboard] use semantic markup for repo owner in error messages
1 parent 2f215b0 commit 4832121

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/dashboard/src/start/CreateWorkspace.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,14 +284,14 @@ function RepositoryNotFoundView(p: { error: StartWorkspaceError }) {
284284

285285
if (!updatedRecently) {
286286
setStatusMessage(<div className="mt-2 flex flex-col space-y-8">
287-
<p className="text-base text-gray-400 w-96">Permission to access private repositories has been granted. If you are a member of '{owner}', please try to request access for Gitpod.</p>
287+
<p className="text-base text-gray-400 w-96">Permission to access private repositories has been granted. If you are a member of <code>{owner}</code>, please try to request access for Gitpod.</p>
288288
<a className="mx-auto" href={authorizeURL}><button className="secondary">Request Access for Gitpod</button></a>
289289
</div>);
290290
return;
291291
}
292292

293293
setStatusMessage(<div className="mt-2 flex flex-col space-y-8">
294-
<p className="text-base text-gray-400 w-96">Your access token was updated recently. Please try again if the repository exists and Gitpod was approved for '{owner}'.</p>
294+
<p className="text-base text-gray-400 w-96">Your access token was updated recently. Please try again if the repository exists and Gitpod was approved for <code>{owner}</code>.</p>
295295
<a className="mx-auto" href={authorizeURL}><button className="secondary">Try Again</button></a>
296296
</div>);
297297
})();

0 commit comments

Comments
 (0)