refinerycms-dashboard 1.0.11 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/app/controllers/refinery/admin/dashboard_controller.rb +40 -0
  2. data/app/helpers/refinery/admin/dashboard_helper.rb +25 -0
  3. data/app/views/{admin → refinery/admin}/dashboard/_actions.html.erb +13 -13
  4. data/app/views/{admin → refinery/admin}/dashboard/_additional_dashboard_menu_items.html.erb +0 -0
  5. data/app/views/{admin → refinery/admin}/dashboard/_recent_activity.html.erb +3 -1
  6. data/app/views/{admin → refinery/admin}/dashboard/_recent_inquiries.html.erb +1 -1
  7. data/app/views/refinery/admin/dashboard/_records.html.erb +2 -0
  8. data/app/views/{admin → refinery/admin}/dashboard/index.html.erb +4 -4
  9. data/app/views/{admin → refinery/admin}/dashboard/index.rss.builder +2 -2
  10. data/config/locales/bg.yml +26 -25
  11. data/config/locales/cs.yml +26 -25
  12. data/config/locales/da.yml +26 -25
  13. data/config/locales/de.yml +26 -25
  14. data/config/locales/el.yml +26 -25
  15. data/config/locales/en.yml +26 -25
  16. data/config/locales/es.yml +30 -29
  17. data/config/locales/fi.yml +26 -25
  18. data/config/locales/fr.yml +26 -25
  19. data/config/locales/it.yml +25 -27
  20. data/config/locales/ja.yml +27 -0
  21. data/config/locales/ko.yml +27 -0
  22. data/config/locales/lt.yml +26 -25
  23. data/config/locales/lv.yml +28 -27
  24. data/config/locales/nb.yml +26 -25
  25. data/config/locales/nl.yml +26 -25
  26. data/config/locales/pl.yml +30 -29
  27. data/config/locales/pt-BR.yml +30 -29
  28. data/config/locales/rs.yml +26 -25
  29. data/config/locales/ru.yml +30 -28
  30. data/config/locales/sk.yml +26 -25
  31. data/config/locales/sl.yml +26 -25
  32. data/config/locales/sv.yml +26 -25
  33. data/config/locales/vi.yml +26 -25
  34. data/config/locales/zh-CN.yml +26 -25
  35. data/config/locales/zh-TW.yml +26 -25
  36. data/config/routes.rb +5 -5
  37. data/lib/refinery/dashboard.rb +14 -0
  38. data/lib/refinery/dashboard/configuration.rb +9 -0
  39. data/lib/refinery/dashboard/engine.rb +28 -0
  40. data/lib/refinerycms-dashboard.rb +1 -33
  41. data/refinerycms-dashboard.gemspec +14 -67
  42. data/spec/requests/refinery/admin/dashboard_spec.rb +50 -0
  43. metadata +71 -55
  44. data/app/controllers/admin/dashboard_controller.rb +0 -38
  45. data/app/helpers/admin/dashboard_helper.rb +0 -24
  46. data/app/views/admin/dashboard/_records.html.erb +0 -2
  47. data/config/locales/jp.yml +0 -26
  48. data/config/locales/lolcat.yml +0 -25
  49. data/features/dashboard.feature +0 -35
  50. data/features/support/paths.rb +0 -14
  51. data/lib/gemspec.rb +0 -35
@@ -1,26 +1,27 @@
1
1
  en:
2
- plugins:
3
- refinery_dashboard:
4
- title: Dashboard
5
- description: Gives an overview of activity in Refinery
6
- admin:
7
- dashboard:
8
- index:
9
- quick_tasks: Quick Tasks
10
- actions:
11
- add_a_new_page: Add a new page
12
- update_a_page: Update a page
13
- upload_a_image: Upload an image
14
- upload_a_file: Upload a file
15
- change_language: Change language
16
- see_home_page: See home page
17
- recent_activity:
18
- empty: There has not been any activity recently.
19
- latest_activity: Latest Activity
20
- latest_activity_message: '%{what} %{kind} was %{action}'
21
- recent_inquiries:
22
- latest_inquiries: Latest Inquiries
23
- updated:
24
- 'with_article "the"': updated
25
- created:
26
- 'with_article "the"': added
2
+ refinery:
3
+ plugins:
4
+ refinery_dashboard:
5
+ title: Dashboard
6
+ description: Gives an overview of activity in Refinery
7
+ admin:
8
+ dashboard:
9
+ index:
10
+ quick_tasks: Quick Tasks
11
+ actions:
12
+ add_a_new_page: Add a new page
13
+ update_a_page: Update a page
14
+ upload_a_image: Upload an image
15
+ upload_a_file: Upload a file
16
+ change_language: Change language
17
+ see_home_page: See home page
18
+ recent_activity:
19
+ empty: There has not been any activity recently.
20
+ latest_activity: Latest Activity
21
+ latest_activity_message: '%{what} %{kind} was %{action}'
22
+ recent_inquiries:
23
+ latest_inquiries: Latest Inquiries
24
+ updated:
25
+ 'with_article "the"': updated
26
+ created:
27
+ 'with_article "the"': added
@@ -1,30 +1,31 @@
1
1
  es:
