Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arnaud Fontaine
erp5
Commits
616e183a
Commit
616e183a
authored
Oct 29, 2012
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo. Do not use inline CSS.
parent
966a81a3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
15 deletions
+22
-15
bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getSummaryAsHTML.xml
...skins/erp5_discussion/DiscussionPost_getSummaryAsHTML.xml
+20
-13
bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_createNewDiscussionThread.xml
.../erp5_discussion/WebSection_createNewDiscussionThread.xml
+1
-1
bt5/erp5_discussion/bt/revision
bt5/erp5_discussion/bt/revision
+1
-1
No files found.
bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getSummaryAsHTML.xml
View file @
616e183a
...
@@ -52,39 +52,38 @@
...
@@ -52,39 +52,38 @@
discussion_post_stripped_html discussion_post_object/asStrippedHTML;\n
discussion_post_stripped_html discussion_post_object/asStrippedHTML;\n
isUserAllowedToPost python: discussion_post_object.getParentValue().DiscussionThread_isUserAllowedToPost()">
\n
isUserAllowedToPost python: discussion_post_object.getParentValue().DiscussionThread_isUserAllowedToPost()">
\n
\n
\n
<div
class=
"discussion-post-header"
\n
<div
class=
"discussion-post-header"
>
\n
tal:attributes=
"style python: test(is_author_thumbnai_available, \'height:104px\',\'\')"
>
\n
\n
\n
<div
class=
"thumbnail"
\n
<div
class=
"thumbnail"
\n
tal:condition=
"is_author_thumbnai_available"
>
\n
tal:condition=
"is_author_thumbnai_available"
>
\n
<img
tal:attributes=
"src string:${author_thumbnail_url}?display=thumbnail&
format=png"
/>
\n
<img
tal:attributes=
"src string:${author_thumbnail_url}?display=thumbnail&
amp;format=png"
/>
\n
</div>
\n
</div>
\n
\n
\n
<div
class=
"title"
>
\n
<div
class=
"title"
>
\n
<a
class=
"discussion-post-title"
\n
<a
class=
"discussion-post-title"
\n
tal:attributes=
"href string:${discussion_post_url}/view;\n
tal:attributes=
"href string:${discussion_post_url}/view;\n
name discussion_post_uid"
\n
name discussion_post_uid"
\n
tal:content=
"discussion_post_title"
/
>
\n
tal:content=
"discussion_post_title"
></a
>
\n
by\n
by\n
<a
class=
"discussion-post-creator-title-link"
\n
<a
class=
"discussion-post-creator-title-link"
\n
tal:attributes=
"href author_url"
\n
tal:attributes=
"href author_url"
\n
tal:content=
"author_title"
/
>
\n
tal:content=
"author_title"
></a
>
\n
at \n
at \n
<span
tal:content=
"discussion_post_creation_date"
/
>
\n
<span
tal:content=
"discussion_post_creation_date"
></span
>
\n
</div>
\n
</div>
\n
\n
\n
</div>
\n
</div>
\n
\n
\n
<div
class=
"discussion-post-body-container"
\n
<div
class=
"discussion-post-body-container"
\n
tal:content=
"structure discussion_post_stripped_html"
/
>
\n
tal:content=
"structure discussion_post_stripped_html"
></div
>
\n
\n
\n
<div
tal:condition=
"python: author_signature is not None"
\n
<div
tal:condition=
"python: author_signature is not None"
\n
class=
"discussion-post-author-signature-container"
\n
class=
"discussion-post-author-signature-container"
\n
tal:content=
"author_signature"
/
>
\n
tal:content=
"author_signature"
></div
>
\n
\n
\n
<div
class=
"discussion-post-actions"
>
\n
<div
class=
"discussion-post-actions"
>
\n
<button
tal:condition=
"isUserAllowedToPost"
type=
"submit"
\n
<button
tal:condition=
"isUserAllowedToPost"
\n
title=
"Reply"
\n
t
ype=
"submit"
t
itle=
"Reply"
\n
name=
"DiscussionThread_redirectCreateNewDiscussionPost:method"
\n
name=
"DiscussionThread_redirectCreateNewDiscussionPost:method"
\n
tal:attributes=
"onClick python: \'redirectCreateCitedNewDiscussionPost(\\\'%s\\\')\' %discussion_post_id"
\n
tal:attributes=
"onClick python: \'redirectCreateCitedNewDiscussionPost(\\\'%s\\\')\' %discussion_post_id"
\n
class=
"discussion-post-action-button"
>
Reply
</button>
\n
class=
"discussion-post-action-button"
>
Reply
</button>
\n
...
@@ -98,6 +97,10 @@
...
@@ -98,6 +97,10 @@
<key>
<string>
content_type
</string>
</key>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
<value>
<string>
text/html
</string>
</value>
</item>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
DiscussionPost_getSummaryAsHTML
</string>
</value>
<value>
<string>
DiscussionPost_getSummaryAsHTML
</string>
</value>
...
@@ -106,6 +109,10 @@
...
@@ -106,6 +109,10 @@
<key>
<string>
output_encoding
</string>
</key>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
iso-8859-15
</string>
</value>
<value>
<string>
iso-8859-15
</string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
...
...
bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_createNewDiscussionThread.xml
View file @
616e183a
...
@@ -119,7 +119,7 @@ discussion_post = discussion_thread.newContent(\n
...
@@ -119,7 +119,7 @@ discussion_post = discussion_thread.newContent(\n
language = language)\n
language = language)\n
\n
\n
# depending on security model Thread and Post can be directly published or shared\n
# depending on security model Thread and Post can be directly published or shared\n
portal_status_message = "New discussion created in backgroud."\n
portal_status_message = "New discussion created in backgrou
n
d."\n
discussion_thread.publish()\n
discussion_thread.publish()\n
\n
\n
if send_notification_text not in (\'\', None):\n
if send_notification_text not in (\'\', None):\n
...
...
bt5/erp5_discussion/bt/revision
View file @
616e183a
122
123
\ 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