root/branches/release-36/default_templates/recent_assets.mtml @ 2052

Revision 2052, 0.6 kB (checked in by fumiakiy, 19 months ago)

Integrated Widget Manager to the core. BugId:68750

Now a widgetset is another type of template. The widgets contained in a widgetset is stored in a meta field.

  • Property svn:keywords set to Id Date Author Revision
Line 
1<mt:IfNonZero tag="AssetCount">
2    <mt:Assets type="image" lastn="10">
3        <mt:AssetsHeader>
4<div class="widget-recent-assets widget">
5    <h3 class="widget-header"><__trans phrase="Recent Assets"></h3>
6    <div class="widget-content">
7        <ul class="widget-list">
8        </mt:AssetsHeader>
9        <li class="item"><a class="asset-image" href="<$mt:AssetURL$>"><img src="<$mt:AssetThumbnailURL height="70"$>" class="asset-img-thumb" alt="<$mt:AssetLabel$>" title="<$mt:AssetLabel$>" /></a></li>
10        <mt:AssetsFooter>
11        </ul>
12    </div>
13</div>
14        </mt:AssetsFooter>
15    </mt:Assets>
16</mt:IfNonZero>
Note: See TracBrowser for help on using the browser.