diff --git a/Assistant/WebApp/Configurators.hs b/Assistant/WebApp/Configurators.hs index 449c401734..cc72311366 100644 --- a/Assistant/WebApp/Configurators.hs +++ b/Assistant/WebApp/Configurators.hs @@ -47,11 +47,8 @@ introDisplay ident = do repolist <- lift $ repoList True False let n = length repolist let numrepos = show n - let notenough = n < enough $(widgetFile "configurators/intro") lift $ modifyWebAppState $ \s -> s { showIntro = False } - where - enough = 2 {- Lists known repositories, followed by options to add more. -} getRepositoriesR :: Handler RepHtml diff --git a/templates/configurators/intro.hamlet b/templates/configurators/intro.hamlet index 544b039a79..f3651c4cb9 100644 --- a/templates/configurators/intro.hamlet +++ b/templates/configurators/intro.hamlet @@ -4,7 +4,7 @@ git-annex is watching over your files in #{reldir}
It will automatically notice changes, and keep files in sync # - $if notenough + $if (null repolist) with repositories elsewhere ...