diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/locales/de.yml | 2 | ||||
| -rw-r--r-- | config/locales/en.yml | 2 | ||||
| -rw-r--r-- | config/routes.rb | 7 |
3 files changed, 10 insertions, 1 deletions
diff --git a/config/locales/de.yml b/config/locales/de.yml index aab46169..e410e519 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml | |||
| @@ -659,6 +659,7 @@ de: | |||
| 659 | already_attached: "Es war bereits an „%{title}“ angehängt." | 659 | already_attached: "Es war bereits an „%{title}“ angehängt." |
| 660 | attached_to_draft: "Zum Entwurf von %{title} hinzugefügt. Zum Veröffentlichen den Entwurf freigeben." | 660 | attached_to_draft: "Zum Entwurf von %{title} hinzugefügt. Zum Veröffentlichen den Entwurf freigeben." |
| 661 | attached_new_draft: "Entwurf von %{title} mit diesem Anhang angelegt. Zum Veröffentlichen den Entwurf freigeben." | 661 | attached_new_draft: "Entwurf von %{title} mit diesem Anhang angelegt. Zum Veröffentlichen den Entwurf freigeben." |
| 662 | attach_no_node: "Es wurde keine Seite ausgewählt, es wurde nichts angehängt." | ||
| 662 | events: | 663 | events: |
| 663 | created: "Termin wurde angelegt." | 664 | created: "Termin wurde angelegt." |
| 664 | updated: "Termin wurde aktualisiert." | 665 | updated: "Termin wurde aktualisiert." |
| @@ -703,6 +704,7 @@ de: | |||
| 703 | pending_only: "nur in ausstehenden Versionen" | 704 | pending_only: "nur in ausstehenden Versionen" |
| 704 | not_attached: "— an keine Seite angehängt —" | 705 | not_attached: "— an keine Seite angehängt —" |
| 705 | new_page_with_attachment: "Neue Seite mit diesem Anhang" | 706 | new_page_with_attachment: "Neue Seite mit diesem Anhang" |
| 707 | attach_button: "Anhängen" | ||
| 706 | public_path: "Öffentlicher Pfad" | 708 | public_path: "Öffentlicher Pfad" |
| 707 | copy_url: "URL kopieren" | 709 | copy_url: "URL kopieren" |
| 708 | creator: "Urheber" | 710 | creator: "Urheber" |
diff --git a/config/locales/en.yml b/config/locales/en.yml index 8da079dc..f8f586b9 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml | |||
| @@ -627,6 +627,7 @@ en: | |||
| 627 | already_attached: "It was already attached to “%{title}”." | 627 | already_attached: "It was already attached to “%{title}”." |
| 628 | attached_to_draft: "Attached to the draft of %{title}. Publish it to make the change live." | 628 | attached_to_draft: "Attached to the draft of %{title}. Publish it to make the change live." |
| 629 | attached_new_draft: "Created a draft of %{title} with this attachment. Publish it to make the change live." | 629 | attached_new_draft: "Created a draft of %{title} with this attachment. Publish it to make the change live." |
| 630 | attach_no_node: "No page was chosen, so nothing was attached." | ||
| 630 | events: | 631 | events: |
| 631 | created: "Event was successfully created." | 632 | created: "Event was successfully created." |
| 632 | updated: "Event was successfully updated." | 633 | updated: "Event was successfully updated." |
| @@ -670,6 +671,7 @@ en: | |||
| 670 | attached_to: "Attached to" | 671 | attached_to: "Attached to" |
| 671 | pending_only: "pending versions only" | 672 | pending_only: "pending versions only" |
| 672 | not_attached: "— not attached to any page —" | 673 | not_attached: "— not attached to any page —" |
| 674 | attach_button: "Attach" | ||
| 673 | new_page_with_attachment: "New page with this attachment" | 675 | new_page_with_attachment: "New page with this attachment" |
| 674 | public_path: "Public Path" | 676 | public_path: "Public Path" |
| 675 | copy_url: "Copy URL" | 677 | copy_url: "Copy URL" |
diff --git a/config/routes.rb b/config/routes.rb index a43769e6..e123a3fe 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
| @@ -26,7 +26,12 @@ Cccms::Application.routes.draw do | |||
| 26 | 26 | ||
| 27 | scope '/admin' do | 27 | scope '/admin' do |
| 28 | resources :events | 28 | resources :events |
| 29 | resources :assets | 29 | |
| 30 | resources :assets do | ||
| 31 | member do | ||
| 32 | post :attach_to_node | ||
| 33 | end | ||
| 34 | end | ||
| 30 | 35 | ||
| 31 | resources :nodes do | 36 | resources :nodes do |
| 32 | collection do | 37 | collection do |
