mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-29 16:11:55 +00:00
Merge pull request #849 from jekrb/cover-template-string
turn concatenated string into a multi-line template string
This commit is contained in:
commit
7542968dc7
1 changed files with 19 additions and 19 deletions
|
@ -34,25 +34,25 @@ import S from 'string'
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
valueNames: ['id', 'text', 'timestamp', 'fromNow', 'time', 'tags', 'pinned'],
|
valueNames: ['id', 'text', 'timestamp', 'fromNow', 'time', 'tags', 'pinned'],
|
||||||
item: '<li class="col-xs-12 col-sm-6 col-md-6 col-lg-4">' +
|
item: `<li class="col-xs-12 col-sm-6 col-md-6 col-lg-4">
|
||||||
'<span class="id" style="display:none;"></span>' +
|
<span class="id" style="display:none;"></span>
|
||||||
'<a href="#">' +
|
<a href="#">
|
||||||
'<div class="item">' +
|
<div class="item">
|
||||||
'<div class="ui-history-pin fa fa-thumb-tack fa-fw"></div>' +
|
<div class="ui-history-pin fa fa-thumb-tack fa-fw"></div>
|
||||||
'<div class="ui-history-close fa fa-close fa-fw" data-toggle="modal" data-target=".delete-history-modal"></div>' +
|
<div class="ui-history-close fa fa-close fa-fw" data-toggle="modal" data-target=".delete-history-modal"></div>
|
||||||
'<div class="content">' +
|
<div class="content">
|
||||||
'<h4 class="text"></h4>' +
|
<h4 class="text"></h4>
|
||||||
'<p>' +
|
<p>
|
||||||
'<i><i class="fa fa-clock-o"></i> visited </i><i class="fromNow"></i>' +
|
<i><i class="fa fa-clock-o"></i> visited </i><i class="fromNow"></i>
|
||||||
'<br>' +
|
<br>
|
||||||
'<i class="timestamp" style="display:none;"></i>' +
|
<i class="timestamp" style="display:none;"></i>
|
||||||
'<i class="time"></i>' +
|
<i class="time"></i>
|
||||||
'</p>' +
|
</p>
|
||||||
'<p class="tags"></p>' +
|
<p class="tags"></p>
|
||||||
'</div>' +
|
</div>
|
||||||
'</div>' +
|
</div>
|
||||||
'</a>' +
|
</a>
|
||||||
'</li>',
|
</li>`,
|
||||||
page: 18,
|
page: 18,
|
||||||
pagination: [{
|
pagination: [{
|
||||||
outerWindow: 1
|
outerWindow: 1
|
||||||
|
|
Loading…
Reference in a new issue