diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewContributeRenderer.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewContributeRenderer.xml index 4a765020794cd36c07b595350f73606e37165f22..653799bf722ffcb24b29e07d92ce29af07244b3b 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewContributeRenderer.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewContributeRenderer.xml @@ -78,9 +78,6 @@ </select>\n <input type="file" name="contribute_file" size="30" />\n </div>\n - <!--<a onclick="setMailString();" id="mail_contribute_button" href="mailto:dms@dms.nexedi.com?subject=Contribution&body=">\n - <img src="au_icons/kmail.png" align="right" alt="contribute by mail" title="contribute by mail"/>\n - </a>-->\n <div style="float:left"\n tal:define="contribute_prefix string:contribute_">\n <div metal:use-macro="here/au_macros/macros/contribute_properties">\n @@ -129,7 +126,7 @@ </div>\n \n <div class="tabbertab"\n - tal:define="user here/ERP5Site_getCurrentUserValue">\n + tal:define="user here/portal_membership/getAuthenticatedMember">\n <h2 value="" i18n:translate="" i18n:domain="ui">File</h2>\n \n <tal:block tal:repeat="file_group python:[\n @@ -149,7 +146,7 @@ title = \'Online Content:\',\n ),\n dict(\n - portal_type_list = here.getPortalFileDocumentTypeList() + here.getPortalTemplateDocumentTypeList(),\n + portal_type_list = here.getPortalFileDocumentTypeList(),\n id = \'content\',\n title = \'Offline Content:\',\n ),\n diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewSCALEWidget.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewSCALEWidget.xml index 13b181c0fafee0f797303cf082f9872520eb546f..0de022e08f9da77f93df950f5085312c1ee1de65 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewSCALEWidget.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewSCALEWidget.xml @@ -44,6 +44,12 @@ </object> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ @@ -55,21 +61,7 @@ <div id="home_contribute">\n <tal:block metal:use-macro="here/WebSite_viewContributeRenderer/macros/main"/>\n </div>\n -\n -<div id="dashboard">\n -<!--\n - <div class="box left" tal:define="global TASK_LEN python: 20">\n - <tal:block metal:use-macro="here/WebSite_viewDashboardRenderer/macros/act"/>\n - </div>\n - <div class="box left" tal:define="NEWS_LEN python: 20">\n - <tal:block metal:use-macro="here/WebSite_viewDashboardRenderer/macros/learn"/>\n - </div>\n - \n - <div class="box left">\n - <tal:block metal:use-macro="here/WebSite_viewDashboardRenderer/macros/evaluate"/>\n - </div>\n --->\n -</div> + ]]></string> </value> </item>