X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f3f96f2c0c57a7793428d168668f5b4cc130ab4f..6b9eafb0de63da57e7b1a3945e7d16823e1c25df:/apps/workbench/app/views/application/_show_star.html.erb
diff --git a/apps/workbench/app/views/application/_show_star.html.erb b/apps/workbench/app/views/application/_show_star.html.erb
index 50775f140e..6256eae24b 100644
--- a/apps/workbench/app/views/application/_show_star.html.erb
+++ b/apps/workbench/app/views/application/_show_star.html.erb
@@ -1,9 +1,13 @@
-<% if 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 %>
-
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
+<% if current_user and is_starred %>
+ <%= link_to(star_path(status: 'delete', id:@object.uuid, action_method: 'get'), style: "color:#D00", class: "btn btn-xs star-unstar", title: "Remove from list of favorites", remote: true) do %>
+
<% end %>
<% else %>
<%= link_to(star_path(status: 'create', id:@object.uuid, action_method: 'get'), class: "btn btn-xs star-unstar", title: "Add to list of favorites", remote: true) do %>
-
+
<% end %>
<% end %>