Commit cd064361 authored by Ivan Tyagov's avatar Ivan Tyagov

Use portal_membership tool to get current member. Cleanup.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14324 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent db2f8754
......@@ -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
......
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment