Commit d77ddedb authored by Ivan Tyagov's avatar Ivan Tyagov

Do not hard code any style attributes in posts' content (we can style using CSS)

parent 4e856437
No related merge requests found
......@@ -66,7 +66,7 @@ if discussion_post_uid is not None:\n
context.REQUEST.set(\'discussion_post_title\', title)\n
if preferred_forum_quote_original_message:\n
author_dict = discussion_post.DiscussionPost_getAuthorDict()\n
text_content = \'<blockquote style="background-color: #E9E9E9;border: 1px solid #8CACBB;margin: 5px;padding: 10px 15px;">From: %s<br/>%s</blockquote><br/>\' %(author_dict[\'author_title\'],\n
text_content = \'<blockquote>From: %s<br/>%s</blockquote><br/>\' %(author_dict[\'author_title\'],\n
discussion_post.getTextContent())\n
context.REQUEST.set(\'discussion_post_text_content\', text_content)\n
\n
......
......@@ -12,7 +12,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts74061029.5</string> </value>
<value> <string>ts08963575.91</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -27,6 +27,13 @@
<value> <string>/*\n
ERP5 discussion forum.\n
*/\n
.discussion-post-body-container blockquote {\n
background: none repeat scroll 0 0 #fafafa;\n
border-left: 6px solid #e7e9ec;\n
font-style: italic;\n
padding: 5px 5px 5px 16px;\n
}\n
\n
.attachment {\n
width:100%;\n
float:left;\n
......@@ -100,7 +107,7 @@ blockquote {\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1008</int> </value>
<value> <int>1195</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
152
\ No newline at end of file
153
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment