asia-home-b/modules/event_news_mod/_event_news_widget16.html.erb

32 lines
1.6 KiB
Plaintext
Raw Permalink Normal View History

2021-08-30 10:09:12 +00:00
<div class="w-event_news widget-event_news-13">
<table class="w-event_news__table table">
<thead>
<tr>
<th class="w-event_news__th w-event_news__th--date">{{event_date-head}}</th>
<th class="w-event_news__th w-event_news__th--date">{{speaker-head}}</th>
<th class="w-event_news__th w-event_news__th--title">{{title-head}}</th>
<th class="w-event_news__th w-event_news__th--title">{{subtitle-head}}</th>
<th class="w-event_news__th w-event_news__th--title">{{host-head}}</th>
<th class="w-event_news__th w-event_news__th--title">{{notes-head}}</th>
</tr>
</thead>
<tbody data-level="0" data-list="event_news">
<tr>
<td class="w-event_news__postdate" date-format="%Y-%m-%d">{{postdate}}</td>
<td class="w-event_news__speaker">{{speaker}}</td>
<td class="w-event_news_content">
<span class="w-event_news__status-wrap" data-list="statuses" data-level="1">
<span class="w-event_news__status label status {{status-class}}">{{status}}</span>
</span>
<a class="w-event_news__title" href="{{link_to_show}}">{{title}}</a>
</td>
<td class="w-event_news_subtitle">{{subtitle}}</td>
<td class="w-event_news__host">{{host}}</td>
<td class="w-event_news__notes">{{notes}}</td>
</tr>
</tbody>
</table>
<div class="w-event_news__more-wrap clearfix">
<a class="w-event_news__more btn btn-primary pull-right" href="{{more_url}}"><%= (I18n.locale.to_s =="zh_tw") ? "更多最新消息" : "More NEWS" %></a>
</div>
</div>