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.
- Loading branch information
Showing
18 changed files
with
51 additions
and
87 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ def label_class | |
end | ||
|
||
def label | ||
'Coming Soon' | ||
'Coming soon' | ||
end | ||
|
||
def tag_data_value_status | ||
|
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,21 +1,23 @@ | ||
<%= simple_form_for [:admin, status.auction], url: admin_auction_publish_path, method: :patch do |f| %> | ||
<fieldset class="datetime"> | ||
<legend>Auction starts</legend> | ||
<%= render partial: 'sidebar_datetime_fields', | ||
locals: { field: 'started', auction: status } %> | ||
</fieldset> | ||
<%= simple_form_for [:admin, status.auction], url: admin_auction_path, method: :patch do |f| %> | ||
<fieldset class="datetime"> | ||
<legend>Auction starts</legend> | ||
<%= render partial: 'sidebar_datetime_fields', | ||
locals: { field: 'started', auction: status } %> | ||
</fieldset> | ||
|
||
<fieldset class="datetime"> | ||
<legend>Auction ends</legend> | ||
<%= render partial: 'sidebar_datetime_fields', | ||
locals: { field: 'ended', auction: status } %> | ||
</fieldset> | ||
<fieldset class="datetime"> | ||
<legend>Auction ends</legend> | ||
<%= render partial: 'sidebar_datetime_fields', | ||
locals: { field: 'ended', auction: status } %> | ||
</fieldset> | ||
|
||
<fieldset class="datetime"> | ||
<legend>Delivery deadline</legend> | ||
<%= render partial: 'sidebar_datetime_fields', | ||
locals: { field: 'delivery_due', auction: status } %> | ||
</fieldset> | ||
<fieldset class="datetime"> | ||
<legend>Delivery deadline</legend> | ||
<%= render partial: 'sidebar_datetime_fields', | ||
locals: { field: 'delivery_due', auction: status } %> | ||
</fieldset> | ||
|
||
<%= f.submit t('links_and_buttons.auctions.publish'), class: 'usa-button usa-button-outline' %> | ||
<%= f.hidden_field :published, value: 'published', hidden: true %> | ||
<%= f.submit t('links_and_buttons.auctions.publish'), | ||
class: 'usa-button usa-button-outline action-button' %> | ||
<% 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<%= link_to I18n.t('statuses.admin_auction_status_presenter.future.published.actions.unpublish'), | ||
admin_auction_published_path(status.auction), | ||
method: :patch, | ||
class: 'usa-button usa-button-outline action-button' %> | ||
<%= simple_form_for [:admin, status.auction], url: admin_auction_path, method: :patch do |f| %> | ||
<%= f.hidden_field :published, value: 'unpublished', hidden: true %> | ||
<%= f.submit t('statuses.admin_auction_status_presenter.future.published.actions.unpublish'), | ||
class: 'usa-button usa-button-outline action-button' %> | ||
<% 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
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