2
- plugins:
3
- refinery_dashboard:
4
- title: Panel de control
5
- description: Da una visión de la actividad en Refinery
6
- admin:
7
- dashboard:
8
- index:
9
- quick_tasks: Tareas comunes
10
- actions:
11
- add_a_new_page: Añadir nueva página
12
- update_a_page: Actualizar una página
13
- upload_a_image: Subir una imagen
14
- upload_a_file: Subir un archivo
15
- change_language: Cambiar el idioma
16
- see_home_page: Ver la página principal
17
- recent_activity:
18
- empty: No hay actividad reciente.
19
- latest_activity: Última Actividad
20
- latest_activity_message: '%{kind} %{what} ha sido %{action}'
21
- recent_inquiries:
22
- latest_inquiries: Últimas Solicitudes
23
- updated:
24
- 'with_article "femenino"': actualizada
25
- 'with_article "masculino"': actualizado
26
- 'with_article "the"': actualizado
27
- created:
28
- 'with_article "femenino"': creada
29
- 'with_article "masculino"': creado
30
- 'with_article "the"': creado
2
+ refinery:
3
+ plugins:
4
+ refinery_dashboard:
5
+ title: Panel de control
6
+ description: Da una visión de la actividad en Refinery
7
+ admin:
8
+ dashboard:
9
+ index:
10
+ quick_tasks: Tareas comunes
11
+ actions:
12
+ add_a_new_page: Añadir nueva página
13
+ update_a_page: Actualizar una página
14
+ upload_a_image: Subir una imagen
15
+ upload_a_file: Subir un archivo
16
+ change_language: Cambiar el idioma
17
+ see_home_page: Ver la página principal
18
+ recent_activity:
19
+ empty: No hay actividad reciente.
20
+ latest_activity: Última Actividad
21
+ latest_activity_message: '%{kind} %{what} ha sido %{action}'
22
+ recent_inquiries:
23
+ latest_inquiries: Últimas Solicitudes
24
+ updated:
25
+ 'with_article "femenino"': actualizada
26
+ 'with_article "masculino"': actualizado
27
+ 'with_article "the"': actualizado
28
+ created:
29
+ 'with_article "femenino"': creada
30
+ 'with_article "masculino"': creado
31
+ 'with_article "the"': creado
@@ -1,26 +1,27 @@
1
1
  fi:
2
- plugins:
3
- refinery_dashboard:
4
- title: Etusivu
5
- description: Yhteenveto tapahtumista
6
- admin:
7
- dashboard:
8
- index:
9
- quick_tasks: Pikavalinnat
10
- actions:
11
- add_a_new_page: Lisää uusi sivu
12
- update_a_page: Muokkaa sivua
13
- upload_a_image: Lisää kuva
14
- upload_a_file: Lisää tiedosto
15
- change_language: Vaihda kieltä
16
- see_home_page: Katso kotisivua
17
- recent_activity:
18
- empty: Tapahtumia ei ole ollut viimeaikoina.
19
- latest_activity: Uusimmat tapahtumat
20
- latest_activity_message: '%{kind} "%{what}" %{action}'
21
- recent_inquiries:
22
- latest_inquiries: Uusimmat Kyselyt
23
- updated:
24
- 'with_article "the"': päivitetty
25
- created:
26
- 'with_article "the"': lisätty
2
+ refinery:
3
+ plugins:
4
+ refinery_dashboard:
5
+ title: Etusivu
6
+ description: Yhteenveto tapahtumista
7
+ admin:
8
+ dashboard:
9
+ index:
10
+ quick_tasks: Pikavalinnat
11
+ actions:
12
+ add_a_new_page: Lisää uusi sivu
13
+ update_a_page: Muokkaa sivua
14
+ upload_a_image: Lisää kuva
15
+ upload_a_file: Lisää tiedosto
16
+ change_language: Vaihda kieltä
17
+ see_home_page: Katso kotisivua
18
+ recent_activity:
19
+ empty: Tapahtumia ei ole ollut viimeaikoina.
20
+ latest_activity: Uusimmat tapahtumat
21
+ latest_activity_message: '%{kind} "%{what}" %{action}'
22
+ recent_inquiries:
23
+ latest_inquiries: Uusimmat Kyselyt
24
+ updated:
25
+ 'with_article "the"': päivitetty
26
+ created:
27
+ 'with_article "the"': lisätty
@@ -1,26 +1,27 @@
1
1
  fr:
