Changeset 1257

Show
Ignore:
Timestamp:
07/27/08 14:35:56 (4 months ago)
Author:
alban
Message:

Signale les Contents principal. Refs #10

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/views/episode/show.rhtml

    r1255 r1257  
    2525      <li> 
    2626        <h4><%= link_to(content.name, { :controller => "content", :action => "play", :id => content })%></h4> 
    27         <p>Durée 
     27        <p> 
     28          <% if content.principal? %>Principal -<% end %> 
     29          Durée 
    2830          <% if content.has_duration? %> 
    2931            <%= content.duration %> minutes