-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5524 from solidusio/elia/feedback-button
[admin] Move the feedback link to the bottom of the page
- Loading branch information
Showing
3 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
26 changes: 15 additions & 11 deletions
26
admin/app/components/solidus_admin/layout/feedback/component.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
<span class="max-w-xs text-xs text-right text-gray-600 hidden lg:block"> | ||
<%= t(".feedback_description") %> | ||
</span> | ||
<%= render component("ui/button").new( | ||
tag: :a, | ||
text: t(".give_feedback"), | ||
href: "https://solidus.io/feedback?category=solidus-admin", | ||
icon: "feedback-line", | ||
scheme: :secondary, | ||
target: :_blank, | ||
) %> | ||
<%= link_to( | ||
"https://solidus.io/feedback?category=solidus-admin", | ||
class: 'whitespace-nowrap flex flex-col items-center gap-2 text-gray-500 text-small hover:text-black', | ||
target: '_blank', | ||
) do %> | ||
|
||
<span> | ||
<%= render component("ui/badge").new(name: "beta", size: :s, color: :blue) %> | ||
<span class="underline"><%= t(".give_feedback") %></span> | ||
</span> | ||
|
||
<span class="body-small text-center"> | ||
<%= t(".feedback_description_html") %> | ||
</span> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters