X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/57d5e8e0f8e8c3871e2d95d14e3088c0a3f41a9b..47e59a35d5ed9b2cdb052894d741972324058505:/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 25ed27529f..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 @@ +<%# 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'), class: "btn btn-xs star-unstar", title: "Remove from list of favorites", remote: true) do %> - + <%= 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 %>