{**
 * templates/frontend/objects/announcement_summary.tpl
 *
 * Copyright (c) 2014-2017 Simon Fraser University Library
 * Copyright (c) 2003-2017 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @brief Display a summary view of an announcement
 *
 * @uses $announcement Announcement The announcement to display
 *}
{* <article class="col-md-4 index-announcenent">
	<div class="media-body">
		<h3 class="media-heading">
			<a href="{url router=$smarty.const.ROUTE_PAGE page="announcement" op="view" path=$announcement->getId()}">
				{$announcement->getLocalizedTitle()|escape}
			</a>
		</h3>
		<p class="date">
			<span class="glyphicon glyphicon-calendar"></span>
			{$announcement->getDatePosted()}
		</p>
		<!--div class="content">
			{$announcement->getLocalizedDescriptionShort()|strip_unsafe_html|truncate:150:"..."}
		</div>
		<div class="text-center" style="padding: 10px 0;">
			<a href="{url router=$smarty.const.ROUTE_PAGE page="announcement" op="view" path=$announcement->getId()}" class="btn btn-primary">Đọc thêm...</a>
		</div-->
	</div>
</article><!-- .announcement-summary --> *}

			{* {$k} *}
{* {$announcement|@var_dump} *}
<div class="item {if $k===0}active{/if}">
		<a href="{url router=$smarty.const.ROUTE_PAGE page="announcement" op="view" path=$announcement->getId()}">
	{* <img src="{$publicFilesDir}/sliders/gallery1.png"> *}
	<div>
			{$announcement->getLocalizedTitle()|escape}
		<p class="date">
			<span class="glyphicon glyphicon-calendar"></span>
			{$announcement->getDatePosted()}
		</p>
	</div>
		</a>
</div>