[ARVADOS] updated: ff5069a59469791a973f3b2c3ca13e52bcd7b91e
git at public.curoverse.com
git at public.curoverse.com
Fri Jan 17 09:41:45 EST 2014
Summary of changes:
.../app/views/application/_index.html.erb | 6 ++++--
apps/workbench/app/views/users/_tables.html.erb | 6 +++---
2 files changed, 7 insertions(+), 5 deletions(-)
via ff5069a59469791a973f3b2c3ca13e52bcd7b91e (commit)
from fab072c1ec902a6f46c3d5a9ffb0f1c6219b45d0 (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 ff5069a59469791a973f3b2c3ca13e52bcd7b91e
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Fri Jan 17 09:42:21 2014 -0500
Fixed spacing on dashboard and generic table page when tables are empty.
diff --git a/apps/workbench/app/views/application/_index.html.erb b/apps/workbench/app/views/application/_index.html.erb
index 07368a5..4c1fdc3 100644
--- a/apps/workbench/app/views/application/_index.html.erb
+++ b/apps/workbench/app/views/application/_index.html.erb
@@ -1,3 +1,4 @@
+
<h2 class="pull-left"><%= controller.model_class.to_s.pluralize.underscore.capitalize.gsub '_', ' ' %></h2>
<br/>
<% if controller.model_class.creatable? %>
@@ -6,9 +7,10 @@
{ class: 'btn btn-primary pull-right' } %>
<% end %>
-<% if @objects.empty? %>
-<p>
+<% if @objects.empty? %>
+<br/>
+<p style="text-align: center">
No <%= controller.model_class.to_s.pluralize.underscore.gsub '_', ' ' %> to display.
</p>
diff --git a/apps/workbench/app/views/users/_tables.html.erb b/apps/workbench/app/views/users/_tables.html.erb
index 36d63f7..47498d3 100644
--- a/apps/workbench/app/views/users/_tables.html.erb
+++ b/apps/workbench/app/views/users/_tables.html.erb
@@ -3,7 +3,7 @@
<strong>Recent jobs</strong>
<%= link_to raw("Show all jobs →"), jobs_path, class: 'pull-right' %>
<% if not current_user.andand.is_active or @my_jobs.empty? %>
- <br/>(None)
+ <p>(None)</p>
<% else %>
<table class="table table-bordered table-condensed table-fixedlayout">
<colgroup>
@@ -91,7 +91,7 @@
<strong>Recent pipeline instances</strong>
<%= link_to raw("Show all pipeline instances →"), jobs_path, class: 'pull-right' %>
<% if not current_user.andand.is_active or @my_pipelines.empty? %>
- <br/>(None)
+ <p>(None)</p>
<% else %>
<table class="table table-bordered table-condensed table-fixedlayout">
<colgroup>
@@ -155,7 +155,7 @@
<% end %>
</div>
<% if not current_user.andand.is_active or @my_collections.empty? %>
- <br/>(None)
+ <p>(None)</p>
<% else %>
<table class="table table-bordered table-condensed table-fixedlayout">
<colgroup>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list