Skip to content

Commit

Permalink
[dashboard] use semantic markup for repo owner in error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
trumbitta committed Dec 21, 2021
1 parent 2f215b0 commit 4832121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/dashboard/src/start/CreateWorkspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,14 +284,14 @@ function RepositoryNotFoundView(p: { error: StartWorkspaceError }) {

if (!updatedRecently) {
setStatusMessage(<div className="mt-2 flex flex-col space-y-8">
<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>
<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>
<a className="mx-auto" href={authorizeURL}><button className="secondary">Request Access for Gitpod</button></a>
</div>);
return;
}

setStatusMessage(<div className="mt-2 flex flex-col space-y-8">
<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>
<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>
<a className="mx-auto" href={authorizeURL}><button className="secondary">Try Again</button></a>
</div>);
})();
Expand Down

0 comments on commit 4832121

Please sign in to comment.