34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
<div class="w-annc widget-announcement-1">
|
|
<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="w-annc__img-wrap ">
|
|
<a href="{{link_to_show}}">
|
|
<img class="w-annc__img" src="{{img_src}}" alt="{{img_description}}" title="{{img_description}}">
|
|
</a>
|
|
</div>
|
|
<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"><a href="{{link_to_show}}">{{subtitle}}</a></p>
|
|
</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>
|