move local repo list out of control menu

This commit is contained in:
Joey Hess 2013-01-03 16:34:57 -04:00
parent 4c0fb330eb
commit 09cbbaf537
8 changed files with 36 additions and 28 deletions

View file

@ -148,8 +148,6 @@ getNewRepositoryR = page "Add another repository" (Just Configuration) $ do
u <- liftIO $ initRepo True path Nothing
runAnnex () $ setStandardGroup u ClientGroup
liftIO $ addAutoStart path
otherrepos <- liftIO $ listOtherRepos
modifyWebAppState $ \s -> s { otherRepos = otherrepos }
redirect $ SwitchToRepositoryR path
_ -> $(widgetFile "configurators/newrepository")