Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re2o
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
re2o
Commits
32be355f
Commit
32be355f
authored
Sep 02, 2018
by
detraz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrections de front buttons et labels cotisations
parent
865c24cf
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
24 deletions
+20
-24
cotisations/locale/fr/LC_MESSAGES/django.mo
cotisations/locale/fr/LC_MESSAGES/django.mo
+0
-0
cotisations/locale/fr/LC_MESSAGES/django.po
cotisations/locale/fr/LC_MESSAGES/django.po
+9
-13
cotisations/templates/cotisations/control.html
cotisations/templates/cotisations/control.html
+1
-1
cotisations/templates/cotisations/delete.html
cotisations/templates/cotisations/delete.html
+1
-1
cotisations/templates/cotisations/edit_facture.html
cotisations/templates/cotisations/edit_facture.html
+2
-2
cotisations/templates/cotisations/facture.html
cotisations/templates/cotisations/facture.html
+4
-4
cotisations/templates/cotisations/payment.html
cotisations/templates/cotisations/payment.html
+1
-1
cotisations/views.py
cotisations/views.py
+2
-2
No files found.
cotisations/locale/fr/LC_MESSAGES/django.mo
View file @
32be355f
No preview for this file type
cotisations/locale/fr/LC_MESSAGES/django.po
View file @
32be355f
...
...
@@ -681,8 +681,9 @@ msgstr ""
#: templates/cotisations/delete.html:38
#: templates/cotisations/edit_facture.html:60
#: views.py:181 views.py:235
msgid "Confirm"
msgstr "
Confirm
er"
msgstr "
Valid
er"
#: templates/cotisations/edit_facture.html:31
#: templates/cotisations/facture.html:30
...
...
@@ -695,12 +696,13 @@ msgstr "Modifier la facture"
#: templates/cotisations/edit_facture.html:41
#: templates/cotisations/facture.html:56
msgid "Invoice's articles"
msgstr "Articles de la facture"
#: templates/cotisations/index_article.html:30
msgid "Articles"
msgstr "Articles"
#: templates/cotisations/facture.html:37
msgid "
New invoice
"
msgstr "
Nouvelle facture
"
msgid "
Buy
"
msgstr "
Acheter une cotisation
"
#: templates/cotisations/facture.html:40
#, python-format
...
...
@@ -713,8 +715,8 @@ msgid "Current balance: %(balance)s €"
msgstr "Solde actuel : %(balance)s €"
#: templates/cotisations/facture.html:70
msgid "Add an article"
msgstr "Ajouter un article"
msgid "Add an
extra
article"
msgstr "Ajouter un article
supplémentaire
"
#: templates/cotisations/facture.html:72
msgid "Total price: <span id=\"total_price\">0,00</span> €"
...
...
@@ -728,9 +730,6 @@ msgstr "Factures"
msgid "Subscriptions"
msgstr "Cotisations"
#: templates/cotisations/index_article.html:30
msgid "Articles"
msgstr "Articles"
#: templates/cotisations/index_article.html:33
msgid "Article types list"
...
...
@@ -812,9 +811,6 @@ msgstr "Contrôler les factures"
msgid "You need to choose at least one article."
msgstr "Vous devez choisir au moins un article."
#: views.py:181 views.py:235
msgid "Create"
msgstr "Créer"
#: views.py:228
msgid "The custom invoice was created."
...
...
cotisations/templates/cotisations/control.html
View file @
32be355f
...
...
@@ -105,7 +105,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endfor %}
</table>
{% trans "Edit" as tr_edit %}
{% bootstrap_button tr_edit button_type='submit' icon='
star
' %}
{% bootstrap_button tr_edit button_type='submit' icon='
ok' button_class='btn-success
' %}
</form>
{% endblock %}
...
...
cotisations/templates/cotisations/delete.html
View file @
32be355f
...
...
@@ -36,7 +36,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% blocktrans %}Warning: are you sure you really want to delete this {{ object_name }} object ( {{ objet }} )?{% endblocktrans %}
</h4>
{% trans "Confirm" as tr_confirm %}
{% bootstrap_button tr_confirm button_type='submit' icon='trash' %}
{% bootstrap_button tr_confirm button_type='submit' icon='trash'
button_class='btn-danger'
%}
</form>
{% endblock %}
cotisations/templates/cotisations/edit_facture.html
View file @
32be355f
...
...
@@ -38,7 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<h3>
{% trans "Edit the invoice" %}
</h3>
{% massive_bootstrap_form factureform 'user' %}
{{ venteform.management_form }}
<h3>
{% trans "
Invoice's a
rticles" %}
</h3>
<h3>
{% trans "
A
rticles" %}
</h3>
<table
class=
"table table-striped"
>
<thead>
<tr>
...
...
@@ -58,7 +58,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endfor %}
</table>
{% trans "Confirm" as tr_confirm %}
{% bootstrap_button tr_confirm button_type='submit' icon='
star
' %}
{% bootstrap_button tr_confirm button_type='submit' icon='
ok' button_class='btn-success
' %}
</form>
{% endblock %}
...
...
cotisations/templates/cotisations/facture.html
View file @
32be355f
...
...
@@ -34,7 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% if title %}
<h3>
{{ title }}
</h3>
{% else %}
<h3>
{% trans "
New invoice
" %}
</h3>
<h3>
{% trans "
Buy
" %}
</h3>
{% endif %}
{% if max_balance %}
<h4>
{% blocktrans %}Maximum allowed balance: {{ max_balance }} €{% endblocktrans %}
</h4>
...
...
@@ -53,7 +53,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div
id=
"paymentMethod"
></div>
{% endif %}
{% if articlesformset %}
<h3>
{% trans "
Invoice's a
rticles" %}
</h3>
<h3>
{% trans "
A
rticles" %}
</h3>
<div
id=
"form_set"
class=
"form-group"
>
{{ articlesformset.management_form }}
{% for articlesform in articlesformset.forms %}
...
...
@@ -67,12 +67,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</div>
{% endfor %}
</div>
<input
class=
"btn btn-primary btn-
sm"
role=
"button"
value=
"{% trans "
Add
an
article
"%}"
id=
"add_one"
>
<input
class=
"btn btn-primary btn-
block"
role=
"button"
value=
"{% trans "
Add
an
extra
article
"%}"
id=
"add_one"
>
<p>
{% blocktrans %}Total price:
<span
id=
"total_price"
>
0,00
</span>
€{% endblocktrans %}
</p>
{% endif %}
{% bootstrap_button action_name button_type='submit' icon='
star
' %}
{% bootstrap_button action_name button_type='submit' icon='
ok' button_class='btn-success
' %}
</form>
{% if articlesformset or payment_method%}
...
...
cotisations/templates/cotisations/payment.html
View file @
32be355f
...
...
@@ -40,7 +40,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% bootstrap_form form %}
{% endif %}
{% trans "Pay" as tr_pay %}
{% bootstrap_button tr_pay button_type='submit' icon='piggy-bank' %}
{% bootstrap_button tr_pay button_type='submit' icon='piggy-bank'
button_class='btn-success'
%}
</form>
{% endblock %}
cotisations/views.py
View file @
32be355f
...
...
@@ -169,7 +169,7 @@ def new_facture(request, user, userid):
'articlesformset'
:
article_formset
,
'articlelist'
:
article_list
,
'balance'
:
balance
,
'action_name'
:
_
(
'C
reate
'
),
'action_name'
:
_
(
'C
onfirm
'
),
},
'cotisations/facture.html'
,
request
)
...
...
@@ -218,7 +218,7 @@ def new_custom_invoice(request):
return
form
({
'factureform'
:
invoice_form
,
'action_name'
:
_
(
"C
reate
"
),
'action_name'
:
_
(
"C
onfirm
"
),
'articlesformset'
:
articles_formset
,
'articlelist'
:
articles
},
'cotisations/facture.html'
,
request
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment