This repository has been archived by the owner on Sep 29, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
1b653d8
commit 28c66de
Showing
17 changed files
with
143 additions
and
194 deletions.
There are no files selected for viewing
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,9 +1,13 @@ | ||
<div class="bg-gray-200 shadow-lg rounded-lg"> | ||
<div class="border-b border-gray-200 px-2 py-2"> | ||
<a href="<%= user_path(@review.user) %>"><img class="inline-block h-14 w-14 rounded-full" src="<%= @review.user.avatar_image %>" alt=""></a> | ||
<a href="<%= user_path(@review.user) %>"><b><%= @review.user.nickname %></b></a> <%= @review.display_status %> | ||
<div class="bg-purple-50 shadow-lg rounded-lg"> | ||
<div class="border-b border-purple-200 px-2 py-4"> | ||
<a href="<%= user_path(@review.user) %>"><img class="inline-block h-8 w-8 rounded-full" src="<%= @review.user.avatar_image %>" alt=""></a> | ||
<a href="<%= user_path(@review.user) %>" class="border-dashed border-b border-transparent hover:border-purple-500"><b><%= @review.user.nickname %></b></a> <%= @review.display_status %> | ||
a <%= ItemType.display_name_singular(@review.item.item_type_id) %> in | ||
<% @review.item.topics.each do |topic| %> | ||
<a href='<%= topic_path(topic) %>' class="flex-shrink-0 px-1 py-0.5 text-purple-500 bg-purple-100 border border-purple-200 rounded hover:bg-purple-200 hover:text-black font-semibold"><%= topic.display_name %></a> | ||
<% end %> | ||
</div> | ||
<div class="bg-white rounded-b-lg"> | ||
<%= render ItemPanelComponent.new(item: @review.item, user: @user, hide_item_type: true, hide_topics: true) %> | ||
<%= render ItemPanelComponent.new(item: @review.item, user: @user, is_embedded: true) %> | ||
</div> | ||
</div> |
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.