ydu_admins_rwd/modules/announcement/annc_index1.html.erb

22 lines
902 B
Plaintext
Executable File

<!--
Announcement index-1
Fields: widget-title, date-head, title-head, postdate, title, pagination
-->
<div class="i-announcement annc-index-1 i-announcement--table">
<h3 class="i-announcement__widget-title">{{widget-title}}</h3>
<table class="i-announcement__table">
<thead>
<tr>
<th class="i-announcement__th i-announcement__th--date">{{date-head}}</th>
<th class="i-announcement__th i-announcement__th--title">{{title-head}}</th>
</tr>
</thead>
<tbody class="i-announcement__tbody" data-level="0" data-list="announcements">
<tr>
<td><span class="i-announcement__date i-announcement__td--postdate" date-format="%Y-%m-%d">{{postdate}}</span></td>
<td><a class="i-announcement__link i-announcement__td--link" href="{{link_to_show}}">{{title}}</a></td>
</tr>
</tbody>
</table>
</div>
{{pagination_goes_here}}