Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
slapos.core
Commits
60ec7cd8
Commit
60ec7cd8
authored
Aug 08, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: fixup! Render text/html as html on domsugar
parent
1cc7ed6a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_event_discussion_entry_js.js
...age_module/rjs_gadget_slapos_event_discussion_entry_js.js
+4
-4
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_event_discussion_entry_js.xml
...ge_module/rjs_gadget_slapos_event_discussion_entry_js.xml
+2
-2
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_event_discussion_entry_js.js
View file @
60ec7cd8
...
@@ -11,19 +11,19 @@
...
@@ -11,19 +11,19 @@
})
})
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
,
var
gadget
=
this
,
header_text
=
"
By
"
+
gadget
.
state
.
author
+
header_text
=
"
By
<strong>
"
+
gadget
.
state
.
author
+
"
on
"
+
gadget
.
state
.
modification_date
+
"
:
"
,
"
</strong>
on
"
+
gadget
.
state
.
modification_date
+
"
:
"
,
header
=
domsugar
(
"
div
"
,
{
header
=
domsugar
(
"
div
"
,
{
class
:
"
slapos-event-discussion-message-header
"
class
:
"
slapos-event-discussion-message-header
"
},
[
},
[
domsugar
(
'
p
'
,
{
text
:
header_text
})
domsugar
(
'
p
'
,
{
html
:
header_text
})
]);
]);
if
(
gadget
.
state
.
content_type
===
'
text/html
'
)
{
if
(
gadget
.
state
.
content_type
===
'
text/html
'
)
{
return
domsugar
(
gadget
.
element
,
{},
[
return
domsugar
(
gadget
.
element
,
{},
[
header
,
header
,
domsugar
(
'
div
'
,
{
domsugar
(
'
div
'
,
{
class
:
"
slapos-event-discussion-message-body
"
,
class
:
"
slapos-event-discussion-message-body
"
,
text
:
gadget
.
state
.
text_content
html
:
gadget
.
state
.
text_content
})
})
]);
]);
}
}
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_event_discussion_entry_js.xml
View file @
60ec7cd8
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
100
0.58263.12906.5949
4
</string>
</value>
<value>
<string>
100
1.26171.19762.4285
4
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
165
5128468.51
</float>
<float>
165
9986314.17
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</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