From 829b0b78c20a3db67c61c12a422eb75d8487987c Mon Sep 17 00:00:00 2001 From: Matteo Tomasini Date: Tue, 9 Feb 2010 13:48:01 +0000 Subject: [PATCH] Fixed and closed #478: added div tag to fix layout problem. --- AssemblyVersion.cs | 4 ++-- WebApplication/PageDiscussion.ascx.cs | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/AssemblyVersion.cs b/AssemblyVersion.cs index 271caa4..4af0c08 100644 --- a/AssemblyVersion.cs +++ b/AssemblyVersion.cs @@ -16,5 +16,5 @@ using System.Reflection; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("3.0.1.475")] -[assembly: AssemblyFileVersion("3.0.1.475")] +[assembly: AssemblyVersion("3.0.1.476")] +[assembly: AssemblyFileVersion("3.0.1.476")] diff --git a/WebApplication/PageDiscussion.ascx.cs b/WebApplication/PageDiscussion.ascx.cs index 6107700..62fa61e 100644 --- a/WebApplication/PageDiscussion.ascx.cs +++ b/WebApplication/PageDiscussion.ascx.cs @@ -105,7 +105,6 @@ namespace ScrewTurn.Wiki { // Print header sb.Append(@"
"); //sb.AppendFormat(@"", message.ID); - sb.AppendFormat(@" ", Tools.GetMessageIdForAnchor(message.DateTime)); if(!currentPage.Provider.ReadOnly) { // Print reply/edit/delete buttons only if provider is not read-only @@ -144,6 +143,9 @@ namespace ScrewTurn.Wiki { sb.Append("
"); } + sb.Append(@"
"); + sb.AppendFormat(@" ", Tools.GetMessageIdForAnchor(message.DateTime)); + // Print subject if(message.Subject.Length > 0) { sb.Append(@""); @@ -162,6 +164,8 @@ namespace ScrewTurn.Wiki { sb.Append("
"); + sb.Append(""); + // Print body sb.Append(@"
"); sb.Append(FormattingPipeline.FormatWithPhase3(FormattingPipeline.FormatWithPhase1And2(message.Body, false, FormattingContext.MessageBody, currentPage),