refinerycms-inquiries 0.9.9.9 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,75 @@
1
+ cs:
2
+ plugins:
3
+ refinery_inquiries:
4
+ title: Dotazy
5
+ description: Zajišťuje kontaktní formulář a uchovává zaslané dotazy.
6
+ inquiries:
7
+ new:
8
+ send: Odeslat zprávu
9
+ privacy_policy: Vážíme si Vaše soukromí
10
+ admin:
11
+ inquiries:
12
+ delete: Odstranit dotaz
13
+ inquiry:
14
+ read_inquiry: Zobrazit dotaz
15
+ said: řekl
16
+ mark_as_spam: Označiť jako spam
17
+ mark_as_ham: Přesunout do inbox-u
18
+ submenu:
19
+ inbox: Inbox
20
+ spam: Spam
21
+ update_notified: Aktualizovat seznam notifikovaných
22
+ edit_confirmation_email: Upravit potvrzující email
23
+ index:
24
+ no_inquiries: Nemáte žádné dotazy.
25
+ no_spam: Hurá! Nemáte žádný spam.
26
+ show:
27
+ details: Detaily
28
+ age: Věk
29
+ actions: Akce
30
+ back_to_all_inquiries: Návrat na seznam dotazů
31
+ spam: Spam
32
+ spam_yes: 'ano'
33
+ inquiry: Dotaz
34
+ to: Pro
35
+ from: Od
36
+ click_to_email: Click to email this address
37
+ phone: Telefon
38
+ date: Datum
39
+ message: Zpráva
40
+ inquiry_settings:
41
+ notification_recipients_form:
42
+ inquiry_settings_value_name: Odeslat notifikaci pro
43
+ hint: Při posláni nového dotazu, Refinery zašle notifikační zprávu na zadané emaily.
44
+ example: "Zadej tvou emailovou adresu(y) jako například: jack@work.com, jill@office.com"
45
+ confirmation_email_form:
46
+ to: Pro
47
+ from: Od
48
+ subject: Subjekt
49
+ click_to_edit_subject: Klikni zde pro editaci subjektu
50
+ explanation: Vždy když tě někdo kontaktuje přes web, Refinery pošle potvrzující email o přijetí dotazu osobě, která jej zadala.
51
+ below_edit_email_sent: Níže si můžeš upravit email, který je odesílán.
52
+ the_customer_making_inquiry: Klient zaslal dotaz
53
+ message: Zpráva
54
+ note: "Poznámka: Vlož text %name% kde chceš aby se nacházelo klientove jméno ve zprávě."
55
+ inquiry_mailer:
56
+ notification:
57
+ greeting: Ahoj
58
+ you_recieved_new_inquiry: Právě jsi obdržel nový dotaz na webové stránce.
59
+ inquiry_starts: --- začátek dotazu ---
60
+ inquiry_ends: --- konec dotazu ---
61
+ from: Od
62
+ email: Email
63
+ phone: Telefon
64
+ message: Zpráva
65
+ closing_line: S pozdravem
66
+ ps: P.S. Všechny dotazy jsou uloženy pod sekcí "Dotazy" v administraci, pokud by je bylo třeba zobrazit později.
67
+ activerecord:
68
+ models:
69
+ inquiry: dotaz
70
+ attributes:
71
+ inquiry:
72
+ name: Jméno
73
+ email: Email
74
+ phone: Telefon
75
+ message: Zpráva
@@ -0,0 +1,75 @@
1
+ en-GB:
2
+ plugins:
3
+ refinery_inquiries:
4
+ title: Enquiries
5
+ description: Provides a contact form and stores enquiries
6
+ inquiries:
7
+ new:
8
+ send: Send message
9
+ privacy_policy: We value your privacy
10
+ admin:
11
+ inquiries:
12
+ delete: Remove this enquiry forever
13
+ inquiry:
14
+ read_inquiry: Read the enquiry
15
+ said: said
16
+ mark_as_spam: Mark as spam
17
+ mark_as_ham: Move to inbox
18
+ submenu:
19
+ inbox: Inbox
20
+ spam: Spam
21
+ update_notified: Update who gets notified
22
+ edit_confirmation_email: Edit confirmation email
23
+ index:
24
+ no_inquiries: You have not received any enquiries yet.
25
+ no_spam: Hooray! You don't have any spam.
26
+ show:
27
+ details: Details
28
+ age: Age
29
+ actions: Actions
30
+ back_to_all_inquiries: Back to all Enquiries
31
+ spam: Spam
32
+ spam_yes: 'yes'
33
+ inquiry: Enquiry
34
+ to: To
35
+ from: From
36
+ click_to_email: Click to email this address
37
+ phone: Phone
38
+ date: Date
39
+ message: Message
40
+ inquiry_settings:
41
+ notification_recipients_form:
42
+ inquiry_settings_value_name: Send notifications to
43
+ hint: When a new enquiry is submitted, Refinery will send an email notification to you.
44
+ example: "Enter your email address(es) like: jack@work.com, jill@office.com"
45
+ confirmation_email_form:
46
+ to: To
47
+ from: From
48
+ subject: Subject
49
+ click_to_edit_subject: Click here to edit the subject
50
+ explanation: Every time someone contacts you on your website, Refinery sends out an email to confirm the enquiry with the person who made it.
51
+ below_edit_email_sent: Below you can edit the email that is sent out.
52
+ the_customer_making_inquiry: The customer making the enquiry
53
+ message: Message
54
+ note: "Note: place the text %name% where you'd like the customer's name to appear in the email"
55
+ inquiry_mailer:
56
+ notification:
57
+ greeting: Hi there
58
+ you_recieved_new_inquiry: You just received a new enquiry on your website.
59
+ inquiry_starts: --- enquiry starts ---
60
+ inquiry_ends: --- enquiry ends ---
61
+ from: From
62
+ email: Email
63
+ phone: Phone
64
+ message: Message
65
+ closing_line: Kind Regards
66
+ ps: P.S. All your enquiries are stored in the "Enquiries" section of Refinery should you ever want to view it later there.
67
+ activerecord:
68
+ models:
69
+ inquiry: inquiry
70
+ attributes:
71
+ inquiry:
72
+ name: Name
73
+ email: Email
74
+ phone: Phone
75
+ message: Message
@@ -2,64 +2,44 @@ nb:
2
2
  plugins:
