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 ""
|
||||
"Project-Id-Version: 0.0.1\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"
|
||||
"Last-Translator: 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:237 .\main\templates\main\base.html:39
|
||||
#: .\main\templates\main\table\snapshot.html:23
|
||||
#: .\main\templates\main\table\transaction.html:32
|
||||
#: .\main\templates\main\table\snapshot.html:33
|
||||
#: .\main\templates\main\table\transaction.html:42
|
||||
msgid "Account"
|
||||
msgstr "Compte"
|
||||
|
||||
#: .\main\models.py:45 .\main\models.py:97 .\main\models.py:208
|
||||
#: .\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"
|
||||
msgstr "Nom"
|
||||
|
||||
|
@ -61,7 +61,7 @@ msgstr "Comptes"
|
|||
#: .\main\models.py:97 .\main\models.py:121 .\main\models.py:227
|
||||
#: .\main\templates\main\base.html:49
|
||||
#: .\main\templates\main\plot\category.html:14
|
||||
#: .\main\templates\main\table\transaction.html:29
|
||||
#: .\main\templates\main\table\transaction.html:39
|
||||
msgid "Category"
|
||||
msgstr "Catégorie"
|
||||
|
||||
|
@ -90,7 +90,7 @@ msgstr "Valeur de fin"
|
|||
msgid "Start value"
|
||||
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"
|
||||
msgstr "Différence"
|
||||
|
||||
|
@ -127,13 +127,13 @@ msgstr "Transaction"
|
|||
msgid "Description"
|
||||
msgstr "Description"
|
||||
|
||||
#: .\main\models.py:212 .\main\templates\main\table\snapshot.html:25
|
||||
#: .\main\templates\main\table\transaction.html:26
|
||||
#: .\main\models.py:212 .\main\templates\main\table\snapshot.html:35
|
||||
#: .\main\templates\main\table\transaction.html:36
|
||||
msgid "Value"
|
||||
msgstr "Valeur"
|
||||
|
||||
#: .\main\models.py:214 .\main\templates\main\table\snapshot.html:21
|
||||
#: .\main\templates\main\table\transaction.html:24
|
||||
#: .\main\models.py:214 .\main\templates\main\table\snapshot.html:31
|
||||
#: .\main\templates\main\table\transaction.html:34
|
||||
msgid "Date"
|
||||
msgstr "Date"
|
||||
|
||||
|
@ -141,7 +141,7 @@ msgstr "Date"
|
|||
msgid "Real date"
|
||||
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"
|
||||
msgstr "Commerçant"
|
||||
|
||||
|
@ -155,7 +155,7 @@ msgstr "Paiement"
|
|||
#: .\main\templates\main\list\transaction.html:6
|
||||
#: .\main\templates\main\list\transaction.html:23
|
||||
#: .\main\templates\main\snapshot_form.html:39
|
||||
#: .\main\templates\main\table\snapshot.html:27
|
||||
#: .\main\templates\main\table\snapshot.html:37
|
||||
msgid "Transactions"
|
||||
msgstr "Transactions"
|
||||
|
||||
|
@ -242,17 +242,21 @@ msgstr "Aucune facture"
|
|||
msgid "New invoice"
|
||||
msgstr "Nouvelle facture"
|
||||
|
||||
#~ msgid "New statement"
|
||||
#~ msgstr "Nouveau relevé"
|
||||
#: .\main\templates\main\table\snapshot.html:5
|
||||
msgid "New statement"
|
||||
msgstr "Nouveau relevé"
|
||||
|
||||
#~ msgid "View all statements"
|
||||
#~ msgstr "Voir tous les relevés"
|
||||
#: .\main\templates\main\table\snapshot.html:10
|
||||
msgid "View all statements"
|
||||
msgstr "Voir tous les relevés"
|
||||
|
||||
#~ msgid "New transaction"
|
||||
#~ msgstr "Ajouter une transaction"
|
||||
#: .\main\templates\main\table\transaction.html:6
|
||||
msgid "New transaction"
|
||||
msgstr "Nouvelle transaction"
|
||||
|
||||
#~ msgid "View all transactions"
|
||||
#~ msgstr "Voir toutes les transactions"
|
||||
#: .\main\templates\main\table\transaction.html:11
|
||||
msgid "View all transactions"
|
||||
msgstr "Voir toutes les transactions"
|
||||
|
||||
#~ msgid "Valid"
|
||||
#~ msgstr "Valide"
|
||||
|
|
|
@ -12,12 +12,9 @@ h1 img {
|
|||
margin-right: var(--gap);
|
||||
}
|
||||
|
||||
#categories > a,
|
||||
#accounts > a {
|
||||
display: inline-block;
|
||||
padding: 1em;
|
||||
a.big-link {
|
||||
margin-right: 1em;
|
||||
}
|
||||
#categories > a > i,
|
||||
#accounts > a > i {
|
||||
a.big-link > i {
|
||||
margin-right: .5rem;
|
||||
}
|
||||
|
|
|
@ -53,9 +53,13 @@ h1 {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 2em;
|
||||
}
|
||||
a {
|
||||
color: var(--text-link);
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
{% if accounts %}
|
||||
<h2>{% translate "Accounts" %}</h2>
|
||||
{% spaceless %}
|
||||
<div id="accounts">
|
||||
<p>
|
||||
{% 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 %}
|
||||
</div>
|
||||
</p>
|
||||
{% endspaceless %}
|
||||
{% endif %}
|
||||
{% if transactions %}
|
||||
|
@ -34,11 +34,11 @@
|
|||
{% if categories %}
|
||||
<h2>{% translate "Categories" %}</h2>
|
||||
{% spaceless %}
|
||||
<div id="categories">
|
||||
<p>
|
||||
{% 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 %}
|
||||
</div>
|
||||
</p>
|
||||
{% endspaceless %}
|
||||
{% endif %}
|
||||
{% if snapshots %}
|
||||
|
|
|
@ -1,5 +1,15 @@
|
|||
{% load main_extras %}
|
||||
{% 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">
|
||||
<table class="full-width">
|
||||
<colgroup>
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
{% load main_extras %}
|
||||
{% load i18n %}
|
||||
<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">
|
||||
<colgroup>
|
||||
<col class="icon">
|
||||
|
|
Loading…
Reference in a new issue