Sha256: 7d499cda9ec6ebefad10113380ed9be41cc9c1fc17cb446f304054965d9daee2

Contents?: true

Size: 958 Bytes

Versions: 9

Compression:

Stored size: 958 Bytes

Contents

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <%= erb :header_mini %>
</head>

<body id="download">
  <div id="wrapper">  <!-- wrapper needed for presenterPopupToggle() and $.get() -->
  <h1><%= I18n.t('downloads.title') %></h1>
  <% if @downloads %>
      <%# [ enabled, slide name, [array, of, files] ] %>
      <% @downloads.sort.map do |key, value| %>
          <% enabled, title, files = value %>
          <% if enabled %>
            <%if key != -999 %>
              <% path = '/file/_files' %>
              <h4>Slide <%= key %> <small>(<%= title %>)</small></h4>
            <% else %>
              <% path = '/file/_files/share' %>
            <% end %>
            <ul>
            <% files.each do |file| %>
                <li><a href="<%= path %>/<%= file %>"><%= file %></a></li>
            <% end %>
            </ul>
          <% end %>
      <% end %>
  <% end %>
  </div>
</body>
</html>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
showoff-0.19.6 views/download.erb
showoff-0.19.4 views/download.erb
showoff-0.19.3 views/download.erb
showoff-0.19.2 views/download.erb
showoff-0.19.1 views/download.erb
showoff-0.19.0 views/download.erb
showoff-0.18.2 views/download.erb
showoff-0.18.1 views/download.erb
showoff-0.18.0 views/download.erb