3
3
  refinery_inquiries:
4
4
  title: Forespørsler
5
- activerecord:
6
- models:
7
- inquiry: Forespørsel
8
- inquiry_setting: Innstillinger for Forespørsler
9
- attributes:
10
- inquiry:
11
- to: Til
12
- from: Fra
13
- click_to_email: Trykk for å sende en e-post til denne adressen
14
- phone: Telefon
15
- date: Dato
16
- message: Melding
5
+ description: Legger til et kontaktskjema og lagrer forespørsler
17
6
  inquiries:
18
7
  new:
19
- header_message: "Ooops, det oppsto et lite problem"
20
- message: "Følgende problemer må løses:"
21
8
  send: Send melding
22
9
  privacy_policy: "Vi respekterer ditt privatliv"
23
10
  admin:
24
11
  inquiries:
12
+ delete: Fjern denne forespørselen permanent
25
13
  inquiry:
26
- move_inquiry_to_closed: Flytt denne forespørselen til lukket
27
- move_inquiry_to_open: Flytt denne forespørselen til åpen
28
14
  read_inquiry: Les forespørselen
29
- remove_inquiry: "Er du sikker på at du ønsker å slette denne forespørselen fra '%{name}'?"
30
- title: Fjern denne forespørselen permanent.
31
15
  said: sa
32
16
  mark_as_spam: Merk som søppel
33
17
  mark_as_ham: Flytt til innboksen
34
- toggle_status:
35
- closed: "Forespørselen '%{inquiry}' er lukket"
36
- reopened: "Forespørselen '%{inquiry}' er gjenåpnet"
37
18
  submenu:
19
+ inbox: Innboks
20
+ spam: Søppel
38
21
  update_notified: Oppdater hvem som blir informert
39
22
  edit_confirmation_email: Rediger bekreftelses e-posten
40
23
  index:
41
- search_results_for: Søkeresultater for %{query}
42
24
  no_inquiries: Du har ikke mottatt noen forespørsler enda.
43
25
  no_spam: Hurra! Du har ikke noen søppelpost.
44
26
  show:
45
27
  details: Detaljer
