Implemented phase 6 for the POC prototype in the Website service.
This commit is contained in:
1 parent
256d22df40
commit
f2f445827b
40 files changed
+1906
-37
No files matched your search
@@ -332,6 +332,25 @@ private extension MessagesPage {
|
||||
"“\(note)”"
|
||||
}
|
||||
}
|
||||
if offer.status == .expired, conversation.side == .buying, offer.listing.isAvailable {
|
||||
p(.class("type-small")) {
|
||||
"\(conversation.shop.name) didn't answer within 48 hours. The listing is still available at \(offer.listing.priceCents.euros)."
|
||||
}
|
||||
div(.class("answer")) {
|
||||
a(
|
||||
.class("button button--primary button--sm"),
|
||||
.href(.Route.offer(offer.listing.slug))
|
||||
) {
|
||||
"Offer again"
|
||||
}
|
||||
a(
|
||||
.class("button button--sm"),
|
||||
.href(.Route.buy(offer.listing.slug))
|
||||
) {
|
||||
"Buy at \(offer.listing.priceCents.euros)"
|
||||
}
|
||||
}
|
||||
}
|
||||
if offer.status == .open, conversation.side == .selling {
|
||||
AnswerOffer(
|
||||
offer: offer,
|
||||
|
||||
Reference in new issue
Block a user