Hid the blog edit link in the classic theme. Updated the dashboard title.

--HG--
branch : dev
This commit is contained in:
jowall
2010-03-05 15:57:25 -08:00
parent 4178d3f9ac
commit 17a9065b3c
4 changed files with 12 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<AdminViewModel>" %>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<h1><%=Html.TitleForPage(T("Welcome to the Orchard administration dashboard").ToString())%></h1>
<h1><%=Html.TitleForPage(T("Welcome to the Orchard").ToString())%></h1>
<p>
<%=_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”.") %></p>

View File

@@ -14,6 +14,10 @@ ul.blogs p {
margin: -8px 0 12px 0px;
}
.postsummary {
border-bottom:1px dotted #f1f1f1;
}
.meta {
font-style:italic;
color:#666666;

View File

@@ -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;
}

View File

@@ -6,4 +6,4 @@
<h1><%=Html.TitleForPage(Model.Item.Name) %></h1>
<% 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");%>
<% Html.Zone("primary", ":manage");%>