46
- click_to_email: Trykk for å sende e-post
47
- status: Status
48
- open: Åpen
49
- closed: Lukket
50
28
  age: Alder
51
29
  actions: Handlinger
52
30
  back_to_all_inquiries: Tilbake til alle forespørslene
53
31
  spam: Søppel
54
32
  spam_yes: 'ja'
55
33
  inquiry: Forespørsel
56
- title: Fjern denne forespørselen permanent
34
+ to: Til
35
+ from: Fra
36
+ click_to_email: Trykk for å sende e-post
37
+ phone: Telefon
38
+ date: Dato
39
+ message: Melding
57
40
  inquiry_settings:
58
- update:
59
- updated: "'%{setting}' ble endret."
60
41
  notification_recipients_form:
61
- inquiry_settings_value_name: Send oppdateringer til
62
- explanation: "Hver gang noen kontakter deg på websiden din, så vil Refinery sende ut en e-post for å si ifra at det er ny forespørsel."
42
+ inquiry_settings_value_name: Send varslinger til
63
43
  hint: "Når en ny forespørsel er lagt inn, så vil Refinery sende deg en e-post for å si i fra."
64
44
  example: "Legg inn din(e) e-post adresse(r) slik: jack@jobb.no, jill@kontoret.no"
65
45
  confirmation_email_form:
@@ -72,5 +52,24 @@ nb:
72
52
  the_customer_making_inquiry: Kunden som skrev forespørselen
73
53
  message: Melding
74
54
  note: "Merk: plasser teksten %name% der du ønsker at kundens navn skal vises i e-posten"
75
- subject_form:
76
- subject_value_name: Enme
55
+ inquiry_mailer:
56
+ notification:
57
+ greeting: Hei
58
+ you_recieved_new_inquiry: Du har mottatt en ny forespørsel på nettsiden din.
59
+ inquiry_starts: --- Start på forespørsel ---
60
+ inquiry_ends: --- Slutt på forespørsel ---
61
+ from: Fra
62
+ email: Epost
63
+ phone: Telefon
64
+ message: Melding
65
+ closing_line: Vennlig hilsen
66
+ ps: P.S. Alle dine forespørsler blir lagret i seksjonen "Forespørsel" i Refinery om du vil finne de igjen senere
67
+ activerecord:
68
+ models:
69
+ inquiry: Forespørsel
70
+ attributes:
71
+ inquiry:
72
+ name: Navn
73
+ email: Epost
74
+ phone: Telefon
75
+ message: Melding
@@ -0,0 +1,75 @@
1
+ sk:
2
+ plugins:
3
+ refinery_inquiries:
4
+ title: Otázky
5
+ description: Zabezpečuje kontaktný formulár a uchováva zaslané otázky.
6
+ inquiries:
7
+ new:
8
+ send: Odoslať správu
9
+ privacy_policy: Vážime si Vaše súkromie
10
+ admin:
11
+ inquiries:
12
+ delete: Odstrániť otázku
13
+ inquiry:
14
+ read_inquiry: Zobraziť otázku
15
+ said: povedal
16
+ mark_as_spam: Označiť ako spam
17
+ mark_as_ham: Presunúť do inbox-u
18
+ submenu:
19
+ inbox: Inbox
20
+ spam: Spam
21
+ update_notified: Aktualizovať zoznam notifikovaných
22
+ edit_confirmation_email: Upraviť potvrdzujúci email
23
+ index:
24
+ no_inquiries: Nemáte žiadne otázky.
25
+ no_spam: Hurá! Nemáte žiadny spam.
26
+ show:
27
+ details: Detaily
28
+ age: Vek
29
+ actions: Akcie
30
+ back_to_all_inquiries: Návrat na zoznam otázok
31
+ spam: Spam
32
+ spam_yes: 'áno'
33
+ inquiry: Otázka
34
+ to: Pre
35
+ from: Od
36
+ click_to_email: Click to email this address
37
+ phone: Telefón
38
+ date: Dátum
39
+ message: Správa
40
+ inquiry_settings:
41
+ notification_recipients_form:
42
+ inquiry_settings_value_name: Odoslať notifikáciu pre
43
+ hint: Pri poslaní novej otázky, Refinery pošle notifikáčnú správu na zadané emaily.
44
+ example: "Zadaj tvoju emailovú adresu(y) ako napríklad: jack@work.com, jill@office.com"
45
+ confirmation_email_form:
46
+ to: Pre
47
+ from: Od
48
+ subject: Subjekt
49
+ click_to_edit_subject: Klikni tu pre editáciu subjektu
50
+ explanation: Vždy keď ťa niekto kontaktuje cez web, Refinery pošle potvrdzujúci email o prijaťí otázky osobe, ktorá ju zadala.
51
+ below_edit_email_sent: Nižšie si môžeš upraviť email, ktorý je posielaný.
52
+ the_customer_making_inquiry: Klient zaslal otázku
53
+ message: Správa
54
+ note: "Poznámka: Vlož text %name% kde chceš aby sa nachádzalo klientove meno v správe."
55
+ inquiry_mailer:
56
+ notification:
57
+ greeting: Ahoj
58
+ you_recieved_new_inquiry: Práve si obdržal novú otázku na webovej stránke.
59
+ inquiry_starts: --- začiatok otázky ---
60
+ inquiry_ends: --- koniec otázky ---
61
+ from: Od
62
+ email: Email
63
+ phone: Telefón
64
+ message: Správa
65
+ closing_line: S pozdravom
66
+ ps: P.S. Všetky otázky sú uložené pod sekciou "Otázky" v administrácii web stránky, ak by ich bolo potrebné zobraziť neskôr.
67
+ activerecord:
68
+ models:
69
+ inquiry: otázka
70
+ attributes:
71
+ inquiry:
72
+ name: Meno
73
+ email: Email
74
+ phone: Telefón
75
+ message: Správa
@@ -2,56 +2,44 @@ sl:
2
2
  plugins:
