#1694: Moving module / theme install from gallery to packaging services and changing themes / module modules dependencies.

--HG--
branch : dev
This commit is contained in:
Andre Rodrigues
2010-12-06 11:43:00 -08:00
parent 8a9b41a3be
commit b8c23d0f82
9 changed files with 122 additions and 92 deletions

View File

@@ -69,7 +69,8 @@ namespace Orchard.Themes.Controllers {
return View(new ThemesIndexViewModel {
CurrentTheme = currentTheme, Themes = themes,
InstallThemes = _featureManager.GetEnabledFeatures().FirstOrDefault(f => f.Id == "Gallery") != null });
InstallThemes = _featureManager.GetEnabledFeatures().FirstOrDefault(f => f.Id == "PackagingServices") != null
});
}
catch (Exception exception) {
Services.Notifier.Error(T("Listing themes failed: " + exception.Message));