Upstream sync
This commit is contained in:
@@ -8,38 +8,37 @@
|
||||
Description: <%= release.description %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<% photos = release.file_infos.photo %>
|
||||
<% photos = release.image_files %>
|
||||
<% unless photos.empty? %>
|
||||
<h3>Photos</h3>
|
||||
<ul>
|
||||
<% photos.each do |file_info| %>
|
||||
<% photos.each do |blob| %>
|
||||
<li>
|
||||
<%= file_info.filename %>
|
||||
<%= blob.filename %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<% videos = release.file_infos.video %>
|
||||
<% videos = release.video_files %>
|
||||
<% unless videos.empty? %>
|
||||
<h3>Videos</h3>
|
||||
<ul>
|
||||
<% videos.each do |file_info| %>
|
||||
<% videos.each do |blob| %>
|
||||
<li>
|
||||
<%= file_info.filename %>
|
||||
<%= blob.filename %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<% other = release.file_infos.other %>
|
||||
<% other = release.other_files %>
|
||||
<% unless other.empty? %>
|
||||
<h3>Other files</h3>
|
||||
<ul>
|
||||
<% other.each do |file_info| %>
|
||||
<% other.each do |blob| %>
|
||||
<li>
|
||||
<%= file_info.filename %>
|
||||
<%= blob.filename %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user