3
3
  refinery_inquiries:
4
4
  title: Povpraševanja
5
- activerecord:
6
- models:
7
- inquiry: Povpraševanje
8
- attributes:
9
- inquiry:
10
- to: Za
11
- from: Od
12
- click_to_email: Pošlji email sporočilo
13
- phone: Telefon
14
- date: Datum
15
- message: Sporočilo
5
+ description: Priskrbi kontaktni obrazec in shrani povpraševanja
16
6
  inquiries:
17
7
  new:
18
- header_message: "Ups prišlo je do majhnega problema"
19
- message: "Prosimo odpravite sledeče napake:"
20
8
  send: Pošlji sporočilo
21
9
  privacy_policy: "Cenimo vašo zasebnost"
22
10
  admin:
23
11
  inquiries:
12
+ delete: Odstrani povpraševanje
24
13
  inquiry:
25
- said: pravi
26
- move_inquiry_to_closed: Premakni povpraševanje v zaprto
27
- move_inquiry_to_open: Premakni povpraševanje v odprto
28
14
  read_inquiry: Preberi povpraševanje
29
- remove_inquiry: "Ali ste prepričani da želite odstraniti povpraševanje od '%{name}'?"
30
- title: Odstrani povpraševanje.
31
- toggle_status:
32
- closed: "Povpraševanje '%{inquiry}' je zaprto"
33
- reopened: "Povpraševanje '%{inquiry}' je ponovno odprto"
15
+ said: pravi
16
+ mark_as_spam: Označi kot nezaželjeno
17
+ mark_as_ham: Premakni v prejeto
34
18
  index:
35
19
  no_inquiries: Trenutno še ni nobenega povpraševanja.
20
+ no_spam: Huura! Nimate nezaželjene pošte.
36
21
  submenu:
22
+ inbox: Prejeto
23
+ spam: Nezaželjeno
37
24
  update_notified: Uredi prejemnike obvestila
38
25
  edit_confirmation_email: Uredni potrditveni email
39
26
  show:
40
27
  details: Podrobnosti
41
- click_to_email: Pošlji email sporočilo
42
- status: Status
43
- open: Odprto
44
- closed: Zaprto
45
28
  age: Starost
46
29
  actions: Možnosti
47
30
  back_to_all_inquiries: Nazaj na vsa povpraševanja
31
+ spam: Nezaželjeno
32
+ spam_yes: 'da'
48
33
  inquiry: Povpraševanje
34
+ to: Za
35
+ from: Od
36
+ click_to_email: Pošlji email sporočilo
37
+ phone: Telefon
38
+ date: Datum
39
+ message: Sporočilo
49
40
  inquiry_settings:
