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
Paul Graydon
erp5
Commits
a8121f69
Commit
a8121f69
authored
Jan 11, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add km_document_renderer gadget.
parent
5d8a9c6a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
227 additions
and
2 deletions
+227
-2
bt5/erp5_km/PathTemplateItem/portal_gadgets/km_document_renderer.xml
.../PathTemplateItem/portal_gadgets/km_document_renderer.xml
+136
-0
bt5/erp5_km/PathTemplateItem/portal_gadgets/km_document_renderer/default_image.xml
...tem/portal_gadgets/km_document_renderer/default_image.xml
+84
-0
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/WebSite_viewDocumentRender.xml
...ins/erp5_km_widget_library/WebSite_viewDocumentRender.xml
+1
-1
bt5/erp5_km/bt/change_log
bt5/erp5_km/bt/change_log
+3
-0
bt5/erp5_km/bt/revision
bt5/erp5_km/bt/revision
+1
-1
bt5/erp5_km/bt/template_path_list
bt5/erp5_km/bt/template_path_list
+2
-0
No files found.
bt5/erp5_km/PathTemplateItem/portal_gadgets/km_document_renderer.xml
0 → 100644
View file @
a8121f69
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Gadget"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<list>
<string>
Assignor
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<list>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<list>
<string>
Owner
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
gadget_type/web_front
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Render given document reference inside a gadget.
</string>
</value>
</item>
<item>
<key>
<string>
edit_form_id
</string>
</key>
<value>
<string>
WebSite_viewDocumentRenderPreferenceDialog
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
km_document_renderer
</string>
</value>
</item>
<item>
<key>
<string>
multiple_instances_allowed
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Gadget
</string>
</value>
</item>
<item>
<key>
<string>
render_type
</string>
</key>
<value>
<string>
synchronous
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Document Renderer
</string>
</value>
</item>
<item>
<key>
<string>
view_form_id
</string>
</key>
<value>
<string>
WebSite_viewDocumentRender
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_km/PathTemplateItem/portal_gadgets/km_document_renderer/default_image.xml
0 → 100644
View file @
a8121f69
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Embedded File"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
-1
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
default_image
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Embedded File
</string>
</value>
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
-1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/WebSite_viewDocumentRender.xml
View file @
a8121f69
...
...
@@ -76,7 +76,7 @@ return \'No document\'\n
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
box_relative_url, **kw
</string>
</value>
<value>
<string>
box_relative_url
=None, box=None
, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_km/bt/change_log
View file @
a8121f69
2012-01-11 Kazuhiko
* add km_document_renderer gadget.
2011-12-01 Kazuhiko
* use acquired description from the parent if empty in the web section.
...
...
bt5/erp5_km/bt/revision
View file @
a8121f69
1848
\ No newline at end of file
1849
\ No newline at end of file
bt5/erp5_km/bt/template_path_list
View file @
a8121f69
...
...
@@ -8,6 +8,8 @@ portal_gadgets/km_document_profile
portal_gadgets/km_document_profile/**
portal_gadgets/km_document_relations
portal_gadgets/km_document_relations/**
portal_gadgets/km_document_renderer
portal_gadgets/km_document_renderer/**
portal_gadgets/km_document_versions
portal_gadgets/km_document_versions/**
portal_gadgets/km_latest_documents
...
...
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