Skip to content

Commit

Permalink
add custom css to config screen
Browse files Browse the repository at this point in the history
  • Loading branch information
wvengen committed Sep 2, 2014
1 parent 5fcead4 commit 8b935c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/admin/configs/_tab_layout.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
= config_input form, :page_footer, as: :text, input_html: {class: 'input-xxlarge', rows: 2, placeholder: "#{link_to(FoodsoftConfig[:name], FoodsoftConfig[:homepage])}"}
= config_input form, :custom_css, as: :text, input_html: {class: 'input-xxlarge', rows: 3}

%h4= t '.pdf_title'
.fold-line
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ en:
street: Address, typically this will be your delivery and pick-up location.
currency_unit: Currency symbol for displaying prices.
currency_space: Whether to add whitespace after the currency symbol.
custom_css: To modify the layout of this site, you can enter style modifications using the cascading stylesheets (CSS) language. Leave blank for the default style.
homepage: Website of your foodcoop.
help_url: Documentation website.
applepear_url: Website where the apple and pear system for tasks is explained.
Expand Down Expand Up @@ -487,6 +488,7 @@ en:
phone: Phone
currency_unit: Currency
currency_space: add space
custom_css: Custom CSS
homepage: Homepage
help_url: Documentation URL
applepear_url: Apple system URL
Expand Down
2 changes: 2 additions & 0 deletions config/locales/nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ nl:
contact:
email: Algemeen contactadres, zowel voor op de website als in formulieren.
street: Adres, meestal is dit het aflever- en ophaaladres.
custom_css: De layout van deze site kan gewijzigd worden door hier cascading stylesheets (CSS) in te voeren. Laat het leeg voor de standaardstijl.
homepage: Website van de foodcoop.
help_url: Documentatie website.
applepear_url: Website waar het appelpunten systeem wordt uitgelegd.
Expand Down Expand Up @@ -466,6 +467,7 @@ nl:
country: Land
email: Email
phone: Telefoon
custom_css: Aangepaste CSS
homepage: Homepage
help_url: Documentatie URL
applepear_url: Appelsysteem uitleg URL
Expand Down

0 comments on commit 8b935c3

Please sign in to comment.