From 857b73052cbeb78ca209a32764a7c3b556ff6906 Mon Sep 17 00:00:00 2001 From: Lombiq Date: Sun, 18 Jan 2015 19:14:10 +0100 Subject: [PATCH] Formatting theme templates. --- .../Orchard.Themes/Views/Admin/Index.cshtml | 10 ++++++---- .../Orchard.Themes/Views/ThemeEntry.Current.cshtml | 14 ++++++++------ .../Modules/Orchard.Themes/Views/ThemeEntry.cshtml | 10 +++++----- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.cshtml b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.cshtml index 899459b91..751bd1496 100644 --- a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.cshtml @@ -12,7 +12,8 @@ @T("There is no current theme in the application. The built-in theme will be used.")
@Html.ActionLink(T("Install a new Theme").ToString(), "Install")

-} else { +} +else {

@T("Current Theme")

@Display.ThemeEntry_Current(Theme: Model.CurrentTheme) @@ -21,13 +22,14 @@

@T("Available")

@if (Model.InstallThemes) { - @Html.ActionLink(T("Install a theme from your computer").ToString(), "AddTheme", "PackagingServices", new { area = "Orchard.Packaging", returnUrl = HttpContext.Current.Request.RawUrl }, null) -} + @Html.ActionLink(T("Install a theme from your computer").ToString(), "AddTheme", "PackagingServices", new { area = "Orchard.Packaging", returnUrl = HttpContext.Current.Request.RawUrl }, null) + }
@if (Model.Themes == null || Model.Themes.Count() <= 0) {

@T("There are no additional themes installed.")

-} else { +} +else {