ydu_confs_rwd/modules/announcement/annc_index2.html.erb

27 lines
1.2 KiB
Plaintext
Executable File

<!--
Announcement index-2
Fields: widget-title, date-head, title-head, postdate, title, pagination
-->
<div class="i-announcement annc-index-2">
<h3 class="i-announcement__title">{{page-title}}</h3>
<ul class="i-announcement__list" data-level="0" data-list="announcements">
<li class="i-announcement__item">
<div class="i-announcement__pic-wrap">
<img class="i-announcement__pic" src="{{img_src}}" alt="{{img_description}}">
</div>
<div class="i-announcement__content-wrap">
<h4 class="i-announcement__title">
<a class="i-announcement__link" href="{{link_to_show}}">{{title}}</a>
</h4>
<span class="i-announcement__status-wrap" data-list="statuses" data-level="1">
<span class="i-announcement__status label status {{status-class}}">{{status}}</span>
</span>
<span class="i-announcement__date" date-format="%Y-%m-%d"><i class="fa fa-calendar"></i>{{postdate}}</span>
<p class="i-announcement__subtitle">{{subtitle}}</p>
<a class="i-announcement__more" href="{{link_to_show}}">Read More »</a>
</div>
</li>
</ul>
</div>
{{pagination_goes_here}}