mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
On the blog management page moved the edit and remove blog buttons to be icons in line with the blog name
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043387
This commit is contained in:
@@ -512,6 +512,14 @@ a.ibutton.blog:hover, a.ibutton.blog:active, a.ibutton.blog:focus { background-p
|
||||
border-color:#666d51;
|
||||
border-style:solid;
|
||||
}
|
||||
.withActions {
|
||||
overflow:hidden;
|
||||
}
|
||||
.withActions a {
|
||||
display:inline;
|
||||
float:left;
|
||||
margin-right:7px;
|
||||
}
|
||||
input.large.text {
|
||||
font-size:130%;
|
||||
font-weight:500;
|
||||
|
@@ -3,11 +3,11 @@
|
||||
<%@ Import Namespace="Orchard.Blogs.ViewModels"%>
|
||||
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
|
||||
<%@ Import Namespace="Orchard.Blogs.Models"%>
|
||||
<h2><a href="<%=Url.BlogForAdmin(Model.Blog.Slug) %>"><%=Html.Encode(Model.Blog.Name) %></a></h2>
|
||||
<div class="main actions">
|
||||
<span class="construct"><a href="<%=Url.BlogEdit(Model.Blog.Slug) %>" class="button">Edit Blog</a></span>
|
||||
<span class="destruct"><a href="<%=Url.BlogDelete(Model.Blog.Slug) %>" class="remove button">Remove Blog</a></span>
|
||||
</div>
|
||||
<%-- todo: (heskew) get what actions we can out of the h2 :| --%>
|
||||
<h2 class="withActions">
|
||||
<a href="<%=Url.BlogForAdmin(Model.Blog.Slug) %>"><%=Html.Encode(Model.Blog.Name) %></a>
|
||||
<a href="<%=Url.BlogEdit(Model.Blog.Slug) %>" class="ibutton edit" title="Edit Blog">Edit Blog</a>
|
||||
<span class="actions"><span class="destruct"><a href="<%=Url.BlogDelete(Model.Blog.Slug) %>" class="ibutton remove" title="Remove Blog">Remove Blog</a></span></span></h2>
|
||||
<p><%=Model.Blog.Description %></p><%
|
||||
if (Model.Posts.Count() > 0) { %>
|
||||
<div class="actions"><a href="<%=Url.BlogPostCreate(Model.Blog.Slug) %>" class="add button">New Post</a></div>
|
||||
|
Reference in New Issue
Block a user