Skip to content

Commit

Permalink
Add a button for giving feedback to the products page
Browse files Browse the repository at this point in the history
  • Loading branch information
elia authored and waiting-for-dev committed Aug 9, 2023
1 parent 40944c5 commit 2918e38
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,18 @@
<%= title %>
</h1>

<div class="ml-auto flex gap-2">
<div class="ml-auto flex gap-2 items-center">
<span class="max-w-xs text-xs text-right text-gray-600 hidden lg:block">
<%= t(".feedback_description") %>
</span>
<%= render @button_component.new(
tag: :a,
text: t(".give_feedback"),
href: "https://solidus.io/feedback?category=solidus-admin",
icon: "feedback-line",
scheme: :secondary,
target: :_blank,
) %>
<%= render @button_component.new(
tag: :a,
text: t('.add_product'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ en:
activate: 'Activate'
filters:
with_deleted: Include deleted
give_feedback: 'Give feedback'
feedback_description: 'We are constantly trying to improve. Please let us know what you think about this admin page.'

0 comments on commit 2918e38

Please sign in to comment.