From 6541fa5316816d6f97a87a370775cfe278e7eeb8 Mon Sep 17 00:00:00 2001 From: Joris Date: Thu, 7 Apr 2016 23:58:23 +0200 Subject: Add cumulative incomes by user --- src/server/Design/Global.hs | 15 ++++++++++----- src/server/Design/LoggedIn/Home/Pages.hs | 2 +- src/server/Design/LoggedIn/Income.hs | 5 ++++- src/server/Model/Message/Key.hs | 2 +- src/server/Model/Message/Translations.hs | 14 +++++++------- 5 files changed, 23 insertions(+), 15 deletions(-) (limited to 'src/server') diff --git a/src/server/Design/Global.hs b/src/server/Design/Global.hs index 90dd842..e2e98a7 100644 --- a/src/server/Design/Global.hs +++ b/src/server/Design/Global.hs @@ -36,14 +36,19 @@ global = do a ? cursor pointer h1 ? do - fontSize (px 20) + fontSize (px 24) color Color.red - marginBottom (em 1) + "margin-bottom" -: "3vh" ul ? do - marginBottom (em 1) - li ? do - marginBottom (em 0.5) + "margin-bottom" -: "3vh" + "margin-left" -: "1vh" + li "The date must be day/month/year" French -> "La date doit avoir la forme jour/mois/année" -m l IncomeValidationError = - case l of - English -> "The income must be a positive integer." - French -> "Le revenu doit être un entier positif." - -- Payments m l Add = @@ -269,9 +264,14 @@ m l ByMonths = -- Income +m l CumulativeIncomesSince = + case l of + English -> "Cumulative incomes since {0}" + French -> "Revenus nets cumulés depuis le {0}" + m l AddIncome = case l of - English -> "Add a monthly net income" + English -> "Add a monthly income" French -> "Ajouter un revenu mensuel net" m l Income = @@ -281,7 +281,7 @@ m l Income = m l MonthlyNetIncomes = case l of - English -> "Monthly net incomes" + English -> "Monthly incomes" French -> "Revenus mensuels nets" m l IncomeNotDeleted = -- cgit v1.2.3