This repository has been archived by the owner on Jul 30, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This was in response to PR feedback from Jessie. Thanks!
- Loading branch information
Jacob Harris
committed
Oct 19, 2016
1 parent
f186c39
commit ddc9e8c
Showing
10 changed files
with
50 additions
and
89 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
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
File renamed without changes.
File renamed without changes.
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,39 +1,15 @@ | ||
<div class="usa-grid"> | ||
<div> | ||
<%= link_to( | ||
"<icon class='fa fa-angle-double-left'></icon> Back to all auctions".html_safe, | ||
root_path, | ||
class: 'breadcrumb-link') %> | ||
<div class="user-profile"> | ||
<div class="user-header-wrapper"> | ||
<div class="usa-grid"> | ||
<div class="user-header-title"> | ||
<h1><%= t 'labels.vendor.account.title' %></h1> | ||
</div> | ||
<%= render partial: 'users/subnav', locals: {active: :bids_placed} %> | ||
</div> | ||
</div> | ||
<div class="user-body-wrapper"> | ||
<div class="usa-grid"> | ||
<%= render partial: @view_model.bids_table_partial, locals: {view_model: @view_model} %> | ||
</div> | ||
</div> | ||
|
||
<h1>My Bids</h1> | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th scope="col">Auction</th> | ||
<th scope="col">Auction type</th> | ||
<th scope="col">Auction running?</th> | ||
<th scope="col">Amount</th> | ||
<th scope="col">Winning bid?</th> | ||
<th scope="col">Auction start time</th> | ||
<th scope="col">Auction end time</th> | ||
<th scope="col">Auction delivery deadline</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<% @bids.each do |bid| %> | ||
<tr> | ||
<td><%= link_to(bid.auction_title, auction_path(bid.auction)) %></td> | ||
<td><%= bid.formatted_type %></td> | ||
<td><%= bid.availability %></td> | ||
<td><%= bid.amount %></td> | ||
<td><%= bid.winning_status %></td> | ||
<td><%= bid.started_at %></td> | ||
<td><%= bid.ended_at %></td> | ||
<td><%= bid.delivery_due_at %></td> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> |
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