-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
50 additions
and
0 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 |
---|---|---|
|
@@ -28,3 +28,5 @@ | |
!/app/assets/builds/.keep | ||
|
||
.irb_history | ||
|
||
.DS_Store |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<div id="historical_match_<%= historical_match.id %>" class="my-4 px-4"> | ||
<div class="flex flex-col space-y-4 border border-black"> | ||
<div class="flex flex-wrap"> | ||
<% historical_match.profiled_members.each do |member| %> | ||
<%= link_to profile_path(member.slack_user_id) do %> | ||
<div class="flex flex-row p-2"> | ||
<img class="w-8 h-8" src="<%= member.avatar_url %>" /> | ||
<span class="leading-8 px-2"><%= member.name %></span> | ||
</div> | ||
<% end %> | ||
<% end %> | ||
</div> | ||
<div class="flex flex-row justify-between"> | ||
<div class="text-sm text-slate-500 m-1"> | ||
<%= historical_match.grouping.titleize %> | ||
</div> | ||
<div class="text-sm text-slate-500 m-1"> | ||
<div> | ||
<span><%= historical_match.matched_on.strftime("%b %d, %Y") %></span> | ||
</div> | ||
</div> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<div class="w-full"> | ||
<div class="flex justify-between items-center"> | ||
<h1 class="font-bold text-4xl">Historical matches</h1> | ||
</div> | ||
|
||
<div id="historical_matches" class="min-w-full"> | ||
<% if @historical_matches.empty? %> | ||
<p class="px-4">No matches made yet</p> | ||
<% else %> | ||
<%= render partial: "historical_match", collection: @historical_matches %> | ||
<% end %> | ||
</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