From c00cb6ae05f548f7ae270a93ad44f57207380406 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 8 Feb 2015 20:03:02 +0100 Subject: Put views in packages --- app/views/pages/sales/currentSales.scala.html | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 app/views/pages/sales/currentSales.scala.html (limited to 'app/views/pages/sales/currentSales.scala.html') diff --git a/app/views/pages/sales/currentSales.scala.html b/app/views/pages/sales/currentSales.scala.html new file mode 100644 index 0000000..30cea78 --- /dev/null +++ b/app/views/pages/sales/currentSales.scala.html @@ -0,0 +1,41 @@ +@(sales: Seq[Views.Sale])(implicit request: AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token) + +@templates.ebe("Sales")(request.account) { + +
+ @fragments.ebeMainActions() +
+ +
+ +
+
+
+

Current sales

+ + + + + + + + + + + + + @for(sale <- sales) { + + + + + + } + + +
End dateItemCurrent price
@sale.endDate@sale.itemName@if(sale.bestOffer.isDefined) {@sale.bestOffer} else {sale.initialPrice} €
+
+
+
+ +} -- cgit v1.2.3