Update links
This commit is contained in:
parent
c7f5311c02
commit
5b34e41021
7 changed files with 57 additions and 32 deletions
Binary file not shown.
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: 0.0.1\n"
|
"Project-Id-Version: 0.0.1\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-04-18 10:54+0200\n"
|
"POT-Creation-Date: 2023-04-18 11:13+0200\n"
|
||||||
"PO-Revision-Date: 2022-12-21 17:30+0100\n"
|
"PO-Revision-Date: 2022-12-21 17:30+0100\n"
|
||||||
"Last-Translator: edpibu <git@edgarpierre.fr>\n"
|
"Last-Translator: edpibu <git@edgarpierre.fr>\n"
|
||||||
"Language-Team: edpibu <git@edgarpierre.fr>\n"
|
"Language-Team: edpibu <git@edgarpierre.fr>\n"
|
||||||
|
@ -35,14 +35,14 @@ msgstr "Utilisateur"
|
||||||
|
|
||||||
#: .\main\models.py:45 .\main\models.py:79 .\main\models.py:87
|
#: .\main\models.py:45 .\main\models.py:79 .\main\models.py:87
|
||||||
#: .\main\models.py:237 .\main\templates\main\base.html:39
|
#: .\main\models.py:237 .\main\templates\main\base.html:39
|
||||||
#: .\main\templates\main\table\snapshot.html:23
|
#: .\main\templates\main\table\snapshot.html:33
|
||||||
#: .\main\templates\main\table\transaction.html:32
|
#: .\main\templates\main\table\transaction.html:42
|
||||||
msgid "Account"
|
msgid "Account"
|
||||||
msgstr "Compte"
|
msgstr "Compte"
|
||||||
|
|
||||||
#: .\main\models.py:45 .\main\models.py:97 .\main\models.py:208
|
#: .\main\models.py:45 .\main\models.py:97 .\main\models.py:208
|
||||||
#: .\main\models.py:278 .\main\templates\main\table\invoice.html:9
|
#: .\main\models.py:278 .\main\templates\main\table\invoice.html:9
|
||||||
#: .\main\templates\main\table\transaction.html:25
|
#: .\main\templates\main\table\transaction.html:35
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Nom"
|
msgstr "Nom"
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ msgstr "Comptes"
|
||||||
#: .\main\models.py:97 .\main\models.py:121 .\main\models.py:227
|
#: .\main\models.py:97 .\main\models.py:121 .\main\models.py:227
|
||||||
#: .\main\templates\main\base.html:49
|
#: .\main\templates\main\base.html:49
|
||||||
#: .\main\templates\main\plot\category.html:14
|
#: .\main\templates\main\plot\category.html:14
|
||||||
#: .\main\templates\main\table\transaction.html:29
|
#: .\main\templates\main\table\transaction.html:39
|
||||||
msgid "Category"
|
msgid "Category"
|
||||||
msgstr "Catégorie"
|
msgstr "Catégorie"
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ msgstr "Valeur de fin"
|
||||||
msgid "Start value"
|
msgid "Start value"
|
||||||
msgstr "Valeur de début"
|
msgstr "Valeur de début"
|
||||||
|
|
||||||
#: .\main\models.py:141 .\main\templates\main\table\snapshot.html:26
|
#: .\main\models.py:141 .\main\templates\main\table\snapshot.html:36
|
||||||
msgid "Difference"
|
msgid "Difference"
|
||||||
msgstr "Différence"
|
msgstr "Différence"
|
||||||
|
|
||||||
|
@ -127,13 +127,13 @@ msgstr "Transaction"
|
||||||
msgid "Description"
|
msgid "Description"
|
||||||
msgstr "Description"
|
msgstr "Description"
|
||||||
|
|
||||||
#: .\main\models.py:212 .\main\templates\main\table\snapshot.html:25
|
#: .\main\models.py:212 .\main\templates\main\table\snapshot.html:35
|
||||||
#: .\main\templates\main\table\transaction.html:26
|
#: .\main\templates\main\table\transaction.html:36
|
||||||
msgid "Value"
|
msgid "Value"
|
||||||
msgstr "Valeur"
|
msgstr "Valeur"
|
||||||
|
|
||||||
#: .\main\models.py:214 .\main\templates\main\table\snapshot.html:21
|
#: .\main\models.py:214 .\main\templates\main\table\snapshot.html:31
|
||||||
#: .\main\templates\main\table\transaction.html:24
|
#: .\main\templates\main\table\transaction.html:34
|
||||||
msgid "Date"
|
msgid "Date"
|
||||||
msgstr "Date"
|
msgstr "Date"
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ msgstr "Date"
|
||||||
msgid "Real date"
|
msgid "Real date"
|
||||||
msgstr "Date réelle"
|
msgstr "Date réelle"
|
||||||
|
|
||||||
#: .\main\models.py:217 .\main\templates\main\table\transaction.html:27
|
#: .\main\models.py:217 .\main\templates\main\table\transaction.html:37
|
||||||
msgid "Trader"
|
msgid "Trader"
|
||||||
msgstr "Commerçant"
|
msgstr "Commerçant"
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@ msgstr "Paiement"
|
||||||
#: .\main\templates\main\list\transaction.html:6
|
#: .\main\templates\main\list\transaction.html:6
|
||||||
#: .\main\templates\main\list\transaction.html:23
|
#: .\main\templates\main\list\transaction.html:23
|
||||||
#: .\main\templates\main\snapshot_form.html:39
|
#: .\main\templates\main\snapshot_form.html:39
|
||||||
#: .\main\templates\main\table\snapshot.html:27
|
#: .\main\templates\main\table\snapshot.html:37
|
||||||
msgid "Transactions"
|
msgid "Transactions"
|
||||||
msgstr "Transactions"
|
msgstr "Transactions"
|
||||||
|
|
||||||
|
@ -242,17 +242,21 @@ msgstr "Aucune facture"
|
||||||
msgid "New invoice"
|
msgid "New invoice"
|
||||||
msgstr "Nouvelle facture"
|
msgstr "Nouvelle facture"
|
||||||
|
|
||||||
#~ msgid "New statement"
|
#: .\main\templates\main\table\snapshot.html:5
|
||||||
#~ msgstr "Nouveau relevé"
|
msgid "New statement"
|
||||||
|
msgstr "Nouveau relevé"
|
||||||
|
|
||||||
#~ msgid "View all statements"
|
#: .\main\templates\main\table\snapshot.html:10
|
||||||
#~ msgstr "Voir tous les relevés"
|
msgid "View all statements"
|
||||||
|
msgstr "Voir tous les relevés"
|
||||||
|
|
||||||
#~ msgid "New transaction"
|
#: .\main\templates\main\table\transaction.html:6
|
||||||
#~ msgstr "Ajouter une transaction"
|
msgid "New transaction"
|
||||||
|
msgstr "Nouvelle transaction"
|
||||||
|
|
||||||
#~ msgid "View all transactions"
|
#: .\main\templates\main\table\transaction.html:11
|
||||||
#~ msgstr "Voir toutes les transactions"
|
msgid "View all transactions"
|
||||||
|
msgstr "Voir toutes les transactions"
|
||||||
|
|
||||||
#~ msgid "Valid"
|
#~ msgid "Valid"
|
||||||
#~ msgstr "Valide"
|
#~ msgstr "Valide"
|
||||||
|
|
|
@ -12,12 +12,9 @@ h1 img {
|
||||||
margin-right: var(--gap);
|
margin-right: var(--gap);
|
||||||
}
|
}
|
||||||
|
|
||||||
#categories > a,
|
a.big-link {
|
||||||
#accounts > a {
|
margin-right: 1em;
|
||||||
display: inline-block;
|
|
||||||
padding: 1em;
|
|
||||||
}
|
}
|
||||||
#categories > a > i,
|
a.big-link > i {
|
||||||
#accounts > a > i {
|
|
||||||
margin-right: .5rem;
|
margin-right: .5rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,9 +53,13 @@ h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
line-height: 2em;
|
||||||
|
}
|
||||||
a {
|
a {
|
||||||
color: var(--text-link);
|
color: var(--text-link);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
a:hover {
|
a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
|
@ -18,11 +18,11 @@
|
||||||
{% if accounts %}
|
{% if accounts %}
|
||||||
<h2>{% translate "Accounts" %}</h2>
|
<h2>{% translate "Accounts" %}</h2>
|
||||||
{% spaceless %}
|
{% spaceless %}
|
||||||
<div id="accounts">
|
<p>
|
||||||
{% for acc in accounts %}
|
{% for acc in accounts %}
|
||||||
<a href="{% url 'account' acc.id %}"><i class="fa fa-{{ acc.icon }}"></i>{{ acc }}</a>
|
<a class="big-link" href="{% url 'account' acc.id %}"><i class="fa fa-{{ acc.icon }}"></i>{{ acc }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</p>
|
||||||
{% endspaceless %}
|
{% endspaceless %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if transactions %}
|
{% if transactions %}
|
||||||
|
@ -34,11 +34,11 @@
|
||||||
{% if categories %}
|
{% if categories %}
|
||||||
<h2>{% translate "Categories" %}</h2>
|
<h2>{% translate "Categories" %}</h2>
|
||||||
{% spaceless %}
|
{% spaceless %}
|
||||||
<div id="categories">
|
<p>
|
||||||
{% for cat in categories %}
|
{% for cat in categories %}
|
||||||
<a href="{% url 'category' cat.id %}"><i class="fa fa-{{ cat.icon }}"></i>{{ cat }}</a>
|
<a class="big-link" href="{% url 'category' cat.id %}"><i class="fa fa-{{ cat.icon }}"></i>{{ cat }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</p>
|
||||||
{% endspaceless %}
|
{% endspaceless %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if snapshots %}
|
{% if snapshots %}
|
||||||
|
|
|
@ -1,5 +1,15 @@
|
||||||
{% load main_extras %}
|
{% load main_extras %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% if new_snapshot_url %}
|
||||||
|
<p>
|
||||||
|
<a href="{{ new_snapshot_url }}">{% translate "New statement" %}</a>
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
{% if snapshots_url %}
|
||||||
|
<p>
|
||||||
|
<a href="{{ snapshots_url }}">{% translate "View all statements" %}</a>
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
<div id="snapshots">
|
<div id="snapshots">
|
||||||
<table class="full-width">
|
<table class="full-width">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
|
|
|
@ -1,6 +1,16 @@
|
||||||
{% load main_extras %}
|
{% load main_extras %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
<div id="transactions">
|
<div id="transactions">
|
||||||
|
{% if new_transaction_url %}
|
||||||
|
<p>
|
||||||
|
<a href="{{ new_transaction_url }}">{% translate "New transaction" %}</a>
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
{% if transactions_url %}
|
||||||
|
<p>
|
||||||
|
<a href="{{ transactions_url }}">{% translate "View all transactions" %}</a>
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
<table class="full-width">
|
<table class="full-width">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col class="icon">
|
<col class="icon">
|
||||||
|
|
Loading…
Reference in a new issue