50
- update:
51
- updated: "'%{setting}' je bila uspešno posodobljena."
52
41
  notification_recipients_form:
53
42
  inquiry_settings_value_name: Pošlji obvestilo na
54
- explanation: "Vedno ko vas nekdo kontaktira na vaši spletni strani, vam Refinery pošlje email obvestilo o novem povpraševanju."
55
43
  hint: "V zgornje polje vnesite email naslov. Želite da obvestila prejme več oseb? Vnesite več email naslovov ločenih z vejicami."
56
44
  example: "Primer: jaz@domena.com, prijatelj@msn.com, sodelavec@work.com"
57
45
  confirmation_email_form:
@@ -64,5 +52,24 @@ sl:
64
52
  the_customer_making_inquiry: Stranka, ki je poslala povpraševanje
65
53
  message: Sporočilo
66
54
  note: "Opomba: vstavite tekst %name% kjer želite, da se pojavi ime stranke v email sporočilu."
67
- subject_form:
68
- subject_value_name: Zadeva
55
+ inquiry_mailer:
56
+ notification:
57
+ greeting: Pozdravljeni
58
+ you_recieved_new_inquiry: Na vaši spletni strani ste prejeli ste novo povpraševanje.
59
+ inquiry_starts: --- začetek povpraševanja ---
60
+ inquiry_ends: --- konec povpraševanja ---
61
+ from: Od
62
+ email: Email
63
+ phone: Telefon
64
+ message: Sporočilo
65
+ closing_line: Lepo Pozdravljeni
66
+ ps: P.S. Vsa povpraševanja so shranjena pod zavihkom "Povpraševanja" v Refinery.
67
+ activerecord:
68
+ models:
69
+ inquiry: Povpraševanje
70
+ attributes:
71
+ inquiry:
72
+ name: Ime
73
+ email: Email
74
+ phone: Telefon
75
+ message: Sporočilo
@@ -0,0 +1,75 @@
1
+ zh-CN:
2
+ plugins:
3
+ refinery_inquiries:
4
+ title: 咨询
5
+ description: 提供一个联系表单与保存咨询
6
+ inquiries:
7
+ new:
8
+ send: 发送消息
9
+ privacy_policy: 我们珍视您的隐私
10
+ admin:
11
+ inquiries:
12
+ delete: 永久删除此咨询
13
+ inquiry:
14
+ read_inquiry: 阅读此咨询
15
+ said: 说
16
+ mark_as_spam: 标记为垃圾邮件
17
+ mark_as_ham: 移到收件箱
18
+ submenu:
19
+ inbox: 收件箱
20
+ spam: 垃圾邮件
21
+ update_notified: 更新通知名单
22
+ edit_confirmation_email: 编辑确认email
23
+ index:
24
+ no_inquiries: 你还没有收到任何的咨询.
25
+ no_spam: 垃圾邮件箱为空.
26
+ show:
27
+ details: 详细
28
+ age: 时间
29
+ actions: 操作
30
+ back_to_all_inquiries: 返回到所有的咨询
31
+ spam: 垃圾邮件
32
+ spam_yes: '是'
33
+ inquiry: 咨询
34
+ to: 到
35
+ from: 从
36
+ click_to_email: 点击发送到这个地址
37
+ phone: 电话
38
+ date: 日期
39
+ message: 信息
40
+ inquiry_settings:
41
+ notification_recipients_form:
42
+ inquiry_settings_value_name: 发送通知到
43
+ hint: 当收到新的咨询时,Refinery将会发一封email通知你.
44
+ example: "输入你的email地址如: jack@work.com, jill@office.com"
45
+ confirmation_email_form:
46
+ to: 到
47
+ from: 从
48
+ subject: 标题
49
+ click_to_edit_subject: 点击这里编辑标题
50
+ explanation: 每当有人在网站上联系你, Refinery发送出一封email去确认发送者的身份.
51
+ below_edit_email_sent: 你可以在下面编辑你要发出去的email.
52
+ the_customer_making_inquiry: 客户正在写咨询
53
+ message: 信息
54
+ note: "注意: 把你的客户名字在电子邮件出现的位置以文字 %name% 做替换"
55
+ inquiry_mailer:
56
+ notification:
57
+ greeting: 您好
58
+ you_recieved_new_inquiry: 你刚从你的网站收到一条新的咨询.
59
+ inquiry_starts: --- 咨询开始处 ---
60
+ inquiry_ends: --- 咨询结束处 ---
61
+ from: 表单
62
+ email: email
63
+ phone: 电话
64
+ message: 信息
65
+ closing_line: 谨致问候
66
+ ps: 附言 您所有的咨询被保存在“咨询”区域以便于你在日后查看.
67
+ activerecord:
68
+ models:
69
+ inquiry: inquiry
70
+ attributes:
71
+ inquiry:
72
+ name: 姓名
73
+ email: email
74
+ phone: 联系电话
75
+ message: 留言信息
@@ -25,6 +25,8 @@ class CreateInquiries < ActiveRecord::Migration
25
25
  t.datetime "updated_at"
