ydu_depts_rwd/modules/announcement/_annc_widget12.html.erb

24 lines
821 B
Plaintext
Executable File

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