Merge branch 'master' into 4487-and-4558
[arvados.git] / apps / workbench / app / views / collections / _show_files.html.erb
index 76d8731a9353e4ae55ae68734d176258e8f2b9ed..39a1b36c3180c5415cd6782ee8a9d081daa864d6 100644 (file)
@@ -107,12 +107,12 @@ function unselect_all_files() {
           <% end %>
       <% if CollectionsHelper::is_image(filename) %>
           <i class="fa fa-fw fa-bar-chart-o"></i> <%= filename %></div>
-       </div>
         <div class="collection_files_inline">
           <%= link_to(image_tag("#{url_for @object}/#{file_path}"),
                       link_params.merge(disposition: 'inline'),
                       {title: file_path}) %>
         </div>
+       </div>
       <% else %>
           <i class="fa fa-fw fa-file" href="<%=@object.uuid%>/<%=file_path%>" ></i> <%= filename %></div>
        </div>