Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix styling of budget buttons

Oliver Günther616828c0e2b8
diff --git a/modules/costs/app/views/cost_types/_list.html.erb b/modules/costs/app/views/cost_types/_list.html.erb
index ef8a8a65aaf..0b9db32341e 100644
--- a/modules/costs/app/views/cost_types/_list.html.erb
+++ b/modules/costs/app/views/cost_types/_list.html.erb
@@ -96,9 +96,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
method: :delete,
html: { id: "delete_cost_type_#{cost_type.id}",
class: 'delete_cost_type',
- title: t(:button_delete) } do |f| %>
+ title: t(:button_lock) } do |f| %>
<button type="submit"
- class="button submit_cost_type">
+ class="button--link submit_cost_type">
<%= icon_wrapper('icon icon-locked', I18n.t(:button_lock)) %>
</button>
<% end %>
diff --git a/modules/costs/app/views/cost_types/_list_deleted.html.erb b/modules/costs/app/views/cost_types/_list_deleted.html.erb
index 8da2821a6d4..b54b7109c3d 100644
--- a/modules/costs/app/views/cost_types/_list_deleted.html.erb
+++ b/modules/costs/app/views/cost_types/_list_deleted.html.erb
@@ -74,7 +74,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
html: { id: "restore_cost_type_#{cost_type.id}",
class: 'restore_cost_type' } do |f| %>
<button type="submit"
- class="button submit_cost_type">
+ class="button--link submit_cost_type">
<%= icon_wrapper('icon icon-unlocked', I18n.t(:button_unlock)) %>
</button>
<% end %>