Sha256: b0126cf0a921ad9ce3f3624ce6b448f905ae2dc3b19f52bc3111901c1a3674e7

Contents?: true

Size: 956 Bytes

Versions: 5

Compression:

Stored size: 956 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

5 entries across 5 versions & 1 rubygems

Version Path
showoff-0.20.4 views/download.erb
showoff-0.20.3 views/download.erb
showoff-0.20.2 views/download.erb
showoff-0.20.1 views/download.erb
showoff-0.20.0 views/download.erb