Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
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
wenjie.zheng
erp5_workflow
Commits
87b95977
Commit
87b95977
authored
Jul 01, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
display attachment's filename and content_type in Event view.
now it is filename, not file_name.
parent
86c5ce7e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EmailDocument_viewAttachmentListRenderer.xml
...ins/erp5_crm/EmailDocument_viewAttachmentListRenderer.xml
+3
-8
bt5/erp5_crm/bt/revision
bt5/erp5_crm/bt/revision
+1
-1
No files found.
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EmailDocument_viewAttachmentListRenderer.xml
View file @
87b95977
...
...
@@ -36,16 +36,11 @@
<key>
<string>
_text
</string>
</key>
<value>
<unicode
encoding=
"cdata"
>
<![CDATA[
<tal:block tal:define="information_list here/getAttachmentInformationList | python:\n
[{\'To\': \'erp5-report@erp5.org\', \'uid\': \'part_0\', \'index\': 0}, \n
{\'index\': 2, \'uid\': \'part_2\', \'Content-Transfer-Encoding\': \'7bit\', \'MIME-Version\': \'1.0\'}, \n
{\'index\': 3, \'uid\': \'part_3\', \'Content-Disposition\': \'inline\', \'Content-Transfer-Encoding\': \'7bit\', \'MIME-Version\': \'1.0\'}]">
\n
\n
<tal:block tal:define="information_list here/getAttachmentInformationList">
\n
<ul>
\n
<li
tal:repeat=
"information information_list"
>
\n
<tal:block
tal:condition=
"python:1"
>
\n
<a
tal:content=
"information/file_name | information/uid"
tal:attributes=
"href python:\'getAttachmentData?index:int=%s\' % information[\'index\']"
/>
\n
</tal:block>
\n
<a
tal:content=
"information/filename | information/uid"
tal:attributes=
"href python:\'getAttachmentData?index:int=%s\' % information[\'index\']"
/>
\n
(
<tal:block
tal:content=
"information/content_type"
/>
)\n
</li>
\n
</ul>
\n
</tal:block>
...
...
bt5/erp5_crm/bt/revision
View file @
87b95977
659
\ No newline at end of file
660
\ 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