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
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
erp5
Commits
176c1420
Commit
176c1420
authored
Jan 15, 2019
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_messenger: set person to post as author
parent
335cbd7f
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
579 additions
and
5 deletions
+579
-5
bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_messenger/MessengerPost_view.xml
...teItem/portal_skins/erp5_messenger/MessengerPost_view.xml
+2
-1
bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_messenger/MessengerPost_view/my_source_title.xml
...ins/erp5_messenger/MessengerPost_view/my_source_title.xml
+573
-0
bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_messenger/MessengerPost_view/my_thread.xml
...tal_skins/erp5_messenger/MessengerPost_view/my_thread.xml
+2
-2
bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_messenger/gadget_postlist.js.js
...ateItem/portal_skins/erp5_messenger/gadget_postlist.js.js
+2
-2
No files found.
bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_messenger/MessengerPost_view.xml
View file @
176c1420
...
...
@@ -74,7 +74,8 @@
<list>
<string>
my_title
</string>
<string>
my_text_content
</string>
<string>
my_source_thread
</string>
<string>
my_thread
</string>
<string>
my_source_title
</string>
</list>
</value>
</item>
...
...
bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_messenger/MessengerPost_view/my_source_title.xml
0 → 100644
View file @
176c1420
This diff is collapsed.
Click to expand it.
bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_messenger/MessengerPost_view/my_
source_
thread.xml
→
bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_messenger/MessengerPost_view/my_thread.xml
View file @
176c1420
...
...
@@ -8,7 +8,7 @@
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_
source_
thread
</string>
</value>
<value>
<string>
my_thread
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
@@ -546,7 +546,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Folow up
Thread
</string>
</value>
<value>
<string>
Thread
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
...
...
bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_messenger/gadget_postlist.js.js
View file @
176c1420
...
...
@@ -35,7 +35,7 @@
var
gadget
=
this
;
return
gadget
.
jio_allDocs
({
"
query
"
:
gadget
.
state
.
query
,
"
select_list
"
:
[
"
text_content
"
,
"
modification_date
"
,
"
Base_getOwnerId
"
],
"
select_list
"
:
[
"
text_content
"
,
"
modification_date
"
,
"
source_title
"
],
"
sort_on
"
:
[[
"
modification_date
"
,
"
ascending
"
]]
})
.
push
(
function
(
results
)
{
...
...
@@ -64,7 +64,7 @@
}
var
queue_list
=
[],
i
=
0
;
for
(
i
=
0
;
i
<
post_list
.
length
;
i
+=
1
)
{
post_list
[
i
].
user
=
post_list
[
i
].
value
.
Base_getOwnerId
;
post_list
[
i
].
user
=
post_list
[
i
].
value
.
source_title
;
// TODO: attachments
post_list
[
i
].
attachment_link
=
null
;
post_list
[
i
].
attachment_name
=
null
;
...
...
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