[ARVADOS] updated: b1ba4904bc4ee727d8d1b3b90345612c60d4068d
git at public.curoverse.com
git at public.curoverse.com
Wed Jan 15 14:06:50 EST 2014
Summary of changes:
.../app/views/application/_index.html.erb | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
via b1ba4904bc4ee727d8d1b3b90345612c60d4068d (commit)
via b88ef1f92a3140a9be37ed09c72175eee87fe071 (commit)
from 55777101504449fd7784511f304870c3706bed60 (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 b1ba4904bc4ee727d8d1b3b90345612c60d4068d
Merge: b88ef1f 5577710
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Wed Jan 15 14:07:30 2014 -0500
Merge branch 'master' of git.clinicalfuture.com:arvados
commit b88ef1f92a3140a9be37ed09c72175eee87fe071
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Wed Jan 15 14:07:11 2014 -0500
Moves "add new item" button from bottom of the page to the top. Refs #1877
diff --git a/apps/workbench/app/views/application/_index.html.erb b/apps/workbench/app/views/application/_index.html.erb
index 9d77c49..07368a5 100644
--- a/apps/workbench/app/views/application/_index.html.erb
+++ b/apps/workbench/app/views/application/_index.html.erb
@@ -1,3 +1,11 @@
+<h2 class="pull-left"><%= controller.model_class.to_s.pluralize.underscore.capitalize.gsub '_', ' ' %></h2>
+<br/>
+<% if controller.model_class.creatable? %>
+<%= button_to "Add a new #{controller.model_class.to_s.underscore.gsub '_', ' '}",
+ { action: 'create', return_to: request.url },
+ { class: 'btn btn-primary pull-right' } %>
+<% end %>
+
<% if @objects.empty? %>
<p>
@@ -6,8 +14,6 @@
<% else %>
-<h2><%= controller.model_class.to_s.pluralize.underscore.capitalize.gsub '_', ' ' %></h2>
-
<% attr_blacklist = ' created_at modified_at modified_by_user_uuid modified_by_client_uuid updated_at' %>
<table class="table arv-index">
@@ -63,6 +69,3 @@
<% end %>
-<% if controller.model_class.creatable? %>
-<%= button_to "Add a new #{controller.model_class.to_s.underscore.gsub '_', ' '}", { action: 'create', return_to: request.url }, { class: 'btn btn-primary' } %>
-<% end %>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list