26
26
  end unless ::InquirySetting.table_exists?
27
27
 
28
+ ::Page.reset_column_information if defined?(::Page)
29
+
28
30
  load(Rails.root.join('db', 'seeds', 'pages_for_inquiries.rb').to_s)
29
31
  end
30
32
 
@@ -32,6 +34,9 @@ class CreateInquiries < ActiveRecord::Migration
32
34
  drop_table ::Inquiry.table_name
33
35
  # todo: remove at 1.0
34
36
  drop_table ::InquirySetting.table_name
35
- Page.delete_all({:link_url => ("/contact" || "/contact/thank_you")})
37
+
38
+ ::Page.delete_all({
39
+ :link_url => ("/contact" || "/contact/thank_you")
40
+ }) if defined?(::Page)
36
41
  end
37
42
  end
@@ -1,46 +1,48 @@
1
- page_position = (Page.maximum(:position, :conditions => {:parent_id => nil}) || -1)
1
+ if defined?(::Page)
2
+ page_position = (::Page.maximum(:position, :conditions => {:parent_id => nil}) || -1)
2
3
 
3
- contact_us_page = Page.create({
4
- :title => "Contact",
5
- :link_url => "/contact",
6
- :menu_match => "^/(inquiries|contact).*$",
7
- :deletable => false,
8
- :position => (page_position += 1)
9
- })
10
- contact_us_page.parts.create({
11
- :title => "Body",
12
- :body => "<p>Get in touch with us. Just use the form below and we'll get back to you as soon as we can.</p>",
13
- :position => 0
14
- })
15
- contact_us_page.parts.create({
16
- :title => "Side Body",
17
- :body => "<p>163 Evergreen Terrace<br/>Happyville<br/>USA.<br/>Phone: 1-800 CALLUSNOW</p>",
18
- :position => 1
19
- })
20
- contact_us_page_position = -1
4
+ contact_us_page = ::Page.create({
5
+ :title => "Contact",
6
+ :link_url => "/contact",
7
+ :menu_match => "^/(inquiries|contact).*$",
8
+ :deletable => false,
9
+ :position => (page_position += 1)
10
+ })
11
+ contact_us_page.parts.create({
12
+ :title => "Body",
13
+ :body => "<p>Get in touch with us. Just use the form below and we'll get back to you as soon as we can.</p>",
14
+ :position => 0
15
+ })
16
+ contact_us_page.parts.create({
17
+ :title => "Side Body",
18
+ :body => "<p>163 Evergreen Terrace<br/>Happyville<br/>USA.<br/>Phone: 1-800 CALLUSNOW</p>",
19
+ :position => 1
20
+ })
21
+ contact_us_page_position = -1
21
22
 
22
- thank_you_page = contact_us_page.children.create({
23
- :title => "Thank You",
24
- :link_url => "/contact/thank_you",
25
- :menu_match => "^/(inquiries|contact)/thank_you$",
26
- :show_in_menu => false,
27
- :deletable => false,
28
- :position => (contact_us_page_position += 1)
29
- })
30
- thank_you_page.parts.create({
31
- :title => "Body",
32
- :body => "<p>We've received your inquiry and will get back to you with a response shortly.</p><p><a href='/'>Return to the home page</a></p>",
33
- :position => 0
34
- })
23
+ thank_you_page = contact_us_page.children.create({
24
+ :title => "Thank You",
25
+ :link_url => "/contact/thank_you",
26
+ :menu_match => "^/(inquiries|contact)/thank_you$",
27
+ :show_in_menu => false,
28
+ :deletable => false,
29
+ :position => (contact_us_page_position += 1)
30
+ })
31
+ thank_you_page.parts.create({
32
+ :title => "Body",
33
+ :body => "<p>We've received your inquiry and will get back to you with a response shortly.</p><p><a href='/'>Return to the home page</a></p>",
34
+ :position => 0
35
+ })
35
36
 
