30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
<div class="w-annc widget-announcement-0">
|
|
<h3 class="w-annc__widget-title">
|
|
<span>{{widget-title}}</span>
|
|
</h3>
|
|
<ul class="w-annc__list" data-level="0" data-list="announcements">
|
|
<li class="w-annc__item">
|
|
<div class="card">
|
|
<div class="w-annc__meta">
|
|
<span class="w-annc__status-wrap" data-list="statuses" data-level="1">
|
|
<span class="w-annc__status label status {{status-class}}">{{status}}</span>
|
|
</span>
|
|
<span class="w-annc__postdate-wrap" date-format="%Y-%m-%d">
|
|
<span class="w-annc__postdate">{{postdate}}</span>
|
|
</span>
|
|
<span class="w-annc__category-wrap">
|
|
<span class="w-annc__category">{{category}}</span>
|
|
</span>
|
|
</div>
|
|
<h4 class="w-annc__entry-title">
|
|
<a class="w-annc__title" href="{{link_to_show}}">{{title}}</a>
|
|
</h4>
|
|
<p class="w-annc__subtitle">{{subtitle}}</p>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
<div class="w-annc__more-wrap clearfix">
|
|
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}"><%= (I18n.locale.to_s =="zh_tw") ? "更多最新消息" : "More NEWS" %></a>
|
|
</div>
|
|
</div>
|