AsiaV1/modules/announcement/annc_index16.html.erb

48 lines
1.7 KiB
Plaintext
Raw Normal View History

2021-04-19 03:12:03 +00:00
<div class="i-annc index-announcement-16 {{display}}">
<h3 class="i-annc__page-title">{{page-title}}</h3>
<table class="i-annc__table table table-striped dt-responsive nowrap">
<thead>
<tr>
<th class="i-annc__th i-annc__th--date all">{{date-head}}</th>
<th class="i-annc__th i-annc__th--title all">{{title-head}}</th>
<th class="i-annc__th i-annc__th--title min-tablet">{{link-head}}</th>
<th class="i-annc__th i-annc__th--title min-tablet">{{file-head}}</th>
</tr>
</thead>
<tbody data-level="0" data-list="announcements">
<tr>
<td class="i-annc__postdate" date-format="%Y-%m-%d">{{postdate}}</td>
<td class="i-annc__content">
<span class="i-annc__status-wrap" data-list="statuses" data-level="1">
<span class="i-annc__status label status {{status-class}}">{{status}}</span>
</span>
<a class="i-annc__title" href="{{link_to_show}}">{{title}}</a>
</td>
<td class="i-annc__links">
<ul data-list="bulletin_links" data-level="1">
<li>
<a class="i-annc__title" href="{{link_url}}">{{link_title}}</a>
</li>
</ul>
</td>
<td class="i-annc__files">
<ul data-list="bulletin_files" data-level="1">
<li>
<a class="i-annc__title" href="{{file_url}}">{{file_title}}</a>
</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
{{pagination_goes_here}}
<script>
$('.i-annc__table').DataTable({
searching: false,
paging: false,
ordering: false,
info: false
});
</script>