2
- plugins:
3
- refinery_dashboard:
4
- title: Tableau de bord
5
- description: Donne un aperçu des activités de votre site.
6
- admin:
7
- dashboard:
8
- index:
9
- quick_tasks: Tâches courantes
10
- actions:
11
- add_a_new_page: Ajouter une page
12
- update_a_page: Mettre à jour une page
13
- upload_a_image: Ajouter une image
14
- upload_a_file: Ajouter un fichier
15
- change_language: Changer la langue
16
- see_home_page: Aller à la page d'accueil
17
- recent_activity:
18
- empty: Il n'y a pas eu d'activité récemment
19
- latest_activity: Derniers Changements
20
- latest_activity_message: "%{kind} '%{what}' a été %{action}"
21
- recent_inquiries:
22
- latest_inquiries: Dernières Requêtes
23
- updated:
24
- 'with_article "the"': mis(e) à jour
25
- created:
26
- 'with_article "the"': créé(e)
2
+ refinery:
3
+ plugins:
4
+ refinery_dashboard:
5
+ title: Tableau de bord
6
+ description: Donne un aperçu des activités de votre site.
7
+ admin:
8
+ dashboard:
9
+ index:
10
+ quick_tasks: Tâches courantes
11
+ actions:
12
+ add_a_new_page: Ajouter une page
13
+ update_a_page: Mettre à jour une page
14
+ upload_a_image: Ajouter une image
15
+ upload_a_file: Ajouter un fichier
16
+ change_language: Changer la langue
17
+ see_home_page: Aller à la page d'accueil
18
+ recent_activity:
19
+ empty: Il n'y a pas eu d'activité récemment
20
+ latest_activity: Derniers Changements
21
+ latest_activity_message: "%{kind} '%{what}' a été %{action}"
22
+ recent_inquiries:
23
+ latest_inquiries: Dernières Requêtes
24
+ updated:
25
+ 'with_article "the"': mis(e) à jour
26
+ created:
27
+ 'with_article "the"': créé(e)
@@ -1,28 +1,26 @@
1
1
  it:
