ydu_confs_rwd/modules/announcement/_annc_widget9.html.erb

29 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2023-07-17 03:48:05 +00:00
<!--
Announcement widget-9
Fields: widget-title, status, postdate, title, category
-->
<div class="w-announcement annc-widget-9 w-announcement--table">
<h3 class="w-announcement__widget-title">{{widget-title}}</h3>
<table class="w-announcement__table">
<thead>
<tr>
<th class="w-announcement__th">{{status-head}}</th>
<th class="w-announcement__th">{{date-head}}</th>
<th class="w-announcement__th">{{title-head}}</th>
<th class="w-announcement__th">{{category-head}}</th>
</tr>
</thead>
<tbody class="w-announcement__list" data-level="0" data-list="announcements">
<tr>
<td>
<div class="w-announcement__status-wrap" data-list="statuses" data-level="1">
<span class="w-announcement__status label status {{status-class}}">{{status}}</span>
</div>
</td>
<td date-format="%Y-%m-%d">{{postdate}}</td>
<td><a class="w-announcement__link" href="{{link_to_show}}">{{title}}</a></td>
<td>{{category}}</td>
</tr>
</tbody>
</table>
</div>