Skip to content

Commit 8b4112f

Browse files
author
Andreas Grabs
committed
mod_etherpadlite: fix example json in modal template
1 parent 4f69de5 commit 8b4112f

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

templates/modal.mustache

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,32 +23,32 @@
2323
{
2424
"id" : 1,
2525
"legacy" : 1,
26-
"name" : "Test pad"
27-
"courseurl" : "https://example.com/course/view.php?id=2",
26+
"name" : "Test pad",
27+
"courseurl" : "https://example.com/course/view.php?id=2"
2828
}
2929

3030
}}
3131

3232
<div class="etherpadmodal modal fade{{#legacy}} legacy{{/legacy}}" id="etherpadmodal_{{id}}">
33-
<div class="modal-dialog modal-dialog-centered">
34-
<div class="modal-content">
35-
36-
<!-- Modal Header -->
37-
<div class="modal-header">
38-
<h3 class="my-0 py-0">
39-
<button type="button" class="btn btn-primary" data-dismiss="modal" title="{{#str}}restorewindowsize, mod_etherpadlite{{/str}}" >
40-
<i class="fa fa-compress fa-lg" aria-hidden="true"></i>
41-
</button>
42-
{{name}}
43-
</h3>
44-
{{> mod_etherpadlite/closebutton }}
45-
</div>
46-
47-
<!-- Modal body -->
48-
<div class="modal-body">
49-
<iframe class="etherpadiframe2 border" id="etherpadiframe2_{{id}}" src="about:blank" allowFullscreen></iframe>
50-
</div>
51-
33+
<div class="modal-dialog modal-dialog-centered">
34+
<div class="modal-content">
35+
36+
<!-- Modal Header -->
37+
<div class="modal-header">
38+
<h3 class="my-0 py-0">
39+
<button type="button" class="btn btn-primary" data-dismiss="modal" title="{{#str}}restorewindowsize, mod_etherpadlite{{/str}}" >
40+
<i class="fa fa-compress fa-lg" aria-hidden="true"></i>
41+
</button>
42+
{{name}}
43+
</h3>
44+
{{> mod_etherpadlite/closebutton }}
45+
</div>
46+
47+
<!-- Modal body -->
48+
<div class="modal-body">
49+
<iframe class="etherpadiframe2 border" id="etherpadiframe2_{{id}}" src="about:blank" allowFullscreen></iframe>
50+
</div>
51+
52+
</div>
5253
</div>
53-
</div>
5454
</div>

0 commit comments

Comments
 (0)