From 17a9065b3c0a4e04ea5e40493a07fadc276101bc Mon Sep 17 00:00:00 2001 From: jowall Date: Fri, 5 Mar 2010 15:57:25 -0800 Subject: [PATCH] Hid the blog edit link in the classic theme. Updated the dashboard title. --HG-- branch : dev --- src/Orchard.Web/Core/Dashboard/Views/Admin/Index.ascx | 2 +- src/Orchard.Web/Themes/Classic/Styles/blog.css | 4 ++++ src/Orchard.Web/Themes/Classic/Styles/site.css | 8 ++++++-- .../Classic/Views/DisplayTemplates/Items/Blogs.Blog.ascx | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/Orchard.Web/Core/Dashboard/Views/Admin/Index.ascx b/src/Orchard.Web/Core/Dashboard/Views/Admin/Index.ascx index d830f958b..93107c64d 100644 --- a/src/Orchard.Web/Core/Dashboard/Views/Admin/Index.ascx +++ b/src/Orchard.Web/Core/Dashboard/Views/Admin/Index.ascx @@ -1,6 +1,6 @@ <%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl" %> <%@ Import Namespace="Orchard.Mvc.ViewModels"%> -

<%=Html.TitleForPage(T("Welcome to the Orchard administration dashboard").ToString())%>

+

<%=Html.TitleForPage(T("Welcome to the Orchard").ToString())%>

<%=_Encoded("This is the place where you can manage your web site, its appearance and its contents. Please take a moment to explore the different menu items on the left of the screen to familiarize yourself with the features of the application. For example, try to change the theme through the “Manage Themes” menu entry. You can also create new pages and manage existing ones through the “Manage Pages” menu entry or create blogs through “Manage Blogs”.") %>

diff --git a/src/Orchard.Web/Themes/Classic/Styles/blog.css b/src/Orchard.Web/Themes/Classic/Styles/blog.css index 63bd05e21..3e9fd3bd9 100644 --- a/src/Orchard.Web/Themes/Classic/Styles/blog.css +++ b/src/Orchard.Web/Themes/Classic/Styles/blog.css @@ -14,6 +14,10 @@ ul.blogs p { margin: -8px 0 12px 0px; } +.postsummary { + border-bottom:1px dotted #f1f1f1; +} + .meta { font-style:italic; color:#666666; diff --git a/src/Orchard.Web/Themes/Classic/Styles/site.css b/src/Orchard.Web/Themes/Classic/Styles/site.css index ffe49c053..83f2c4fd1 100644 --- a/src/Orchard.Web/Themes/Classic/Styles/site.css +++ b/src/Orchard.Web/Themes/Classic/Styles/site.css @@ -202,7 +202,7 @@ td.even { } #sidebar h3 { - border-bottom:1px solid #f1f1f1; + border-bottom:1px dotted #f1f1f1; font-size: 130%; } @@ -268,7 +268,11 @@ td.even { /* ---------- Generic ---------- */ - .clearBoth { clear:both; +} + +/* ---------- Hide the edit link for blogs hack ---------- */ +.manage { + display:none; } \ No newline at end of file diff --git a/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.Blog.ascx b/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.Blog.ascx index a6b3f67ab..de1c636a7 100644 --- a/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.Blog.ascx +++ b/src/Orchard.Web/Themes/Classic/Views/DisplayTemplates/Items/Blogs.Blog.ascx @@ -6,4 +6,4 @@

<%=Html.TitleForPage(Model.Item.Name) %>

<% Html.RegisterLink(new LinkEntry { Rel = "wlwmanifest", Type = "application/wlwmanifest+xml", Href = Url.BlogLiveWriterManifest(Model.Item.Slug) });%> <% Html.RegisterLink(new LinkEntry { Rel = "EditURI", Type = "application/rsd+xml", Title = "RSD", Href = Url.BlogRsd(Model.Item.Slug) });%> -<% Html.Zone("primary");%> \ No newline at end of file +<% Html.Zone("primary", ":manage");%> \ No newline at end of file