From f6890b7c24faba75d5bafc44ed74479e273db94b Mon Sep 17 00:00:00 2001 From: Arno Wunderlich <arno.a.wunderlich@student.jyu.fi> Date: Mon, 20 Feb 2023 07:43:30 +0000 Subject: [PATCH] added multicurrency support for profile page --- src/tjts5901/templates/auth/profile.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tjts5901/templates/auth/profile.html b/src/tjts5901/templates/auth/profile.html index cdb327f4..76436802 100644 --- a/src/tjts5901/templates/auth/profile.html +++ b/src/tjts5901/templates/auth/profile.html @@ -39,8 +39,8 @@ <div class="card-body"> <h5 class="card-title">{{ auction.title }}</h5> <p class="card-text">{{ auction.description }}</p> - <p class="card-text">Starting Bid: {{ auction.starting_bid }} €</p> - <p class="card-text">Current Price: {{ auction.current_price }} €</p> + <p class="card-text">Starting Bid: {{ auction.starting_bid|localcurrency }} €</p> + <p class="card-text">Current Price: {{ auction.current_price|localcurrency }} €</p> <p class="card-text">Starting Time: {{ auction.created_at }} </p> <p class="card-text">Closing Time: {{ auction.closes_at }} </p> </div> -- GitLab