36
- privacy_policy_page = contact_us_page.children.create({
37
- :title => "Privacy Policy",
38
- :deletable => true,
39
- :show_in_menu => false,
40
- :position => (contact_us_page_position += 1)
41
- })
42
- privacy_policy_page.parts.create({
43
- :title => "Body",
44
- :body => "<p>We respect your privacy. We do not market, rent or sell our email list to any outside parties.</p><p>We need your e-mail address so that we can ensure that the people using our forms are bona fide. It also allows us to send you e-mail newsletters and other communications, if you opt-in. Your postal address is required in order to send you information and pricing, if you request it.</p><p>Please call us at 123 456 7890 if you have any questions or concerns.</p>",
45
- :position => 0
46
- })
37
+ privacy_policy_page = contact_us_page.children.create({
38
+ :title => "Privacy Policy",
39
+ :deletable => true,
40
+ :show_in_menu => false,
41
+ :position => (contact_us_page_position += 1)
42
+ })
43
+ privacy_policy_page.parts.create({
44
+ :title => "Body",
45
+ :body => "<p>We respect your privacy. We do not market, rent or sell our email list to any outside parties.</p><p>We need your e-mail address so that we can ensure that the people using our forms are bona fide. It also allows us to send you e-mail newsletters and other communications, if you opt-in. Your postal address is required in order to send you information and pricing, if you request it.</p><p>Please call us at 123 456 7890 if you have any questions or concerns.</p>",
46
+ :position => 0
47
+ })
48
+ end
data/lib/gemspec.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- version = '0.9.9.9'
2
+ version = '1.0.0'
3
3
  raise "Could not get version so gemspec can not be built" if version.nil?
4
4
  files = Dir.glob("**/*").flatten.reject do |file|
5
5
  file =~ /\.gem$/
data/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Inquiries
2
2
 
