mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Minor update to the Orchard.Blogs Module.txt to get its feature detailed correctly
--HG-- branch : dev
This commit is contained in:
@@ -1,10 +1,8 @@
|
|||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using Orchard.Core.Common.Models;
|
using Orchard.Core.Common.Models;
|
||||||
using Orchard.ContentManagement;
|
using Orchard.ContentManagement;
|
||||||
using Orchard.Environment.Extensions;
|
|
||||||
|
|
||||||
namespace Orchard.Blogs.Models {
|
namespace Orchard.Blogs.Models {
|
||||||
[OrchardFeature("Blog")]
|
|
||||||
public class Blog : ContentPart<BlogRecord> {
|
public class Blog : ContentPart<BlogRecord> {
|
||||||
[HiddenInput(DisplayValue = false)]
|
[HiddenInput(DisplayValue = false)]
|
||||||
public int Id { get { return ContentItem.Id; } }
|
public int Id { get { return ContentItem.Id; } }
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: Blogs
|
name: Blogs
|
||||||
antiforgery: enabled
|
antiforgery: enabled
|
||||||
features:
|
features:
|
||||||
Blog:
|
Orchard.Blogs:
|
||||||
Description: A simple web log
|
Description: A simple web log
|
||||||
Dependencies: Common, XmlRpc
|
Dependencies: Common, XmlRpc
|
||||||
Category: Blog
|
Category: Blog
|
||||||
Reference in New Issue
Block a user