[ARVADOS] created: efc3cdc7eb9f5c90c71edcf4d3f27667a8fce5e9
git at public.curoverse.com
git at public.curoverse.com
Mon Dec 1 13:28:00 EST 2014
at efc3cdc7eb9f5c90c71edcf4d3f27667a8fce5e9 (commit)
commit efc3cdc7eb9f5c90c71edcf4d3f27667a8fce5e9
Author: radhika <radhika at curoverse.com>
Date: Mon Dec 1 13:27:10 2014 -0500
4644: fix div end tag placement and add filterable to directories as well.
diff --git a/apps/workbench/app/views/collections/_show_files.html.erb b/apps/workbench/app/views/collections/_show_files.html.erb
index 76d8731..a43c566 100644
--- a/apps/workbench/app/views/collections/_show_files.html.erb
+++ b/apps/workbench/app/views/collections/_show_files.html.erb
@@ -74,7 +74,7 @@ function unselect_all_files() {
<li>
<% if size.nil? # This is a subdirectory. %>
<% dirstack.push(File.join(dirname, filename)) %>
- <div class="collection_files_row">
+ <div class="collection_files_row filterable">
<div class="collection_files_name><i class="fa fa-fw fa-folder-open"></i> <%= filename %></div>
</div>
<ul class="collection_files">
@@ -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>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list