From 75cde25b6fc289a754ab821ebd388f906afd69ba Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Fri, 7 Jan 2011 15:27:17 +0000 Subject: [PATCH] Always show existing comments, even if commenting is disabled. svn path=/plone.app.discussion/trunk/; revision=46785 --- CHANGES.txt | 3 ++ plone/app/discussion/browser/comments.pt | 32 +++++++++++-------- .../browser/stylesheets/discussion.css | 9 ++++++ 3 files changed, 31 insertions(+), 13 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 04ba602..cd15295 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,9 @@ Changelog 1.0RC1 (unreleased) ------------------- +- Always show existing comments, even if commenting is disabled. + [timo] + - Fix CSS for commenter images with a width of more than 2.5em. This fixes http://dev.plone.org/plone/ticket/11391. [timo] diff --git a/plone/app/discussion/browser/comments.pt b/plone/app/discussion/browser/comments.pt index 47980f3..0ddca97 100644 --- a/plone/app/discussion/browser/comments.pt +++ b/plone/app/discussion/browser/comments.pt @@ -1,15 +1,15 @@ - -
@@ -126,6 +126,13 @@
+ +
+ Commenting has been disabled. +
+
- +
@@ -156,4 +163,3 @@
-
diff --git a/plone/app/discussion/browser/stylesheets/discussion.css b/plone/app/discussion/browser/stylesheets/discussion.css index a5cbe7e..548d23d 100644 --- a/plone/app/discussion/browser/stylesheets/discussion.css +++ b/plone/app/discussion/browser/stylesheets/discussion.css @@ -63,6 +63,11 @@ text-align: right; } +.discussion .discreet { + color: #666666; + font-size: 85%; +} + /* Reply Form -------------------------------------------------------------------------- */ @@ -143,6 +148,10 @@ font-size: 80%; } +.row #commenting .formControls { + margin: 0; +} + .row #commenting textarea, .row .discussion textarea { font: 100% Monaco, "Courier New", Courier, monospace;