ydu_confs_rwd/modules/announcement/_annc_widget5.html.erb

30 lines
1.3 KiB
Plaintext
Raw Normal View History

2023-07-17 03:48:05 +00:00
<!--
Announcement widget-5
Fields: widget-title, img, status, postdate, title, subtitle, readmore
-->
<div class="w-announcement annc-widget-5">
<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__pic-wrap resizeimg">
<a class="w-announcement__link" href="{{link_to_show}}">
<img class="w-announcement__pic" src="{{img_src}}" alt="Announcement image">
</a>
</div>
<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>