Commit ddceb82a authored by Skia's avatar Skia 🤘
Browse files

Display uncategorized products

parent 52184c40
Pipeline #263 failed with stage
in 14 seconds
...@@ -18,6 +18,12 @@ ...@@ -18,6 +18,12 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% endfor %} {% endfor %}
<h4>{% trans %}Uncategorized{% endtrans %}</h4>
<ul>
{% for p in product_list.filter(product_type=None).all().order_by('name') %}
<li><a href="{{ url('counter:product_edit', product_id=p.id) }}">{{ p }}</a></li>
{% endfor %}
</ul>
{% else %} {% else %}
{% trans %}There is no products in this website.{% endtrans %} {% trans %}There is no products in this website.{% endtrans %}
{% endif %} {% endif %}
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-28 10:08+0200\n" "POT-Creation-Date: 2016-09-29 16:18+0200\n"
"PO-Revision-Date: 2016-07-18\n" "PO-Revision-Date: 2016-07-18\n"
"Last-Translator: Skia <skia@libskia.so>\n" "Last-Translator: Skia <skia@libskia.so>\n"
"Language-Team: AE info <ae.info@utbm.fr>\n" "Language-Team: AE info <ae.info@utbm.fr>\n"
...@@ -123,7 +123,7 @@ msgstr "numéro" ...@@ -123,7 +123,7 @@ msgstr "numéro"
msgid "journal" msgid "journal"
msgstr "classeur" msgstr "classeur"
#: accounting/models.py:179 core/models.py:471 core/models.py:749 #: accounting/models.py:179 core/models.py:479 core/models.py:757
#: counter/models.py:227 counter/models.py:270 counter/models.py:353 #: counter/models.py:227 counter/models.py:270 counter/models.py:353
#: eboutic/models.py:15 eboutic/models.py:48 #: eboutic/models.py:15 eboutic/models.py:48
msgid "date" msgid "date"
...@@ -299,7 +299,7 @@ msgstr "Compte en banque : " ...@@ -299,7 +299,7 @@ msgstr "Compte en banque : "
#: accounting/templates/accounting/club_account_details.jinja:16 #: accounting/templates/accounting/club_account_details.jinja:16
#: club/templates/club/club_sellings.jinja:40 #: club/templates/club/club_sellings.jinja:40
#: core/templates/core/file_detail.jinja:43 #: core/templates/core/file_detail.jinja:43
#: core/templates/core/group_list.jinja:13 #: core/templates/core/group_list.jinja:13 core/templates/core/macros.jinja:61
#: core/templates/core/user_account_detail.jinja:67 #: core/templates/core/user_account_detail.jinja:67
#: core/templates/core/user_edit.jinja:18 #: core/templates/core/user_edit.jinja:18
#: counter/templates/counter/last_ops.jinja:29 #: counter/templates/counter/last_ops.jinja:29
...@@ -310,7 +310,7 @@ msgid "Delete" ...@@ -310,7 +310,7 @@ msgid "Delete"
msgstr "Supprimer" msgstr "Supprimer"
#: accounting/templates/accounting/bank_account_details.jinja:17 #: accounting/templates/accounting/bank_account_details.jinja:17
#: club/views.py:30 core/views/user.py:129 #: club/views.py:31 core/views/user.py:129
msgid "Infos" msgid "Infos"
msgstr "Infos" msgstr "Infos"
...@@ -329,9 +329,10 @@ msgstr "Nouveau compte club" ...@@ -329,9 +329,10 @@ msgstr "Nouveau compte club"
#: accounting/templates/accounting/bank_account_details.jinja:26 #: accounting/templates/accounting/bank_account_details.jinja:26
#: accounting/templates/accounting/bank_account_list.jinja:21 #: accounting/templates/accounting/bank_account_list.jinja:21
#: accounting/templates/accounting/club_account_details.jinja:53 #: accounting/templates/accounting/club_account_details.jinja:53
#: accounting/templates/accounting/journal_details.jinja:66 club/views.py:52 #: accounting/templates/accounting/journal_details.jinja:66 club/views.py:53
#: core/templates/core/file.jinja:38 core/templates/core/page.jinja:31 #: core/templates/core/file.jinja:38 core/templates/core/page.jinja:31
#: core/templates/core/user_tools.jinja:35 core/views/user.py:151 #: core/templates/core/user_tools.jinja:35 core/views/user.py:151
#: counter/templates/counter/cash_summary_list.jinja:48
#: counter/templates/counter/counter_list.jinja:17 #: counter/templates/counter/counter_list.jinja:17
#: counter/templates/counter/counter_list.jinja:32 #: counter/templates/counter/counter_list.jinja:32
#: counter/templates/counter/counter_list.jinja:47 #: counter/templates/counter/counter_list.jinja:47
...@@ -483,7 +484,7 @@ msgid "Done" ...@@ -483,7 +484,7 @@ msgid "Done"
msgstr "Effectué" msgstr "Effectué"
#: accounting/templates/accounting/journal_details.jinja:34 #: accounting/templates/accounting/journal_details.jinja:34
#: counter/templates/counter/cash_summary_list.jinja:32 counter/views.py:697 #: counter/templates/counter/cash_summary_list.jinja:32 counter/views.py:692
msgid "Comment" msgid "Comment"
msgstr "Commentaire" msgstr "Commentaire"
...@@ -501,7 +502,7 @@ msgstr "Éditer l'opération" ...@@ -501,7 +502,7 @@ msgstr "Éditer l'opération"
#: core/templates/core/create.jinja:12 core/templates/core/edit.jinja:12 #: core/templates/core/create.jinja:12 core/templates/core/edit.jinja:12
#: core/templates/core/file_edit.jinja:8 core/templates/core/page_prop.jinja:8 #: core/templates/core/file_edit.jinja:8 core/templates/core/page_prop.jinja:8
#: core/templates/core/pagerev_edit.jinja:24 #: core/templates/core/pagerev_edit.jinja:24
#: core/templates/core/user_godfathers.jinja:27 #: core/templates/core/user_godfathers.jinja:35
#: counter/templates/counter/cash_register_summary.jinja:22 #: counter/templates/counter/cash_register_summary.jinja:22
#: subscription/templates/subscription/subscription.jinja:23 #: subscription/templates/subscription/subscription.jinja:23
msgid "Save" msgid "Save"
...@@ -633,7 +634,7 @@ msgstr "Du" ...@@ -633,7 +634,7 @@ msgstr "Du"
msgid "To" msgid "To"
msgstr "Au" msgstr "Au"
#: club/templates/club/club_sellings.jinja:5 club/views.py:57 #: club/templates/club/club_sellings.jinja:5 club/views.py:58
#: counter/templates/counter/counter_main.jinja:19 #: counter/templates/counter/counter_main.jinja:19
#: counter/templates/counter/last_ops.jinja:35 #: counter/templates/counter/last_ops.jinja:35
msgid "Sellings" msgid "Sellings"
...@@ -658,10 +659,10 @@ msgstr "unités" ...@@ -658,10 +659,10 @@ msgstr "unités"
msgid "Total: " msgid "Total: "
msgstr "Total : " msgstr "Total : "
#: club/templates/club/club_sellings.jinja:19 club/views.py:159 #: club/templates/club/club_sellings.jinja:19 club/views.py:165
#: core/templates/core/user_account_detail.jinja:18 #: core/templates/core/user_account_detail.jinja:18
#: core/templates/core/user_account_detail.jinja:47 #: core/templates/core/user_account_detail.jinja:47
#: counter/templates/counter/cash_summary_list.jinja:28 counter/views.py:74 #: counter/templates/counter/cash_summary_list.jinja:28 counter/views.py:75
msgid "Counter" msgid "Counter"
msgstr "Comptoir" msgstr "Comptoir"
...@@ -727,33 +728,37 @@ msgstr "Comptabilité : " ...@@ -727,33 +728,37 @@ msgstr "Comptabilité : "
msgid "Manage launderettes" msgid "Manage launderettes"
msgstr "Gestion des laveries" msgstr "Gestion des laveries"
#: club/views.py:36 #: club/views.py:37
msgid "Members" msgid "Members"
msgstr "Membres" msgstr "Membres"
#: club/views.py:41 #: club/views.py:42
msgid "Old members" msgid "Old members"
msgstr "Anciens membres" msgstr "Anciens membres"
#: club/views.py:47 core/templates/core/base.jinja:40 core/views/user.py:140 #: club/views.py:48 core/templates/core/base.jinja:40 core/views/user.py:140
msgid "Tools" msgid "Tools"
msgstr "Outils" msgstr "Outils"
#: club/views.py:63 counter/templates/counter/counter_list.jinja:21 #: club/views.py:64 counter/templates/counter/counter_list.jinja:21
#: counter/templates/counter/counter_list.jinja:36 #: counter/templates/counter/counter_list.jinja:36
#: counter/templates/counter/counter_list.jinja:51 #: counter/templates/counter/counter_list.jinja:51
msgid "Props" msgid "Props"
msgstr "Propriétés" msgstr "Propriétés"
#: club/views.py:157 #: club/views.py:102 core/views/forms.py:204 counter/views.py:39
msgid "Select user"
msgstr "Choisir un utilisateur"
#: club/views.py:163
msgid "Begin date" msgid "Begin date"
msgstr "Date de début" msgstr "Date de début"
#: club/views.py:158 #: club/views.py:164
msgid "End date" msgid "End date"
msgstr "Date de fin" msgstr "Date de fin"
#: club/views.py:172 core/templates/core/user_stats.jinja:27 #: club/views.py:178 core/templates/core/user_stats.jinja:27
msgid "Product" msgid "Product"
msgstr "Produit" msgstr "Produit"
...@@ -1043,109 +1048,109 @@ msgstr "Un utilisateur de ce nom d'utilisateur existe déjà" ...@@ -1043,109 +1048,109 @@ msgstr "Un utilisateur de ce nom d'utilisateur existe déjà"
msgid "Profile" msgid "Profile"
msgstr "Profil" msgstr "Profil"
#: core/models.py:448 #: core/models.py:456
msgid "Visitor" msgid "Visitor"
msgstr "Visiteur" msgstr "Visiteur"
#: core/models.py:453 #: core/models.py:461
msgid "define if we show a users stats" msgid "define if we show a users stats"
msgstr "Definit si l'on montre les statistiques de l'utilisateur" msgstr "Definit si l'on montre les statistiques de l'utilisateur"
#: core/models.py:455 #: core/models.py:463
msgid "Show your account statistics to others" msgid "Show your account statistics to others"
msgstr "Montrez vos statistiques de compte aux autres" msgstr "Montrez vos statistiques de compte aux autres"
#: core/models.py:462 #: core/models.py:470
msgid "file name" msgid "file name"
msgstr "nom du fichier" msgstr "nom du fichier"
#: core/models.py:463 core/models.py:598 #: core/models.py:471 core/models.py:606
msgid "parent" msgid "parent"
msgstr "parent" msgstr "parent"
#: core/models.py:464 core/models.py:474 #: core/models.py:472 core/models.py:482
msgid "file" msgid "file"
msgstr "fichier" msgstr "fichier"
#: core/models.py:465 #: core/models.py:473
msgid "owner" msgid "owner"
msgstr "propriétaire" msgstr "propriétaire"
#: core/models.py:466 core/models.py:604 #: core/models.py:474 core/models.py:612
msgid "edit group" msgid "edit group"
msgstr "groupe d'édition" msgstr "groupe d'édition"
#: core/models.py:467 core/models.py:605 #: core/models.py:475 core/models.py:613
msgid "view group" msgid "view group"
msgstr "groupe de vue" msgstr "groupe de vue"
#: core/models.py:468 #: core/models.py:476
msgid "is folder" msgid "is folder"
msgstr "est un dossier" msgstr "est un dossier"
#: core/models.py:469 #: core/models.py:477
msgid "mime type" msgid "mime type"
msgstr "type mime" msgstr "type mime"
#: core/models.py:470 #: core/models.py:478
msgid "size" msgid "size"
msgstr "taille" msgstr "taille"
#: core/models.py:502 #: core/models.py:510
msgid "Character '/' not authorized in name" msgid "Character '/' not authorized in name"
msgstr "Le caractère '/' n'est pas autorisé dans les noms de fichier" msgstr "Le caractère '/' n'est pas autorisé dans les noms de fichier"
#: core/models.py:505 core/models.py:510 #: core/models.py:513 core/models.py:518
msgid "Loop in folder tree" msgid "Loop in folder tree"
msgstr "Boucle dans l'arborescence des dossiers" msgstr "Boucle dans l'arborescence des dossiers"
#: core/models.py:514 #: core/models.py:522
msgid "You can not make a file be a children of a non folder file" msgid "You can not make a file be a children of a non folder file"
msgstr "" msgstr ""
"Vous ne pouvez pas mettre un fichier enfant de quelque chose qui n'est pas " "Vous ne pouvez pas mettre un fichier enfant de quelque chose qui n'est pas "
"un dossier" "un dossier"
#: core/models.py:518 #: core/models.py:526
msgid "Duplicate file" msgid "Duplicate file"
msgstr "Un fichier de ce nom existe déjà" msgstr "Un fichier de ce nom existe déjà"
#: core/models.py:528 #: core/models.py:536
msgid "You must provide a file" msgid "You must provide a file"
msgstr "Vous devez fournir un fichier" msgstr "Vous devez fournir un fichier"
#: core/models.py:553 #: core/models.py:561
msgid "Folder: " msgid "Folder: "
msgstr "Dossier : " msgstr "Dossier : "
#: core/models.py:555 #: core/models.py:563
msgid "File: " msgid "File: "
msgstr "Fichier : " msgstr "Fichier : "
#: core/models.py:597 core/models.py:601 #: core/models.py:605 core/models.py:609
msgid "page name" msgid "page name"
msgstr "nom de la page" msgstr "nom de la page"
#: core/models.py:602 #: core/models.py:610
msgid "owner group" msgid "owner group"
msgstr "groupe propriétaire" msgstr "groupe propriétaire"
#: core/models.py:633 #: core/models.py:641
msgid "Duplicate page" msgid "Duplicate page"
msgstr "Une page de ce nom existe déjà" msgstr "Une page de ce nom existe déjà"
#: core/models.py:639 #: core/models.py:647
msgid "Loop in page tree" msgid "Loop in page tree"
msgstr "Boucle dans l'arborescence des pages" msgstr "Boucle dans l'arborescence des pages"
#: core/models.py:746 #: core/models.py:754
msgid "revision" msgid "revision"
msgstr "révision" msgstr "révision"
#: core/models.py:747 #: core/models.py:755
msgid "page title" msgid "page title"
msgstr "titre de la page" msgstr "titre de la page"
#: core/models.py:748 #: core/models.py:756
msgid "page content" msgid "page content"
msgstr "contenu de la page" msgstr "contenu de la page"
...@@ -1357,7 +1362,7 @@ msgid "Please login to see this page." ...@@ -1357,7 +1362,7 @@ msgid "Please login to see this page."
msgstr "Merci de vous identifier pour voir cette page." msgstr "Merci de vous identifier pour voir cette page."
#: core/templates/core/login.jinja:28 #: core/templates/core/login.jinja:28
#: counter/templates/counter/counter_main.jinja:55 #: counter/templates/counter/counter_main.jinja:51
msgid "login" msgid "login"
msgstr "login" msgstr "login"
...@@ -1715,14 +1720,26 @@ msgstr "Changer le mot de passe" ...@@ -1715,14 +1720,26 @@ msgstr "Changer le mot de passe"
msgid "%(user_name)s's godfathers" msgid "%(user_name)s's godfathers"
msgstr "Parrains de %(user_name)s" msgstr "Parrains de %(user_name)s"
#: core/templates/core/user_godfathers.jinja:9 core/views/user.py:134 #: core/templates/core/user_godfathers.jinja:10 core/views/user.py:134
msgid "Godfathers" msgid "Godfathers"
msgstr "Parrains" msgstr "Parrains"
#: core/templates/core/user_godfathers.jinja:16 #: core/templates/core/user_godfathers.jinja:18
#, fuzzy
#| msgid "Godfathers"
msgid "No godfathers"
msgstr "Parrains"
#: core/templates/core/user_godfathers.jinja:21
msgid "Godchildren" msgid "Godchildren"
msgstr "Fillots" msgstr "Fillots"
#: core/templates/core/user_godfathers.jinja:29
#, fuzzy
#| msgid "Godchildren"
msgid "No godchildren"
msgstr "Fillots"
#: core/templates/core/user_group.jinja:4 #: core/templates/core/user_group.jinja:4
#, python-format #, python-format
msgid "Edit user groups for %(user_name)s" msgid "Edit user groups for %(user_name)s"
...@@ -1775,8 +1792,8 @@ msgstr "Fusionner deux utilisateurs" ...@@ -1775,8 +1792,8 @@ msgstr "Fusionner deux utilisateurs"
msgid "Subscriptions" msgid "Subscriptions"
msgstr "Cotisations" msgstr "Cotisations"
#: core/templates/core/user_tools.jinja:23 counter/views.py:445 #: core/templates/core/user_tools.jinja:23 counter/views.py:440
#: counter/views.py:584 #: counter/views.py:579
msgid "Counters" msgid "Counters"
msgstr "Comptoirs" msgstr "Comptoirs"
...@@ -1797,7 +1814,7 @@ msgid "Product types management" ...@@ -1797,7 +1814,7 @@ msgid "Product types management"
msgstr "Gestion des types de produit" msgstr "Gestion des types de produit"
#: core/templates/core/user_tools.jinja:30 #: core/templates/core/user_tools.jinja:30
#: counter/templates/counter/cash_summary_list.jinja:18 counter/views.py:465 #: counter/templates/counter/cash_summary_list.jinja:18 counter/views.py:460
msgid "Cash register summaries" msgid "Cash register summaries"
msgstr "Relevés de caisse" msgstr "Relevés de caisse"
...@@ -1870,11 +1887,7 @@ msgstr "Parrain" ...@@ -1870,11 +1887,7 @@ msgstr "Parrain"
msgid "Godchild" msgid "Godchild"
msgstr "Fillot" msgstr "Fillot"
#: core/views/forms.py:204 counter/views.py:38 #: core/views/user.py:291
msgid "Select user"
msgstr "Choisir un utilisateur"
#: core/views/user.py:275
msgid "User already has a profile picture" msgid "User already has a profile picture"
msgstr "L'utilisateur a déjà une photo de profil" msgstr "L'utilisateur a déjà une photo de profil"
...@@ -1992,7 +2005,7 @@ msgstr "rechargement" ...@@ -1992,7 +2005,7 @@ msgstr "rechargement"
msgid "unit price" msgid "unit price"
msgstr "prix unitaire" msgstr "prix unitaire"
#: counter/models.py:267 counter/models.py:385 eboutic/models.py:104 #: counter/models.py:267 counter/models.py:424 eboutic/models.py:104
msgid "quantity" msgid "quantity"
msgstr "quantité" msgstr "quantité"
...@@ -2025,19 +2038,19 @@ msgstr "coffre vidée" ...@@ -2025,19 +2038,19 @@ msgstr "coffre vidée"
msgid "cash register summary" msgid "cash register summary"
msgstr "relevé de caisse" msgstr "relevé de caisse"
#: counter/models.py:383 #: counter/models.py:422
msgid "cash summary" msgid "cash summary"
msgstr "relevé" msgstr "relevé"
#: counter/models.py:384 #: counter/models.py:423
msgid "value" msgid "value"
msgstr "valeur" msgstr "valeur"
#: counter/models.py:386 #: counter/models.py:425
msgid "check" msgid "check"
msgstr "chèque" msgstr "chèque"
#: counter/models.py:389 #: counter/models.py:428
msgid "cash register summary item" msgid "cash register summary item"
msgstr "élément de relevé de caisse" msgstr "élément de relevé de caisse"
...@@ -2052,7 +2065,6 @@ msgid "Barman list" ...@@ -2052,7 +2065,6 @@ msgid "Barman list"
msgstr "Barmans" msgstr "Barmans"
#: counter/templates/counter/cash_register_summary.jinja:8 #: counter/templates/counter/cash_register_summary.jinja:8
#: counter/templates/counter/counter_main.jinja:45
msgid "Make a cash register summary" msgid "Make a cash register summary"
msgstr "Faire un relevé de caisse" msgstr "Faire un relevé de caisse"
...@@ -2065,7 +2077,7 @@ msgstr "Liste des relevés de caisse" ...@@ -2065,7 +2077,7 @@ msgstr "Liste des relevés de caisse"
msgid "Theoric sums" msgid "Theoric sums"
msgstr "Sommes théoriques" msgstr "Sommes théoriques"
#: counter/templates/counter/cash_summary_list.jinja:31 counter/views.py:698 #: counter/templates/counter/cash_summary_list.jinja:31 counter/views.py:693
msgid "Emptied" msgid "Emptied"
msgstr "Coffre vidé" msgstr "Coffre vidé"
...@@ -2073,7 +2085,7 @@ msgstr "Coffre vidé" ...@@ -2073,7 +2085,7 @@ msgstr "Coffre vidé"
msgid "yes" msgid "yes"
msgstr "oui" msgstr "oui"
#: counter/templates/counter/cash_summary_list.jinja:53 #: counter/templates/counter/cash_summary_list.jinja:54
msgid "There is no cash register summary in this website." msgid "There is no cash register summary in this website."
msgstr "Il n'y a pas de relevé de caisse dans ce site web." msgstr "Il n'y a pas de relevé de caisse dans ce site web."
...@@ -2168,10 +2180,6 @@ msgid "Please, login" ...@@ -2168,10 +2180,6 @@ msgid "Please, login"
msgstr "Merci de vous identifier" msgstr "Merci de vous identifier"
#: counter/templates/counter/counter_main.jinja:44 #: counter/templates/counter/counter_main.jinja:44
msgid "Display last operations"
msgstr "Dernières opérations"
#: counter/templates/counter/counter_main.jinja:48
msgid "Barman: " msgid "Barman: "
msgstr "Barman : " msgstr "Barman : "
...@@ -2190,7 +2198,11 @@ msgstr "Liste des produits" ...@@ -2190,7 +2198,11 @@ msgstr "Liste des produits"
msgid "New product" msgid "New product"
msgstr "Nouveau produit" msgstr "Nouveau produit"
#: counter/templates/counter/product_list.jinja:22 #: counter/templates/counter/product_list.jinja:21
msgid "Uncategorized"
msgstr "Sans catégorie"
#: counter/templates/counter/product_list.jinja:28
msgid "There is no products in this website." msgid "There is no products in this website."
msgstr "Il n'y a pas de produits dans ce site web." msgstr "Il n'y a pas de produits dans ce site web."
...@@ -2226,113 +2238,113 @@ msgstr "Promo" ...@@ -2226,113 +2238,113 @@ msgstr "Promo"
msgid "Percentage" msgid "Percentage"
msgstr "Pourcentage" msgstr "Pourcentage"
#: counter/views.py:54 #: counter/views.py:55
msgid "User not found" msgid "User not found"
msgstr "Utilisateur non trouvé" msgstr "Utilisateur non trouvé"
<