@model Orchard.Themes.ViewModels.ThemesIndexViewModel @{ Style.Require("ThemesAdmin"); }

@Html.TitleForPage(T("Manage Themes").ToString())

@if (Model.CurrentTheme == null) {

@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 {

@T("Current Theme") - @Model.CurrentTheme.Name

@Html.Image(Href(Html.ThemePath(Model.CurrentTheme, "/Theme.png")), Html.Encode(Model.CurrentTheme.Name), new { @class = "themePreviewImage" })
@T("By") @Model.CurrentTheme.Author

@T("Version:") @Model.CurrentTheme.Version
@Model.CurrentTheme.Description
@Model.CurrentTheme.WebSite

@Html.ActionLink(T("Install a new Theme").ToString(), "Install", null, new { @class = "button primaryAction" }) }

@T("Available Themes")