add foodcoop configuration screen
This commit is contained in:
parent
dd3ac0971c
commit
7b000c39eb
20 changed files with 562 additions and 12 deletions
|
|
@ -225,6 +225,22 @@ en:
|
|||
title: Administration
|
||||
type: type
|
||||
username: username
|
||||
configs:
|
||||
list:
|
||||
title: Configuration list
|
||||
key: Key
|
||||
value: Value
|
||||
show:
|
||||
title: Configuration
|
||||
submit: Save
|
||||
tab_layout:
|
||||
pdf_title: PDF documents
|
||||
tabs:
|
||||
title: Configuration
|
||||
tab_messages:
|
||||
emails_title: Sending email
|
||||
update:
|
||||
notice: Configuration saved.
|
||||
confirm: Do you really want to delete %{name}?
|
||||
ordergroups:
|
||||
destroy:
|
||||
|
|
@ -419,6 +435,75 @@ en:
|
|||
file_label: Please choose a compatible file
|
||||
submit: Upload file
|
||||
title: '%{supplier} / upload articles'
|
||||
config:
|
||||
tabs:
|
||||
foodcoop: Foodcoop
|
||||
payment: Finances
|
||||
language: Language
|
||||
messages: Messages
|
||||
tasks: Tasks
|
||||
layout: Layout
|
||||
others: Other
|
||||
list: List
|
||||
hints:
|
||||
name: The name of your foodcoop.
|
||||
contact:
|
||||
email: General contact email address, shown on website as well as some forms.
|
||||
street: Address, typically this will be your delivery and pick-up location.
|
||||
homepage: Website of your foodcoop.
|
||||
help_url: Documentation website.
|
||||
applepear_url: Website where the apple and pear system for tasks is explained.
|
||||
ignore_browser_locale: "Ignore the language of user's computer when the user has not chosen a language yet."
|
||||
price_markup: Percentage that is added to the gross price for foodcoop members.
|
||||
tax_default: Default VAT percentage for new articles.
|
||||
stop_ordering_under: Members can only order when they have at least this many apple points.
|
||||
minimum_balance: Members can only order when their account balance is above or equal to this amount.
|
||||
use_apple_points: When the apple point system is enabled, members are required to do some tasks to be able to keep ordering.
|
||||
use_nick: Show and use nicknames instead of real names. When enabling this, please check that each user has a nickname.
|
||||
use_messages: Allow members to communicate with each other within Foodsoft.
|
||||
use_wiki: Enable editable wiki pages.
|
||||
email_sender: "Emails will appear to be sent from this email address. To avoid emails sent being classified as spam, the webserver may need to be registered in the SPF record of the email address's domain."
|
||||
email_from: "Emails will appear to be from this email address. Leave empty to use the foodcoop's contact address."
|
||||
email_replyto: Set this when you want to receive replies from emails sent by Foodsoft on a different address than the above.
|
||||
mailing_list: Mailing-list email address to use instead of the messaging system for mail to all members.
|
||||
mailing_list_subscribe: Email address where members can send an email to for subscribing.
|
||||
page_footer: 'Shown on each page at the bottom. Enter "blank" to disable the footer completely.'
|
||||
pdf_font_size: Base font size for PDF documents (12 is standard).
|
||||
pdf_page_size: 'Page size for PDF documents, typically "A4" or "letter".'
|
||||
pdf_add_page_breaks: Add page breaks when starting a new section.
|
||||
tolerance_is_costly: "Order as much of the member tolerance as possible (compared to only as much needed to fill the last box). Enabling this also includes the tolerance in the total price of the open member order."
|
||||
keys:
|
||||
name: Name
|
||||
contact:
|
||||
street: Street
|
||||
zip_code: Postcode
|
||||
city: City
|
||||
country: Country
|
||||
email: Email
|
||||
phone: Phone
|
||||
homepage: Homepage
|
||||
help_url: Documentation URL
|
||||
applepear_url: Apple system URL
|
||||
default_locale: Default language
|
||||
ignore_browser_locale: Ignore browser language
|
||||
price_markup: Foodcoop margin
|
||||
tax_default: Default VAT
|
||||
tolerance_is_costly: Tolerance is costly
|
||||
stop_ordering_under: Minimum apple points
|
||||
use_apple_points: Apple points
|
||||
minimum_balance: Minimum account balance
|
||||
use_nick: Use nicknames
|
||||
use_messages: Enable messages
|
||||
use_wiki: Enable wiki
|
||||
email_sender: Sender address
|
||||
email_from: From address
|
||||
email_replyto: Reply-to address
|
||||
mailing_list: Mailing-list
|
||||
mailing_list_subscribe: Mailing-list subscribe
|
||||
page_footer: Page footer
|
||||
pdf_font_size: Font size
|
||||
pdf_page_size: Page size
|
||||
pdf_add_page_breaks: Page breaks
|
||||
deliveries:
|
||||
add_stock_change:
|
||||
how_many_units: 'How many units (%{unit}) to deliver? Stock article name: %{name}.'
|
||||
|
|
@ -1043,6 +1128,7 @@ en:
|
|||
no_ordergroup: no ordergroup
|
||||
navigation:
|
||||
admin:
|
||||
config: Configuration
|
||||
home: Overview
|
||||
ordergroups: Ordergroups
|
||||
title: Administration
|
||||
|
|
|
|||
|
|
@ -213,6 +213,22 @@ nl:
|
|||
title: Administratie
|
||||
type: Type
|
||||
username: Gebruikersnaam
|
||||
configs:
|
||||
list:
|
||||
title: Configuratielijst
|
||||
key: Sleutel
|
||||
value: Inhoud
|
||||
show:
|
||||
title: Configuratie
|
||||
submit: Opslaan
|
||||
tab_layout:
|
||||
pdf_title: PDF documenten
|
||||
tabs:
|
||||
title: Configuratie
|
||||
tab_messages:
|
||||
emails_title: Emailinstellingen
|
||||
update:
|
||||
notice: Configuratie opgeslagen.
|
||||
confirm: Wil je %{name} daadwerkelijk wissen?
|
||||
ordergroups:
|
||||
destroy:
|
||||
|
|
@ -402,6 +418,75 @@ nl:
|
|||
file_label: Graag een compatibel bestand uitkiezen
|
||||
submit: Bestand uploaden
|
||||
title: Artikelen uploaden voor %{supplier}
|
||||
config:
|
||||
tabs:
|
||||
foodcoop: Foodcoop
|
||||
payment: Financiën
|
||||
language: Taal
|
||||
messages: Berichten
|
||||
tasks: Taken
|
||||
layout: Layout
|
||||
others: Overig
|
||||
list: Lijst
|
||||
hints:
|
||||
name: De naam van de foodcoop.
|
||||
contact:
|
||||
email: Algemeen contactadres, zowel voor op de website als in formulieren.
|
||||
street: Adres, meestal is dit het aflever- en ophaaladres.
|
||||
homepage: Website van de foodcoop.
|
||||
help_url: Documentatie website.
|
||||
applepear_url: Website waar het appelpunten systeem wordt uitgelegd.
|
||||
ignore_browser_locale: Negeer de taal van de computer wanneer iemand nog geen taal gekozen heeft.
|
||||
price_markup: Percentage dat bovenop het brutobedrag wordt gedaan voor foodcoop leden.
|
||||
tax_default: Standaard BTW percentage voor nieuwe artikelen.
|
||||
stop_ordering_under: Leden kunnen slechts bestellen als ze dit aantal appelpunten hebben of meer.
|
||||
minimum_balance: Leden kunnen slechts bestellen wanneer hun tegoed groter of gelijk is aan dit bedrag.
|
||||
use_apple_points: Wanneer het appelpunten systeem is geactiveerd, kunnen leden slechts bestellen wanneer ze meewerken aan taken.
|
||||
use_nick: Toon bijnamen in plaats van volledige naam. Controleer dat iedereen een bijnaam heeft wanneer je dit aanzet.
|
||||
use_messages: Laat leden met elkaar communiceren door middel van berichten binnen Foodsoft.
|
||||
use_wiki: "Gebruik wiki pagina's."
|
||||
email_sender: "Emails worden verzonden vanaf dit emailadres. Om te voorkomen dat emails als spam worden tegengehouden, is het te adviseren het adres van de webserver op te nemen in het SPF record van het email domein."
|
||||
email_from: "Emails zullen lijken verzonden te zijn vanaf dit email adres. Laat het veld leeg om het contactadres van de foodcoop te gebruiken."
|
||||
email_replyto: Vul dit in als je antwoord op mails van Foodsoft wilt ontvangen op een ander adres dan het bovenstaande.
|
||||
mailing_list: Mailing-lijst adres om te gebruiken in plaats van het berichtensysteem voor emails naar alle leden.
|
||||
mailing_list_subscribe: Emailadres waar leden zich kunnen aanmelden voor de mailing-lijst.
|
||||
page_footer: 'Wordt op iedere pagina getoond. Vul "blank" in om de voettekst helemaal weg te halen.'
|
||||
pdf_font_size: Basis tekstgrootte voor PDF bestanden (standaard 12).
|
||||
pdf_page_size: 'Paginaformaat voor PDF bestanden, meestal "A4" of "letter".'
|
||||
pdf_add_page_breaks: Secties op een nieuwe pagina beginnen.
|
||||
tolerance_is_costly: "Bestel zoveel artikelen als mogelijk in de tolerantie (in plaats van net genoeg om de laatste doos te vullen). Dit zorgt er ook voor dat de tolerantie in de prijs van open ledenbestellingen wordt meegenomen."
|
||||
keys:
|
||||
name: Naam
|
||||
contact:
|
||||
street: Straat
|
||||
zip_code: Postcode
|
||||
city: Stad
|
||||
country: Land
|
||||
email: Email
|
||||
phone: Telefoon
|
||||
homepage: Homepage
|
||||
help_url: Documentatie URL
|
||||
applepear_url: Appelsysteem uitleg URL
|
||||
default_locale: Standaardtaal
|
||||
ignore_browser_locale: Browsertaal negeren
|
||||
price_markup: Foodcoop marge
|
||||
tax_default: Standaard BTW
|
||||
tolerance_is_costly: Tolerantie is duur
|
||||
stop_ordering_under: Minimum appelpunten
|
||||
use_apple_points: Appelpunten
|
||||
minimum_balance: Minimum tegoed
|
||||
use_nick: Bijnamen gebruiken
|
||||
use_messages: Berichten gebruiken
|
||||
use_wiki: Wiki gebruiken
|
||||
email_sender: Sender adres
|
||||
email_from: From adres
|
||||
email_replyto: Reply-to adres
|
||||
mailing_list: Mailing-lijst
|
||||
mailing_list_subscribe: Mailing-lijst aanmelden
|
||||
page_footer: Voettkest
|
||||
pdf_font_size: Tekstgrootte
|
||||
pdf_page_size: Paginaformaat
|
||||
pdf_add_page_breaks: "Nieuwe pagina's"
|
||||
deliveries:
|
||||
add_stock_change:
|
||||
how_many_units: 'Hoeveel eenheden (%{unit}) leveren? Voorraadartikel: %{name}.'
|
||||
|
|
@ -1023,6 +1108,7 @@ nl:
|
|||
no_ordergroup: geen huishouden
|
||||
navigation:
|
||||
admin:
|
||||
config: Instellingen
|
||||
home: Overzicht
|
||||
ordergroups: Huishoudens
|
||||
title: Administratie
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ SimpleNavigation::Configuration.run do |navigation|
|
|||
subnav.item :users, I18n.t('navigation.admin.users'), admin_users_path
|
||||
subnav.item :ordergroups, I18n.t('navigation.admin.ordergroups'), admin_ordergroups_path
|
||||
subnav.item :workgroups, I18n.t('navigation.admin.workgroups'), admin_workgroups_path
|
||||
subnav.item :config, I18n.t('navigation.admin.config'), admin_config_path
|
||||
end
|
||||
|
||||
engines.each { |e| e.navigation(primary, self) }
|
||||
|
|
|
|||
|
|
@ -181,6 +181,10 @@ Foodsoft::Application.routes.draw do
|
|||
resources :ordergroups do
|
||||
get :memberships, :on => :member
|
||||
end
|
||||
|
||||
resource :config, :only => [:show, :update] do
|
||||
get :list
|
||||
end
|
||||
end
|
||||
|
||||
############## Feedback
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue