Changeset 1824
- Timestamp:
- 10/31/08 16:11:46 (2 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
siteapp/trunk/opengeo/almanac/templates/storyindex.pt
r1817 r1824 68 68 69 69 <div metal:fill-slot="body" tal:define="story_data context/@@config/data; 70 image_type python:story_data['mediatype'] == 'image'"> 70 image_type python:story_data['mediatype'] == 'image'; 71 video_type python:story_data['mediatype'] == 'video'"> 71 72 72 73 <div class="span-16"> … … 79 80 </div><!-- end .story-container --> 80 81 81 <div class="story-container">82 <div class="story-summary" tal:condition="view/should_display_summary" tal:content="context/dc:description"></div>83 </div><!-- end .story-container -->82 <div class="story-content" tal:condition="python:not(image_type or video_type)" tal:content="structure context/body">[Story Content]</div><!-- end .story-content --> 83 84 <div class="story-content video" tal:condition="video_type" tal:content="structure context/body"></div> 84 85 85 <div class="story-content" tal:condition="not:image_type" tal:content="structure context/body">[Story Content]</div><!-- end .story-content --> 86 87 <div tal:condition="image_type"> 86 <div class="story-content photo" tal:condition="image_type"> 88 87 <img class="story-image" tal:attributes="title context/dc:title; alt context/dc:title;src context/flickr:photourl" /> 89 88 </div><!-- end image --> 90 89 90 <div class="story-container" tal:condition="python:(image_type or video_type)"> 91 <div class="story-content" tal:condition="view/should_display_summary" tal:content="context/dc:description"></div> 92 </div><!-- end .story-container --> 91 93 92 94 <div class="story-footer"> … … 134 136 135 137 <div class="comment-body"> 136 <p tal:content=" structurecomment/body">comment body </p>138 <p tal:content="comment/body">comment body </p> 137 139 </div><!-- end .comment-body --> 138 140 </div><!-- /.story-comment --> … … 163 165 </div><!-- end .sidebar --> 164 166 167 <div style="clear: both; margin: 0 100px;"> 168 169 <h3>testing soundcloud...</h3> 170 171 <div style="font-size: 11px;"> <object height="81" width="100%"> <param name="movie" value="http://player.soundcloud.com/player.swf?track=femalesample1" /> <param name="wmode" value="transparent" /> <param name="allowscriptaccess" value="always" /> <embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?track=femalesample1" type="application/x-shockwave-flash" width="100%" wmode="transparent"> </embed> </object> <div style="padding-top: 5px;"> <a href="http://soundcloud.com/nickyg/femalesample1">FemaleSample1</a> by <a href="http://soundcloud.com/nickyg">nickyg</a> </div> </div> 172 173 </div> 174 165 175 </div><!-- end slot=body --> 166 176 </body>
