From 740c43e515125793fedcbee02c7693603cad70cc Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Tue, 25 Jan 2011 13:10:20 +0000 Subject: [PATCH] Fixed board last post display for hidden posts --- Common/dataobjects/Post.cs | 3 ++- templates/Full/elems/BoardInfo.xslt | 5 ++++- templates/Modern/elems/BoardInfo.xslt | 5 ++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Common/dataobjects/Post.cs b/Common/dataobjects/Post.cs index a4c9ab0..643959a 100644 --- a/Common/dataobjects/Post.cs +++ b/Common/dataobjects/Post.cs @@ -240,7 +240,8 @@ namespace FLocal.Common.dataobjects { case PostVisibilityEnum.HIDDEN: result = new XElement("post", new XElement("hidden"), - new XElement("id", this.id) + new XElement("id", this.id), + new XElement("postDate", this.postDate.ToXml()) ); break; case PostVisibilityEnum.VISIBLE: diff --git a/templates/Full/elems/BoardInfo.xslt b/templates/Full/elems/BoardInfo.xslt index ffa08f5..f704ce5 100644 --- a/templates/Full/elems/BoardInfo.xslt +++ b/templates/Full/elems/BoardInfo.xslt @@ -52,7 +52,7 @@ - +
@@ -63,6 +63,9 @@
+ + + [ diff --git a/templates/Modern/elems/BoardInfo.xslt b/templates/Modern/elems/BoardInfo.xslt index 2628535..b179660 100644 --- a/templates/Modern/elems/BoardInfo.xslt +++ b/templates/Modern/elems/BoardInfo.xslt @@ -64,7 +64,7 @@
- +

Последнее сообщение: @@ -79,6 +79,9 @@ + + +