Cleaned up the create content link on the content types (list) page

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-07-02 11:42:41 -07:00
parent 312bc56f6f
commit 5214c80cdf
3 changed files with 8 additions and 2 deletions

View File

@@ -1,10 +1,14 @@
.orchard-contenttypes #main h2 {
margin:1.5em 0 0;
}
#main .properties p {
margin:0;
}
.manage.add-to-type {
margin-top:-3.1em;
}
.manage-part {
margin-bottom:2em;
}

View File

@@ -1,4 +1,6 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.ContentTypes.ViewModels.ListContentTypesViewModel>" %>
<%
Html.RegisterStyle("admin.css"); %>
<h1><%:Html.TitleForPage(T("Content Types").ToString())%></h1>
<div class="manage">
<%:Html.ActionLink(T("Create new type").ToString(), "Create", new{Controller="Admin",Area="Orchard.ContentTypes"}, new { @class = "button primaryAction" }) %>

View File

@@ -2,7 +2,7 @@
<div class="summary">
<div class="properties">
<h3><%:Model.DisplayName%></h3>
<p><%:Model.Name %> - <%:Html.ActionLink("[new content]", "Create", new {area = "Contents", id = Model.Name}) %></p>
<p class="pageStatus"><%:Html.ActionLink(T("Create a new {0}", Model.DisplayName).Text, "Create", new {area = "Contents", id = Model.Name}) %></p>
</div>
<div class="related">
<%:Html.ActionLink(T("List Items").ToString(), "List", new {area = "Contents", id = Model.Name})%><%:T(" | ")%>