ydu_admins_rwd/modules/announcement/_annc_widget2.html.erb

25 lines
1.1 KiB
Plaintext
Executable File

<!--
Announcement widget-2
Fields: widget-title, status, postdate, title, subtitle, readmore
-->
<div class="w-announcement annc-widget-2">
<h3 class="w-announcement__widget-title">{{widget-title}}</h3>
<ul class="w-announcement__list" data-level="0" data-list="announcements">
<li class="w-announcement__item">
<div class="w-announcement__content-wrap">
<div class="w-announcement__status-wrap" data-list="statuses" data-level="1">
<span class="w-announcement__status label status {{status-class}}">{{status}}</span>
</div>
<span class="w-announcement__postdate" date-format="%Y-%m-%d">
<i class="fa fa-calendar"></i>
{{postdate}}
</span>
<h4 class="w-announcement__title">
<a class="w-announcement__link" href="{{link_to_show}}">{{title}}</a>
</h4>
<p class="w-announcement__subtitle">{{subtitle}} </p>
<a class="w-announcement__more" href="{{link_to_show}}">Read More »</a>
</div>
</li>
</ul>
</div>