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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
0ab5ffe8
Commit
0ab5ffe8
authored
Jun 17, 2024
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: display the attachment content type
parent
3347e3f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_thread_reader_js.js
...mplateItem/web_page_module/rjs_gadget_thread_reader_js.js
+3
-3
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_thread_reader_js.xml
...plateItem/web_page_module/rjs_gadget_thread_reader_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_thread_reader_js.js
View file @
0ab5ffe8
...
...
@@ -222,7 +222,7 @@
}
var
source_title
=
entry
.
value
[
gadget
.
state
.
source_column
]
||
''
,
attachment_list
=
entry
.
value
.
Even
t_getAttachmentList
||
[],
.
DiscussionPos
t_getAttachmentList
||
[],
attachment_element_list
=
[],
j
,
word_list
=
source_title
.
split
(
'
'
),
...
...
@@ -243,7 +243,7 @@
download
:
attachment_list
[
j
].
title
}),
'
(
'
,
attachment_list
[
j
].
content_type
||
'
a
pplication
/octet-stream
'
,
attachment_list
[
j
].
content_type
||
'
a
ttachment
/octet-stream
'
,
'
)
'
])
);
...
...
@@ -320,7 +320,7 @@
limit
:
limit_options
,
select_list
:
[
'
asStrippedHTML
'
,
gadget
.
state
.
date_column
,
gadget
.
state
.
source_column
,
'
Even
t_getAttachmentList
'
],
'
DiscussionPos
t_getAttachmentList
'
],
sort_on
:
[[
gadget
.
state
.
date_column
,
'
ASC
'
],
[
'
uid
'
,
'
ASC
'
]]
})
.
push
(
function
(
result
)
{
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_thread_reader_js.xml
View file @
0ab5ffe8
...
...
@@ -238,7 +238,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
1017.21
412.29767.13277
</string>
</value>
<value>
<string>
1017.21
009.60301.28108
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>
17186
40624.19
</float>
<float>
17186
16130.73
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
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