Skip to content

Commit 10e80fe

Browse files
author
Laurie T. Malau
committed
Updates
1 parent d5e49c2 commit 10e80fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/dashboard/src/projects/NewProject.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export default function NewProject() {
277277

278278
const renderRepos = () => (<>
279279
<p className="text-gray-500 text-center text-base">Projects allow you to manage prebuilds and workspaces for your repository. <a href="https://www.gitpod.io/docs/teams-and-projects" rel="noopener" className="gp-link">Learn more</a></p>
280-
<p className="text-gray-500 text-center text-base mt-12">Select account on <b>{selectedProviderHost}</b> (<a className="gp-link cursor-pointer" onClick={() => setShowGitProviders(true)}>change</a>)</p>
280+
<p className="text-gray-500 text-center text-base mt-12">{loaded && noReposAvailable ? 'Select account on ' : 'Select a git repository on '}<b>{selectedProviderHost}</b> (<a className="gp-link cursor-pointer" onClick={() => setShowGitProviders(true)}>change</a>)</p>
281281
<div className={`mt-2 flex-col ${noReposAvailable && isGitHub() ? 'w-96' : ''}`}>
282282
<div className="px-8 flex flex-col space-y-2" data-analytics='{"label":"Identity"}'>
283283
<ContextMenu classes="w-full left-0 cursor-pointer" menuEntries={getDropDownEntries(accounts)}>
@@ -334,7 +334,7 @@ export default function NewProject() {
334334
{loaded && noReposAvailable && isGitHub() && (<div>
335335
<div className="px-12 py-20 text-center text-gray-500 bg-gray-50 dark:bg-gray-800 rounded-xl">
336336
<span className="dark:text-gray-400">
337-
Additional authorization is required to allow access to your repositories and trigger prebuilds for every new push to any of your branches.
337+
Additional authorization is required for our GitHub App to watch your repositories and trigger prebuilds.
338338
</span>
339339
<br />
340340
<button className="mt-6" onClick={() => reconfigure()}>Configure Gitpod App</button>
@@ -343,7 +343,7 @@ export default function NewProject() {
343343
</div>
344344

345345
</div>
346-
{isGitHub() && (
346+
{reposInAccounts.length > 0 && isGitHub() && (
347347
<div>
348348
<div className="text-gray-500 text-center w-96 mx-8">
349349
Repository not found? <a href="javascript:void(0)" onClick={e => reconfigure()} className="text-gray-400 underline underline-thickness-thin underline-offset-small hover:text-gray-600">Reconfigure</a>

0 commit comments

Comments
 (0)