asia-moma/modules/event_news/_event_news_widget11.html.erb

23 lines
1.0 KiB
Plaintext

<div class="w-event_news widget-event_news-11">
<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 row">
<span class="w-event_news__postdate-wrap col-sm-3" date-format="%Y-%m-%d">
<i class="fa fa-calendar-o"></i>
<span class="w-event_news__postdate">{{postdate}}</span>
</span>
<h4 class="w-event_news__entry-title col-sm-9">
<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>
</h4>
</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>