Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Klaus Wölfel
erp5
Commits
d77ddedb
Commit
d77ddedb
authored
Aug 25, 2014
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not hard code any style attributes in posts' content (we can style using CSS)
parent
4e856437
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_redirectCreateNewDiscussionPost.xml
...sion/DiscussionThread_redirectCreateNewDiscussionPost.xml
+1
-1
bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/erp5_discussion.css.xml
...Item/portal_skins/erp5_discussion/erp5_discussion.css.xml
+9
-2
bt5/erp5_discussion/bt/revision
bt5/erp5_discussion/bt/revision
+1
-1
No files found.
bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_redirectCreateNewDiscussionPost.xml
View file @
d77ddedb
...
@@ -66,7 +66,7 @@ if discussion_post_uid is not None:\n
...
@@ -66,7 +66,7 @@ if discussion_post_uid is not None:\n
context.REQUEST.set(\'discussion_post_title\', title)\n
context.REQUEST.set(\'discussion_post_title\', title)\n
if preferred_forum_quote_original_message:\n
if preferred_forum_quote_original_message:\n
author_dict = discussion_post.DiscussionPost_getAuthorDict()\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
discussion_post.getTextContent())\n
context.REQUEST.set(\'discussion_post_text_content\', text_content)\n
context.REQUEST.set(\'discussion_post_text_content\', text_content)\n
\n
\n
...
...
bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/erp5_discussion.css.xml
View file @
d77ddedb
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts
74061029.5
</string>
</value>
<value>
<string>
ts
08963575.91
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
__name__
</string>
</key>
<key>
<string>
__name__
</string>
</key>
...
@@ -27,6 +27,13 @@
...
@@ -27,6 +27,13 @@
<value>
<string>
/*\n
<value>
<string>
/*\n
ERP5 discussion forum.\n
ERP5 discussion forum.\n
*/\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
.attachment {\n
width:100%;\n
width:100%;\n
float:left;\n
float:left;\n
...
@@ -100,7 +107,7 @@ blockquote {\n
...
@@ -100,7 +107,7 @@ blockquote {\n
</item>
</item>
<item>
<item>
<key>
<string>
size
</string>
</key>
<key>
<string>
size
</string>
</key>
<value>
<int>
1
008
</int>
</value>
<value>
<int>
1
195
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
...
bt5/erp5_discussion/bt/revision
View file @
d77ddedb
152
153
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment