Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
31addb00
Commit
31addb00
authored
Feb 07, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make erp5_km folder accessible from any skin. all_languages=True on WebSite_viewDocumentRender.
parent
f4d15214
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
7 deletions
+2
-7
bt5/erp5_km/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
...edSkinSelectionTemplateItem/registered_skin_selection.xml
+0
-4
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/revision
bt5/erp5_km/bt/revision
+1
-1
bt5/erp5_km/bt/template_registered_skin_selection_list
bt5/erp5_km/bt/template_registered_skin_selection_list
+0
-1
No files found.
bt5/erp5_km/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
View file @
31addb00
...
@@ -3,10 +3,6 @@
...
@@ -3,10 +3,6 @@
<skin_folder>
erp5_jquery
</skin_folder>
<skin_folder>
erp5_jquery
</skin_folder>
<skin_selection>
KM
</skin_selection>
<skin_selection>
KM
</skin_selection>
</skin_folder_selection>
</skin_folder_selection>
<skin_folder_selection>
<skin_folder>
erp5_km
</skin_folder>
<skin_selection>
KM
</skin_selection>
</skin_folder_selection>
<skin_folder_selection>
<skin_folder_selection>
<skin_folder>
erp5_km_theme
</skin_folder>
<skin_folder>
erp5_km_theme
</skin_folder>
<skin_selection>
KM
</skin_selection>
<skin_selection>
KM
</skin_selection>
...
...
bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/WebSite_viewDocumentRender.xml
View file @
31addb00
...
@@ -64,7 +64,7 @@ if box_relative_url:\n
...
@@ -64,7 +64,7 @@ if box_relative_url:\n
preferences = box.KnowledgeBox_getDefaultPreferencesDict()\n
preferences = box.KnowledgeBox_getDefaultPreferencesDict()\n
reference=preferences.get(\'preferred_document_reference\', None)\n
reference=preferences.get(\'preferred_document_reference\', None)\n
if reference is not None:\n
if reference is not None:\n
web_page_list = context.getDocumentValueList(reference=reference, \n
web_page_list = context.getDocumentValueList(reference=reference,
all_languages=True,
\n
portal_type=\'Web Page\')\n
portal_type=\'Web Page\')\n
if len(web_page_list):\n
if len(web_page_list):\n
return \'<div class="web-page-renderer">
%s
</div>
\' %web_page_list[0].getObject().asStrippedHTML()\n
return \'<div class="web-page-renderer">
%s
</div>
\' %web_page_list[0].getObject().asStrippedHTML()\n
...
...
bt5/erp5_km/bt/revision
View file @
31addb00
1849
1850
\ No newline at end of file
\ No newline at end of file
bt5/erp5_km/bt/template_registered_skin_selection_list
View file @
31addb00
erp5_jquery | KM
erp5_jquery | KM
erp5_km | KM
erp5_km_theme | KM
erp5_km_theme | KM
erp5_km_widget_library | KM
erp5_km_widget_library | KM
erp5_xhtml_style | KM
erp5_xhtml_style | KM
\ 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