3
- ![Refinery Inquiries](http://refinerycms.com/system/images/0000/0626/inquiries.png)
3
+ ![Refinery Inquiries](http://refinerycms.com/system/images/BAhbBlsHOgZmSSIqMjAxMS8wNS8wMS8wNF81MF8wMV81MDlfaW5xdWlyaWVzLnBuZwY6BkVU/inquiries.png)
4
4
 
5
5
  ### Gem Installation using Bundler (The very best way)
6
6
 
@@ -12,10 +12,7 @@ Then type the following at command line inside your Refinery CMS application's r
12
12
 
13
13
  bundle install
14
14
 
15
- You don't currently have to do any migrations because Refinery CMS never removed the inquiries tables by default.
16
- This will change in a future version - follow the instructions below if you are running the currently unreleased Refinery 0.9.9.
17
-
18
- #### Installation on Refinery 0.9.9
15
+ #### Installation on Refinery 0.9.9 or above.
19
16
 
20
17
  The inquiries table has been removed from the base install of Refinery 0.9.9. To install the migrations, run:
21
18
 
@@ -35,7 +32,7 @@ In summary you can:
35
32
  * Specify who is notified when a new inquiry comes in
36
33
  * Customise an auto responder email that is sent to the person making the inquiry
37
34
 
38
- When inquiries come in, you and the customer are notified. The inquiry will now show up as an "open" inquiry. The idea is to deal with the inquiry and then "close" it so you know it's been sorted.
35
+ When inquiries come in, you and the customer are generally notified. As we implemented spam filtering through the [filters_spam plugin](https://github.com/resolve/filters_spam#readme) you will not get notified if an inquiry is marked as 'spam'.
39
36
 
40
37
  ## How do I get Notified?
41
38
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{refinerycms-inquiries}
3
- s.version = %q{0.9.9.9}
4
- s.date = %q{2010-12-29}
3
+ s.version = %q{1.0.0}
4
+ s.date = %q{2011-05-03}
5
5
  s.summary = %q{Inquiry handling functionality for the Refinery CMS project.}
6
6
  s.description = %q{Inquiry handling functionality extracted from Refinery CMS to allow you to have a contact form and manage inquiries in the Refinery backend.}
7
7
  s.homepage = %q{http://refinerycms.com}
@@ -42,8 +42,10 @@ Gem::Specification.new do |s|
42
42
  'app/views/inquiry_mailer/notification.html.erb',
43
43
  'config',
44
44
  'config/locales',
45
+ 'config/locales/cs.yml',
45
46
  'config/locales/da.yml',
46
47
  'config/locales/de.yml',
48
+ 'config/locales/en-GB.yml',
47
49
  'config/locales/en.yml',
48
50
  'config/locales/es.yml',
49
51
  'config/locales/fr.yml',
@@ -56,8 +58,10 @@ Gem::Specification.new do |s|
56
58
  'config/locales/pl.yml',
57
59
  'config/locales/pt-BR.yml',
58
60
  'config/locales/ru.yml',
61
+ 'config/locales/sk.yml',
59
62
  'config/locales/sl.yml',
60
63
  'config/locales/sv.yml',
64
+ 'config/locales/zh-CN.yml',
61
65
  'config/routes.rb',
62
66
  'db',
63
67
  'db/migrate',
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-inquiries
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 9
8
- - 9
9
- - 9
10
- version: 0.9.9.9
4
+ prerelease:
5
+ version: 1.0.0
11
6
  platform: ruby
12
7
  authors:
13
8
  - Resolve Digital
@@ -15,8 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2010-12-29 00:00:00 +13:00
19
- default_executable:
13
+ date: 2011-05-03 00:00:00 Z
20
14
  dependencies:
21
15
  - !ruby/object:Gem::Dependency
22
16
  name: filters_spam
@@ -26,9 +20,6 @@ dependencies:
26
20
  requirements:
27
21
  - - ~>
28
22
  - !ruby/object:Gem::Version
29
- segments:
30
- - 0
31
- - 2
32
23
  version: "0.2"
33
24
  type: :runtime
34
25
  version_requirements: *id001
@@ -59,8 +50,10 @@ files:
59
50
  - app/views/inquiries/thank_you.html.erb
60
51
  - app/views/inquiry_mailer/confirmation.html.erb
61
52
  - app/views/inquiry_mailer/notification.html.erb
53
+ - config/locales/cs.yml
62
54
  - config/locales/da.yml
63
55
  - config/locales/de.yml
56
+ - config/locales/en-GB.yml
64
57
  - config/locales/en.yml
65
58
  - config/locales/es.yml
66
59
  - config/locales/fr.yml
@@ -73,8 +66,10 @@ files:
73
66
  - config/locales/pl.yml
74
67
  - config/locales/pt-BR.yml
75
68
  - config/locales/ru.yml
69
+ - config/locales/sk.yml
76
70
  - config/locales/sl.yml
77
71
  - config/locales/sv.yml
72
+ - config/locales/zh-CN.yml
78
73
  - config/routes.rb
79
74
  - db/migrate/20101208082840_create_inquiries.rb
80
75
  - db/migrate/20101208082841_remove_position_and_open_from_inquiries.rb
@@ -92,7 +87,6 @@ files:
92
87
  - readme.md
93
88
  - refinerycms-inquiries.gemspec
94
89
  - spec/models/inquiry_spec.rb
95
- has_rdoc: true
96
90
  homepage: http://refinerycms.com
97
91
  licenses: []
98
92
 
@@ -106,23 +100,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
100
  requirements:
107
101
  - - ">="
108
102
  - !ruby/object:Gem::Version
109
- segments:
110
- - 0
111
103
  version: "0"
112
104
  required_rubygems_version: !ruby/object:Gem::Requirement
113
105
  none: false
114
106
  requirements:
115
107
  - - ">="
116
108
  - !ruby/object:Gem::Version
117
- segments:
118
- - 0
119
109
  version: "0"
120
110
  requirements: []
121
111
 
122
112
  rubyforge_project:
123
- rubygems_version: 1.3.7
113
+ rubygems_version: 1.7.2
124
114
  signing_key:
125
115
  specification_version: 3
126
116
  summary: Inquiry handling functionality for the Refinery CMS project.
127
117
  test_files: []
128
118
 
119
+ has_rdoc: