list_announces_by_id.html

 1   <div class="row">
 2   	<div class="col-sm-3">
 3   		<#include "navigation_menu.html">
 4   	</div>
 5   	<div class="col-sm-9">  
 6   
 7   		<div id="content">
 8   			<#if announces_list?has_content>
 9   				<table class="table well">
 10   					<#list announces_list as announce>
 11   						<tr>
 12   							<td>
 13   								<div class="announce-result clearfix">
 14   									<#if announce.hasPictures>
 15   										<#list announce.listIdImageResponse as idImageResponse>
 16   											<#if idImageResponse_index == 0>
 17   												<a href="jsp/site/Portal.jsp?page=announce&action=view_announce&announce_id=${announce.id}">
 18   													<img class="thumbnail" width="80" height="80" src="image?resource_type=announce_img&id=${idImageResponse}" />
 19   												</a>
 20   											</#if>
 21   										</#list>
 22   									<#else>
 23   										<a title="${announce.title}" href="jsp/site/Portal.jsp?page=announce&action=view_announce&announce_id=${announce.id}">
 24   											<img class="thumbnail" width="80" height="80" src="./images/local/skin/plugins/announce/no_picture.png" />
 25   										</a>
 26   									</#if>
 27   									<#if announce.category.displayPrice && announce.price?has_content>
 28   										<div class="price">
 29   											${announce.price}
 30   										</div>
 31   									</#if>
 32   									<div class="title">
 33   										<a href="jsp/site/Portal.jsp?page=announce&action=view_announce&announce_id=${announce.id}">
 34   											${announce.title} - <span class="category">${announce.category.label}</span>
 35   										</a>
 36   									</div>
 37   									<span class="info">${announce.dateCreation}</span><br/>
 38   									${announce.description}<br />
 39   									<a href="jsp/site/Portal.jsp?page=announce&action=view_announces&username=${announce.userName}">
 40   										#i18n{announce.list_announces.otherAnnounces}
 41   									</a>
 42   								</div>
 43   							</td>
 44   						</tr>
 45   					</#list>
 46   				</table>
 47   			<#else>
 48   				#i18n{announce.list_announces.noAnnounces}
 49   			</#if>
 50   		</div>
 51   	</div>
 52   </div>