server ver
This commit is contained in:
14
resources/views/layout7/partials/comlist.php
Executable file
14
resources/views/layout7/partials/comlist.php
Executable file
@@ -0,0 +1,14 @@
|
||||
<script id="comlist" type="text/x-handlebars-template">
|
||||
{{#each data as |value key|}}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body" style="word-wrap: break-word;" data-index="{{key}}" data-id="{{id}}">{{{rendered_view}}}</div>
|
||||
<div class="panel-footer">Video: <a href="/{{video_id}}">/{{video_id}}</a> | <time class="timeago" data-toggle="tooltip" datetime="{{created_at}}+0000" title="{{created_at}}+0000"></time></div>
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="list-group-item">No comments</div>
|
||||
{{/each}}
|
||||
{{#if total}}
|
||||
<div class="panel-footer" id="pagination">
|
||||
</div>
|
||||
{{/if}}
|
||||
</script>
|
Reference in New Issue
Block a user