asia-home-b-en/modules/event_news/_event_news_widget0.5.html.erb

36 lines
1.7 KiB
Plaintext
Raw Normal View History

2021-08-30 10:09:12 +00:00
<div class="w-event_news widget-event_news-0">
<h3 class="w-event_news__widget-title">
<span>{{widget-title}}</span>
</h3>
<ul class="w-event_news__list" data-level="0" data-list="event_news">
<li class="w-event_news__item">
<div class="w-event_news__img-wrap bullseye">
<img class="w-event_news__img" src="{{img_src}}" alt="{{img_description}}" title="{{img_description}}">
</div>
<div class="card0">
<div class="w-event_news__meta">
<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>
<div class="w-event_news__postdate-wrap" date-format="%Y-%m-%d">
<div class="w-event_news__postdate">{{postdate}}</div>
</div>
</div>
<span class="w-event_news__category-wrap">
<i class="fa fa-tasks"></i>
<span class="w-event_news__category">{{category}}</span>
</span>
<h4 class="w-event_news__entry-title">
<a class="w-event_news__title" href="{{link_to_show}}">{{title}}</a>
</h4>
<div class="w-event_news__subtitle">{{subtitle}}</div>
<div class="w-event_news__speaker" style="{{speaker-css}}">【{{speaker-head}}】 {{speaker}}</div>
<div class="w-event_news__host" style="{{host-css}}">【{{host-head}}】 {{host}}</div>
</div>
</li>
</ul>
<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>