Changeset 1241

Show
Ignore:
Timestamp:
07/25/08 15:20:28 (6 months ago)
Author:
alban
Message:

Utilisation des images dans le template Cocoa. Refs #8

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/templates/cocoa/content.liquid

    r1237 r1241  
    2222          <div class="description"> 
    2323            <p> 
     24              {{content.episode.image.tag_for_thumb}} 
    2425              {{content.episode.description | textilize | truncate :100}} 
    2526            </p> 
  • trunk/templates/cocoa/episode.liquid

    r1237 r1241  
    2121      <div id="page"> 
    2222        <div class="description"> 
     23          {{episode.image.tag}} 
    2324          {{episode.description | textilize}} 
    2425        </div> 
     
    2930            {% for content in episode.contents %} 
    3031              <li> 
    31                 <a href="{{content.url_for}}" onclick="window.open(this.href,'bonnes-ondes-ecouter','height=300,width=800');return false;"> 
     32                <a href="{{content.url_for}}" onclick="window.open(this.href,'bonnes-ondes-ecouter','height=300,width=900');return false;"> 
    3233                  {% if episode.contents.size == 1 %} 
    3334                    {{episode.title}} 
  • trunk/templates/cocoa/show.liquid

    r1237 r1241  
    2121      <div id="page"> 
    2222        <div class="description"> 
     23          {{show.logo.tag}} 
    2324          {{show.description | textilize}} 
    2425        </div>