mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
Cleaned up the create content link on the content types (list) page
--HG-- branch : dev
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -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" }) %>
|
||||
|
@@ -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(" | ")%>
|
||||
|
Reference in New Issue
Block a user