[ARVADOS] updated: c805714d8bbc51adb32a3a3ae4b82ea41eaa0de0
git at public.curoverse.com
git at public.curoverse.com
Thu Nov 13 21:13:55 EST 2014
Summary of changes:
.../app/views/collections/_show_files.html.erb | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
via c805714d8bbc51adb32a3a3ae4b82ea41eaa0de0 (commit)
from 9325dabcc2b6c32a589ba86cc052946b4875eb1d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit c805714d8bbc51adb32a3a3ae4b82ea41eaa0de0
Author: radhika <radhika at curoverse.com>
Date: Thu Nov 13 21:12:41 2014 -0500
3177: use no left padding when collection files preview panel is used in file chooser dialog.
diff --git a/apps/workbench/app/views/collections/_show_files.html.erb b/apps/workbench/app/views/collections/_show_files.html.erb
index 8af66ad..76d8731 100644
--- a/apps/workbench/app/views/collections/_show_files.html.erb
+++ b/apps/workbench/app/views/collections/_show_files.html.erb
@@ -19,7 +19,18 @@ function unselect_all_files() {
}
</script>
-<div class="selection-action-container" style="padding-left: 1em">
+<%
+ preview_selectable_container = ''
+ preview_selectable = ''
+ padding_left = '1em'
+ if !params['use_preview_selection'].nil? and params['use_preview_selection'] == 'true'
+ preview_selectable_container = 'preview-selectable-container selectable-container'
+ preview_selectable = 'preview-selectable selectable'
+ padding_left = '0em'
+ end
+%>
+
+<div class="selection-action-container" style="padding-left: <%=padding_left%>">
<% if !defined? no_checkboxes or !no_checkboxes %>
<div class="row">
<div class="pull-left">
@@ -53,14 +64,6 @@ function unselect_all_files() {
<% if file_tree.nil? or file_tree.empty? %>
<p>This collection is empty.</p>
<% else %>
- <%
- preview_selectable_container = ''
- preview_selectable = ''
- if !params['use_preview_selection'].nil? and params['use_preview_selection'] == 'true'
- preview_selectable_container = 'preview-selectable-container selectable-container'
- preview_selectable = 'preview-selectable selectable'
- end
- %>
<ul id="collection_files" class="collection_files <%=preview_selectable_container%>">
<% dirstack = [file_tree.first.first] %>
<% file_tree.take(10000).each_with_index do |(dirname, filename, size), index| %>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list