View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-demos/restyling/trunk/bootstrap/webfiles/src/main/resources/site/ftl/base/main/list/list-title-date-image.ftl
Revision: 48447
Committed: Thu Jan 29 08:41:31 2015 UTC (7 years, 5 months ago) by mdenburger
File size: 1238 byte(s)
Log Message:
CMS7-8371: merge changes from archetypes trunk, including the rename of web resources to web files

File Contents

# Content
1 <#include "../../../htmlTags.ftl">
2 <#if info??>
3 <div class="${info.cssClass}">
4 <h2>${info.title}</h2>
5 <#list result.hippoBeans as item>
6 <@hst.link var="link" hippobean=item/>
7 <article class="well well-large" style="background-color:${info.bgColor};">
8 <@hst.cmseditlink hippobean=item/>
9 <#if item.image.thumbnail??>
10 <@hst.link var="img" hippobean=item.image.thumbnail/>
11 <figure style="float:left;margin:0 10px 0 0;">
12 <img src="${img}" title="${item.image.fileName}"
13 alt="${item.image.fileName}"/>
14 </figure>
15 </#if>
16 <h3><a href="${link}">${item.title}</a></h3>
17 <#if item.date.time??>
18 <p class="badge badge-info">
19 <@fmt.formatDate value=item.date.time type="both" dateStyle="medium" timeStyle="short"/>
20 </p>
21 </#if>
22 </article>
23 </#list>
24 </div>
25
26 <#else>
27 <@hst.element var="headTitle" name="title">
28 <@fmt.message key="page.not.found"/>
29 </@hst.element>
30 <@hst.headContribution keyHint="headTitle" element="${headTitle}"/>
31
32 <h2><@fmt.message key="page.not.found"/></h2>
33 </#if>

Properties

Name Value
svn:eol-style native
svn:keywords Id