ydu_confs_rwd/modules/announcement/_annc_widget10.html.erb

19 lines
678 B
Plaintext
Executable File

<!--
Announcement widget-10
Fields: widget-title, title, postdate
-->
<div class="w-announcement annc-widget-10 w-announcement--table">
<h3 class="w-announcement__widget-title">{{widget-title}}</h3>
<table class="w-announcement__table">
<thead>
<th class="w-announcement__th">{{title-head}}</th>
<th class="w-announcement__th">{{date-head}}</th>
</thead>
<tbody class="w-announcement__list" data-level="0" data-list="announcements">
<tr>
<td><a class="w-announcement__link" href="{{link_to_show}}">{{title}}</a></td>
<td date-format="%Y-%m-%d">{{postdate}}</td>
</tr>
</tbody>
</table>
</div>