Sha256: ce832d97b325ecbb63485741c77266bb91ca1f901f3107d3e76a458969f553cd

Contents?: true

Size: 619 Bytes

Versions: 3

Compression:

Stored size: 619 Bytes

Contents

<% content_for :header_tags do %>
  <%= stylesheet_link_tag '/plugin_assets/chili_videos/stylesheets/videos' %>
<% end %>

<div class="contextual">
  <%= link_to(l(:new_video_label), new_project_video_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:add_video, nil, :global => true) %>
</div>

<h2>Videos (newest first)</h2>

<%- if @videos.empty? %>
  <p class="nodata">
    No videos uploaded yet!
    <%= link_to "Add one...", new_project_video_path(@project) if User.current.allowed_to?(:add_video, nil, :global => true) %>
  <p>
<%- else %>
  <%= video_thumbnail_list(@videos) %>
<%- end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chili_videos-0.2.2 app/views/videos/index.html.erb
chili_videos-0.2.1 app/views/videos/index.html.erb
chili_videos-0.2.0 app/views/videos/index.html.erb