[ARVADOS] updated: c592f178659ed5ebfd03720a02940daa62931d14
git at public.curoverse.com
git at public.curoverse.com
Mon Feb 15 20:45:41 EST 2016
Summary of changes:
apps/workbench/app/views/application/_projects_tree_menu.html.erb | 2 +-
apps/workbench/app/views/application/_show_star.html.erb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
via c592f178659ed5ebfd03720a02940daa62931d14 (commit)
from 7befcf18a5a8249ba73ec6c2009a8a82861b84bf (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 c592f178659ed5ebfd03720a02940daa62931d14
Author: radhika <radhika at curoverse.com>
Date: Mon Feb 15 20:44:59 2016 -0500
8286: check if project is starred only when current_user is not null (anonymous user case).
diff --git a/apps/workbench/app/views/application/_projects_tree_menu.html.erb b/apps/workbench/app/views/application/_projects_tree_menu.html.erb
index 4949c8f..ad2620d 100644
--- a/apps/workbench/app/views/application/_projects_tree_menu.html.erb
+++ b/apps/workbench/app/views/application/_projects_tree_menu.html.erb
@@ -10,7 +10,7 @@
<% end %>
</li>
<% end %>
- <li role="presentation" class="divider">
+ <li role="presentation" class="divider"></li>
<% end %>
<li role="presentation" class="dropdown-header">
diff --git a/apps/workbench/app/views/application/_show_star.html.erb b/apps/workbench/app/views/application/_show_star.html.erb
index 50775f1..25ed275 100644
--- a/apps/workbench/app/views/application/_show_star.html.erb
+++ b/apps/workbench/app/views/application/_show_star.html.erb
@@ -1,4 +1,4 @@
-<% if is_starred %>
+<% if current_user and is_starred %>
<%= link_to(star_path(status: 'delete', id:@object.uuid, action_method: 'get'), class: "btn btn-xs star-unstar", title: "Remove from list of favorites", remote: true) do %>
<i class="fa fa-fw fa-star"></i>
<% end %>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list