2
- plugins:
3
- refinery_dashboard:
4
- title: Scheda principale
5
- admin:
6
- dashboard:
7
- index:
8
- quick_tasks: Accesso rapido
9
- actions:
10
- add_a_new_page: Crea una nuova pagina
11
- update_a_page: Modifica una pagina
12
- upload_a_image: "Carica un'immagine"
13
- upload_a_file: Carica un file
14
- change_language: Cambia lingua
15
- see_home_page: Visualizza la pagina iniziale
16
- recent_activity:
17
- empty: non sono state registrate attività recenti
18
- latest_activity: Attività Recenti
19
- latest_activity_message: "Una risorsa '%{what} %{kind}' è stata %{action}"
20
- see: Vedere '%{what}'
21
- recent_inquiries:
22
- latest_inquiries: Ultimi Messaggi
23
- updated:
24
- 'with_article "the"': modificata
25
- created:
26
- 'with_article "the"': creata
27
- ago: "%{time} fa"
28
- see: Vedere
2
+ refinery:
3
+ plugins:
4
+ refinery_dashboard:
5
+ title: Scheda principale
6
+ admin:
7
+ dashboard:
8
+ index:
9
+ quick_tasks: Accesso rapido
10
+ actions:
11
+ add_a_new_page: Crea una nuova pagina
12
+ update_a_page: Modifica una pagina
13
+ upload_a_image: "Carica un'immagine"
14
+ upload_a_file: Carica un file
15
+ change_language: Cambia lingua
16
+ see_home_page: Visualizza la pagina iniziale
17
+ recent_activity:
18
+ empty: non sono state registrate attività recenti
19
+ latest_activity: Attività Recenti
20
+ latest_activity_message: "Una risorsa '%{what} %{kind}' è stata %{action}"
21
+ recent_inquiries:
22
+ latest_inquiries: Ultimi Messaggi
23
+ updated:
24
+ 'with_article "the"': modificata
25
+ created:
26
+ 'with_article "the"': creata
@@ -0,0 +1,27 @@
1
+ ja:
2
+ refinery:
3
+ plugins:
4
+ refinery_dashboard:
5
+ title: ダッシュボード
6
+ description: Refineryでの活動の記録を俯瞰します。
7
+ admin:
8
+ dashboard:
9
+ index:
10
+ quick_tasks: クイックタスク
11
+ actions:
12
+ add_a_new_page: ページの新規追加
13
+ update_a_page: ページの更新
14
+ upload_a_image: 画像をアップロード
15
+ upload_a_file: ファイルをアップロード
16
+ change_language: 言語の選択
17
+ see_home_page: ホームページを見る
18
+ recent_activity:
19
+ empty: 最近の更新はありません。
20
+ latest_activity: 最近の活動記録
21
+ latest_activity_message: '%{what} %{kind}が%{action}'
22
+ recent_inquiries:
23
+ latest_inquiries: 最近の質問
24
+ updated:
25
+ 'with_article "the"': 更新されました。
26
+ created:
27
+ 'with_article "the"': 追加されました。
@@ -0,0 +1,27 @@
1
+ ko:
2
+ refinery:
3
+ plugins:
4
+ refinery_dashboard:
5
+ title: 대시보드
6
+ description: 한 눈에 Refinery 내 활동을 볼 수 있습니다.
7
+ admin:
8
+ dashboard:
9
+ index:
10
+ quick_tasks: 빠른 실행
11
+ actions:
12
+ add_a_new_page: 새 페이지
13
+ update_a_page: 페이지 수정
14
+ upload_a_image: 이미지 업로드
15
+ upload_a_file: 파일 업로드
16
+ change_language: 언어 변경
17
+ see_home_page: 홈 페이지 보기
18
+ recent_activity:
19
+ empty: 최근 활동이 없습니다.
20
+ latest_activity: 최근 활동
21
+ latest_activity_message: '%{what} %{kind}이(가) %{action}'
22
+ recent_inquiries:
23
+ latest_inquiries: 최근 문의
24
+ updated:
25
+ 'with_article "the"': 수정되었습니다.
26
+ created:
27
+ 'with_article "the"': 추가되었습니다.
@@ -1,26 +1,27 @@
1
1
  lt:
2
- plugins:
3
- refinery_dashboard:
4
- title: Valdymo skydelis
5
- description: Pateikia Refinery aktyvumo apžvalgą
6
- admin:
7
- dashboard:
8
- index:
9
- quick_tasks: Greiti veiksmai
10
- actions:
11
- add_a_new_page: Pridėti naują puslapį
12
- update_a_page: Atnaujinti puslapį
13
- upload_a_image: Įkelti paveikslėlį
14
- upload_a_file: Įkelti failą
15
- change_language: Pakeisti kalbą
16
- see_home_page: Peržiūrėti titulinį puslapį
17
- recent_activity:
18
- empty: Paskutiniu metu niekas neįvyko.
19
- latest_activity: Naujausi įvykiai
20
- latest_activity_message: '%{what} %{kind} buvo %{action}'
21
- recent_inquiries:
22
- latest_inquiries: Naujausios Užklausos
23
- updated:
24
- 'with_article "the"': atnaujintas
25
- created:
26
- 'with_article "the"': pridėtas
2
+ refinery:
3
+ plugins:
4
+ refinery_dashboard:
5
+ title: Valdymo skydelis
6
+ description: Pateikia Refinery aktyvumo apžvalgą
7
+ admin:
8
+ dashboard:
9
+ index:
10
+ quick_tasks: Greiti veiksmai
11
+ actions:
12
+ add_a_new_page: Pridėti naują puslapį
13
+ update_a_page: Atnaujinti puslapį
14
+ upload_a_image: Įkelti paveikslėlį
15
+ upload_a_file: Įkelti failą
16
+ change_language: Pakeisti kalbą
17
+ see_home_page: Peržiūrėti titulinį puslapį
18
+ recent_activity:
19
+ empty: Paskutiniu metu niekas neįvyko.
20
+ latest_activity: Naujausi įvykiai
21
+ latest_activity_message: '%{what} %{kind} buvo %{action}'
22
+ recent_inquiries:
23
+ latest_inquiries: Naujausios Užklausos
24
+ updated:
25
+ 'with_article "the"': atnaujintas
26
+ created:
27
+ 'with_article "the"': pridėtas
@@ -1,28 +1,29 @@
1
1
  lv:
