diff --git a/src/Orchard.Web/Modules/Orchard.Modules/Views/Admin/Index.cshtml b/src/Orchard.Web/Modules/Orchard.Modules/Views/Admin/Index.cshtml
index ec095798f..eb8dc793a 100644
--- a/src/Orchard.Web/Modules/Orchard.Modules/Views/Admin/Index.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Modules/Views/Admin/Index.cshtml
@@ -23,7 +23,7 @@
if (Model.Modules.Any()) {
- @if (Model.ContentPart.Notifications != null && Model.ContentPart.Notifications.Count > 0) {
+ @if (module.Notifications != null && module.Notifications.Count > 0) {
- @foreach (string notification in Model.ContentPart.Notifications) {
+ @foreach (string notification in module.Notifications) {
@Html.Raw(notification)
}
}
-
class="@moduleClasses"}}>@Model.ContentPart.Descriptor.Name - @T("Version: {0}", !string.IsNullOrEmpty(Model.ContentPart.Descriptor.Version) ? Model.ContentPart.Descriptor.Version : T("1.0").ToString())
+
class="@moduleClasses"}}>@module.Descriptor.Name - @T("Version: {0}", !string.IsNullOrEmpty(module.Descriptor.Version) ? module.Descriptor.Version : T("1.0").ToString())
- @if (!string.IsNullOrEmpty(Model.ContentPart.Descriptor.Description)) {
-
@Model.ContentPart.Descriptor.Description
+ @if (!string.IsNullOrEmpty(module.Descriptor.Description)) {
+
@module.Descriptor.Description
}
- @{ IEnumerable features = Model.ContentPart.Descriptor.Features; }
+ @{ IEnumerable features = module.Descriptor.Features; }
- @T("Features: {0}", MvcHtmlString.Create(string.Join(", ", features.Select(f => Html.Link(string.IsNullOrEmpty(f.Name) ? f.Id : f.Name, string.Format("{0}#{1}", Url.Action("features", new { area = "Orchard.Modules" }), f.Id.AsFeatureId(n => T(n)))).ToString()).OrderBy(s => s).ToArray())))
- - | @T("Author: {0}", !string.IsNullOrEmpty(Model.ContentPart.Descriptor.Author) ? Model.ContentPart.Descriptor.Author : T("Unknown").ToString())
+ - | @T("Author: {0}", !string.IsNullOrEmpty(module.Descriptor.Author) ? module.Descriptor.Author : T("Unknown").ToString())
- | @T("Website: ")
- @if (!string.IsNullOrEmpty(Model.ContentPart.Descriptor.WebSite)) { @Model.ContentPart.Descriptor.WebSite }
+ @if (!string.IsNullOrEmpty(module.Descriptor.WebSite)) { @module.Descriptor.WebSite }
else { @T("Unknown").ToString() }