aboutsummaryrefslogtreecommitdiff
path: root/budget
diff options
context:
space:
mode:
authorQuentin Roy <royque@gmail.com>2015-08-20 12:08:52 +0200
committerQuentin Roy <royque@gmail.com>2015-08-20 12:08:52 +0200
commitd31de6c4a3f0fd292f4b3ca907ed9081f58ea1a7 (patch)
treee5dbad5c6d3e5a0a17874bda8966bc4fd42e9194 /budget
parent0e21449191ee54d72392c11e257e8bb1f7a8f625 (diff)
parentd9313ba40e42f0910323fa522b104257a81a1d74 (diff)
downloadihatemoney-mirror-d31de6c4a3f0fd292f4b3ca907ed9081f58ea1a7.zip
ihatemoney-mirror-d31de6c4a3f0fd292f4b3ca907ed9081f58ea1a7.tar.gz
ihatemoney-mirror-d31de6c4a3f0fd292f4b3ca907ed9081f58ea1a7.tar.bz2
Merge pull request #130 from JocelynDelalande/trailing-whitespaces
Remove trailing whitespaces
Diffstat (limited to 'budget')
-rw-r--r--budget/static/css/main.css2
-rw-r--r--budget/templates/authenticate.html2
-rw-r--r--budget/templates/forms.html12
-rw-r--r--budget/templates/invitation_mail.en2
-rw-r--r--budget/templates/list_bills.html6
-rw-r--r--budget/templates/password_reminder.en2
-rw-r--r--budget/templates/reminder_mail.en2
-rw-r--r--budget/templates/send_invites.html2
-rw-r--r--budget/tests.py2
9 files changed, 16 insertions, 16 deletions
diff --git a/budget/static/css/main.css b/budget/static/css/main.css
index 3274241..97a3e19 100644
--- a/budget/static/css/main.css
+++ b/budget/static/css/main.css
@@ -180,7 +180,7 @@ tr.payer_line .balance-name{
background: url('../images/reactivate.png') left no-repeat;
color: white;
}
-
+
#bill-form > fieldset {
margin-top: 10px;
}
diff --git a/budget/templates/authenticate.html b/budget/templates/authenticate.html
index dc62a70..98914d0 100644
--- a/budget/templates/authenticate.html
+++ b/budget/templates/authenticate.html
@@ -3,7 +3,7 @@
<h2>Authentication</h2>
{% if create_project %}
-<p class="info">{{ _("The project you are trying to access do not exist, do you want
+<p class="info">{{ _("The project you are trying to access do not exist, do you want
to") }} <a href="{{ url_for(".create_project", project_id=create_project) }}">{{ _("create it") }}</a>{{ _("?") }}
</p>
{% endif %}
diff --git a/budget/templates/forms.html b/budget/templates/forms.html
index 2904e0d..ec73515 100644
--- a/budget/templates/forms.html
+++ b/budget/templates/forms.html
@@ -76,12 +76,12 @@
<fieldset>
{% if title %}<legend>{% if edit %}{{ _("Edit this bill") }} {% else %}{{ _("Add a bill") }} {% endif %}</legend>{% endif %}
{% include "display_errors.html" %}
- {{ form.hidden_tag() }}
- {{ input(form.date, class="datepicker") }}
- {{ input(form.what) }}
- {{ input(form.payer) }}
- {{ input(form.amount) }}
- {{ input(form.payed_for) }}
+ {{ form.hidden_tag() }}
+ {{ input(form.date, class="datepicker") }}
+ {{ input(form.what) }}
+ {{ input(form.payer) }}
+ {{ input(form.amount) }}
+ {{ input(form.payed_for) }}
</fieldset>
<div class="actions">
{{ form.submit(class="btn btn-primary") }}
diff --git a/budget/templates/invitation_mail.en b/budget/templates/invitation_mail.en
index 4f5bbf0..e4ff0e9 100644
--- a/budget/templates/invitation_mail.en
+++ b/budget/templates/invitation_mail.en
@@ -1,4 +1,4 @@
-Hi,
+Hi,
Someone using the email address {{ g.project.contact_email }} invited you to share your expenses for "{{ g.project.name }}".
diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html
index f9d372a..899fdeb 100644
--- a/budget/templates/list_bills.html
+++ b/budget/templates/list_bills.html
@@ -42,13 +42,13 @@
});
$("#bal-member-"+payer_id).addClass("payer_line");
};
-
+
var unhighlight_owers = function(){
$('[id^="bal-member-"]').removeClass("ower_line payer_line");
};
-
+
$('#bill_table tbody tr').hover(highlight_owers, unhighlight_owers);
-
+
{% endblock %}
{% block sidebar %}
diff --git a/budget/templates/password_reminder.en b/budget/templates/password_reminder.en
index fc24a6f..31210aa 100644
--- a/budget/templates/password_reminder.en
+++ b/budget/templates/password_reminder.en
@@ -1,4 +1,4 @@
-Hi,
+Hi,
You requested to be reminded about your password for "{{ project.name }}".
diff --git a/budget/templates/reminder_mail.en b/budget/templates/reminder_mail.en
index b2e3a65..fe57be2 100644
--- a/budget/templates/reminder_mail.en
+++ b/budget/templates/reminder_mail.en
@@ -1,4 +1,4 @@
-Hi,
+Hi,
You have just (or someone else using your email address) created the project "{{ g.project.name }}" to share your expenses.
diff --git a/budget/templates/send_invites.html b/budget/templates/send_invites.html
index 9ddded1..7b3bdc5 100644
--- a/budget/templates/send_invites.html
+++ b/budget/templates/send_invites.html
@@ -9,7 +9,7 @@
{% endblock %}
{% block content %}
<h2>{{ _("Invite people to join this project") }}</h2>
-<p>{{ _("Specify a (comma separated) list of email adresses you want to notify about the
+<p>{{ _("Specify a (comma separated) list of email adresses you want to notify about the
creation of this budget management project and we will send them an email for you.") }}</p>
<p>{{ _("If you prefer, you can") }} <a href="{{ url_for(".list_bills") }}">{{ _("skip this step") }}</a> {{ _("and notify them yourself") }}</p>
diff --git a/budget/tests.py b/budget/tests.py
index 0f7c2a2..1fb9fe4 100644
--- a/budget/tests.py
+++ b/budget/tests.py
@@ -532,7 +532,7 @@ class BudgetTestCase(TestCase):
for m, a in members.items():
self.assertEqual(a, balance[m.id])
return
-
+
class APITestCase(TestCase):