2
- plugins:
3
- refinery_dashboard:
4
- title: Vadības panelis
5
- description: Aktivitāšu apkopojums iekš Refinery
6
- admin:
7
- dashboard:
8
- index:
9
- quick_tasks: Ātrie uzdevumi
10
- actions:
11
- add_a_new_page: Pievienot jaunu lapu
12
- update_a_page: Atjaunināt lapu
13
- upload_a_image: Augšupielādēt bildi
14
- upload_a_file: Augšupielādēt failu
15
- change_language: Mainīt valodu
16
- see_home_page: Skatīt sākuma lapu
17
- recent_activity:
18
- empty: Nav bijusi neviena aktivitāte.
19
- latest_activity: Jaunākās Aktivitātes
20
- latest_activity_message: "%{action} %{what} %{kind}"
21
- recent_inquiries:
22
- latest_inquiries: Jaunākie Pieprasījumi
23
- updated:
24
- 'with_article "s"': atjaunota
25
- 'with_article "the"': atjaunots
26
- created:
27
- 'with_article "s"': izveidota
28
- 'with_article "the"': izveidots
2
+ refinery:
3
+ plugins:
4
+ refinery_dashboard:
5
+ title: Vadības panelis
6
+ description: Aktivitāšu apkopojums iekš Refinery
7
+ admin:
8
+ dashboard:
9
+ index:
10
+ quick_tasks: Ātrie uzdevumi
11
+ actions:
12
+ add_a_new_page: Pievienot jaunu lapu
13
+ update_a_page: Atjaunināt lapu
14
+ upload_a_image: Augšupielādēt bildi
15
+ upload_a_file: Augšupielādēt failu
16
+ change_language: Mainīt valodu
17
+ see_home_page: Skatīt sākuma lapu
18
+ recent_activity:
19
+ empty: Nav bijusi neviena aktivitāte.
20
+ latest_activity: Jaunākās Aktivitātes
21
+ latest_activity_message: "%{action} %{what} %{kind}"
22
+ recent_inquiries:
23
+ latest_inquiries: Jaunākie Pieprasījumi
24
+ updated:
25
+ 'with_article "s"': atjaunota
26
+ 'with_article "the"': atjaunots
27
+ created:
28
+ 'with_article "s"': izveidota
29
+ 'with_article "the"': izveidots
@@ -1,26 +1,27 @@
1
1
  nb:
2
- plugins:
3
- refinery_dashboard:
4
- title: Skrivebord
5
- description: Gir en oversikt over den siste aktiviteten i Refinery
6
- admin:
7
- dashboard:
8
- index:
9
- quick_tasks: Vanlige oppgaver
10
- actions:
11
- add_a_new_page: Legg til en ny side
12
- update_a_page: Oppdater en side
13
- upload_a_image: Last opp et bilde
14
- upload_a_file: Last opp en fil
15
- change_language: Endre språk
16
- see_home_page: Se hjemmesiden
17
- recent_activity:
18
- empty: Det har ikke vært noen aktivitet her i det siste.
19
- latest_activity: Siste Aktivitet
20
- latest_activity_message: "%{what} %{kind} ble %{action}"
21
- recent_inquiries:
22
- latest_inquiries: Siste Forespørsler
23
- updated:
24
- 'with_article "the"': oppdatert
25
- created:
26
- 'with_article "the"': opprettet
2
+ refinery:
3
+ plugins:
4
+ refinery_dashboard:
5
+ title: Skrivebord
6
+ description: Gir en oversikt over den siste aktiviteten i Refinery
7
+ admin:
8
+ dashboard:
9
+ index:
10
+ quick_tasks: Vanlige oppgaver
11
+ actions:
12
+ add_a_new_page: Legg til en ny side
13
+ update_a_page: Oppdater en side
14
+ upload_a_image: Last opp et bilde
15
+ upload_a_file: Last opp en fil
16
+ change_language: Endre språk
17
+ see_home_page: Se hjemmesiden
18
+ recent_activity:
19
+ empty: Det har ikke vært noen aktivitet her i det siste.
20
+ latest_activity: Siste Aktivitet
21
+ latest_activity_message: "%{what} %{kind} ble %{action}"
22
+ recent_inquiries:
23
+ latest_inquiries: Siste Forespørsler
24
+ updated:
25
+ 'with_article "the"': oppdatert
26
+ created:
27
+ 'with_article "the"': opprettet