e9_crm 0.1.33 → 0.1.34
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/e9_crm/campaign_groups/_header.html.haml +2 -2
- data/app/views/e9_crm/campaigns/_header.html.haml +17 -15
- data/app/views/e9_crm/campaigns/reports.html.haml +22 -11
- data/app/views/e9_crm/companies/_header.html.haml +4 -10
- data/app/views/e9_crm/contacts/_sidebar_search_form.html.haml +1 -1
- data/app/views/e9_crm/contacts/edit.html.haml +4 -2
- data/app/views/e9_crm/contacts/index.html.haml +12 -17
- data/app/views/e9_crm/deals/_header.html.haml +18 -16
- data/app/views/e9_crm/deals/_leads_header.html.haml +16 -13
- data/app/views/e9_crm/offers/_header.html.haml +2 -2
- data/app/views/e9_crm/page_views/_header.html.haml +21 -14
- data/app/views/e9_crm/resources/index.html.haml +1 -0
- data/app/views/e9_crm/visits/_header.html.haml +2 -2
- data/config/locales/e9.en.yml +1 -1
- data/config/locales/en.yml +5 -0
- data/lib/e9_crm/version.rb +1 -1
- metadata +6 -6
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
- content_for :toolbar_right do
|
2
|
+
= toolbar_actions do
|
3
3
|
= link_to_new_resource(CampaignGroup)
|
@@ -1,21 +1,23 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.toolbar-middle
|
1
|
+
- content_for :toolbar_middle do
|
2
|
+
= toolbar_filters do
|
4
3
|
= form_tag(resource_class, :method => :get, :class => 'scope-selects') do
|
5
|
-
|
6
|
-
|
7
|
-
%select{:name => 'type'}
|
4
|
+
.field
|
5
|
+
= label_tag 'campaign-type', t(:filter_by, :attribute => resource_class.human_attribute_name(:type))
|
6
|
+
%select{:name => 'type', :id => 'campaign-type'}
|
8
7
|
= campaign_type_select_options
|
9
|
-
|
8
|
+
.field
|
9
|
+
= label_tag 'campaign-group', t(:filter_by, :attribute => resource_class.human_attribute_name(:group))
|
10
|
+
%select{:name => 'group', :id => 'campaign-group'}
|
10
11
|
= campaign_group_select_options
|
11
|
-
|
12
|
+
.field
|
13
|
+
= label_tag 'campaign-active', t(:filter_by, :attribute => resource_class.human_attribute_name(:active))
|
14
|
+
%select{:name => 'active', :id => 'campaign-active'}
|
12
15
|
= campaign_active_select_options
|
13
16
|
|
14
|
-
|
17
|
+
- content_for :toolbar_right do
|
18
|
+
= toolbar_forms do
|
15
19
|
= form_tag new_campaign_path, :method => :get, :id => 'new_campaign_form' do
|
16
|
-
|
17
|
-
|
18
|
-
=
|
19
|
-
|
20
|
-
= campaign_type_select_options(false)
|
21
|
-
= submit_tag t(:go), :name => nil
|
20
|
+
= label_tag 'new_campaign_type_select', t('activerecord.links.new', :model => Campaign.model_name.human)
|
21
|
+
%select{:name => 'type', :id => 'new_campaign_type_select'}
|
22
|
+
= campaign_type_select_options(false)
|
23
|
+
= submit_tag t(:go), :name => nil
|
@@ -1,19 +1,30 @@
|
|
1
1
|
= title (@index_title || e9_t(:index_title, :scope => 'e9_crm.reports'))
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
- content_for :toolbar_middle do
|
4
|
+
= toolbar_filters do
|
5
5
|
= form_tag(resource_class, :method => :get, :class => 'scope-selects') do
|
6
|
-
|
7
|
-
=
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
=
|
12
|
-
|
13
|
-
|
6
|
+
.field
|
7
|
+
= label_tag 'campaign-type', t(:filter_by, :attribute => resource_class.human_attribute_name(:type))
|
8
|
+
%select{:name => 'type', :id => 'campaign-type'}
|
9
|
+
= campaign_type_select_options
|
10
|
+
.field
|
11
|
+
= label_tag 'campaign-group', t(:filter_by, :attribute => resource_class.human_attribute_name(:group))
|
12
|
+
%select{:name => 'group', :id => 'campaign-group'}
|
13
|
+
= campaign_group_select_options
|
14
|
+
.field
|
15
|
+
= label_tag 'campaign-from', t(:filter_by, :attribute => resource_class.human_attribute_name(:from))
|
16
|
+
%select{:name => 'from', :id => 'campaign-from'}
|
17
|
+
= deal_date_select_options
|
18
|
+
.field
|
19
|
+
= label_tag 'campaign-until', t(:filter_by, :attribute => resource_class.human_attribute_name(:until))
|
20
|
+
%select{:name => 'until', :id => 'campaign-until'}
|
21
|
+
= deal_date_select_options(:type => :until)
|
14
22
|
|
15
|
-
|
23
|
+
- content_for :toolbar_right do
|
24
|
+
= toolbar_actions do
|
16
25
|
= link_to_collection(Campaign)
|
17
26
|
|
27
|
+
= render 'shared/admin/toolbar'
|
28
|
+
|
18
29
|
%div#records_table
|
19
30
|
= render 'reports_table'
|
@@ -1,10 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
%fieldset
|
6
|
-
%legend= t(:form_legend_manage)
|
7
|
-
.manage-company
|
8
|
-
= link_to_new_resource(Company)
|
9
|
-
.manage-contacts
|
10
|
-
= link_to_collection(Contact)
|
1
|
+
- content_for :toolbar_right do
|
2
|
+
= toolbar_actions do
|
3
|
+
= link_to_collection(Contact)
|
4
|
+
= link_to_new_resource(Company)
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
= form_tag(resource_class, :method => :get, :class => 'field', :id => 'contact_search_form') do
|
6
6
|
= label_tag 'contact_search_field', t(:search)
|
7
|
-
= text_field_tag 'search', params[:search], :
|
7
|
+
= text_field_tag 'search', params[:search], :class => 'keyup-submit', :placeholder => t(:contact_search_placeholder)
|
8
8
|
|
9
9
|
= form_tag(resource_class, :method => :get, :class => 'scope-selects field', :id => 'company_search_form') do
|
10
10
|
= label_tag 'contact_company_select', Company.model_name.human
|
@@ -1,22 +1,17 @@
|
|
1
1
|
= title (@index_title || e9_t(:index_title))
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
%legend= "Manage"
|
16
|
-
.manage-contacts
|
17
|
-
= link_to_new_resource(Contact)
|
18
|
-
.manage-company
|
19
|
-
= link_to_collection(Company)
|
3
|
+
- content_for :toolbar_middle do
|
4
|
+
= toolbar_filters do
|
5
|
+
= render 'sidebar_search_form'
|
6
|
+
|
7
|
+
- content_for :toolbar_right do
|
8
|
+
= toolbar_actions do
|
9
|
+
= link_to_new_resource(Contact)
|
10
|
+
= link_to_collection(Company)
|
11
|
+
= toolbar_forms do
|
12
|
+
= render 'sidebar_email_form'
|
13
|
+
|
14
|
+
= render 'shared/admin/toolbar'
|
20
15
|
|
21
16
|
#records_table
|
22
17
|
= render 'table', :resources => collection
|
@@ -1,22 +1,24 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.toolbar-middle
|
1
|
+
- content_for :toolbar_middle do
|
2
|
+
= toolbar_filters do
|
4
3
|
= form_tag(resource_class, :method => :get, :class => 'scope-selects') do
|
5
|
-
|
6
|
-
|
7
|
-
%select{:name => 'status'}
|
4
|
+
.field
|
5
|
+
= label_tag 'deal-status', t(:filter_by, :attribute => resource_class.human_attribute_name(:status))
|
6
|
+
%select{:name => 'status', :id => 'deal-status'}
|
8
7
|
= deal_status_select_options
|
9
|
-
|
8
|
+
.field
|
9
|
+
= label_tag 'deal-category', t(:filter_by, :attribute => resource_class.human_attribute_name(:category))
|
10
|
+
%select{:name => 'category', :id => 'deal-category'}
|
10
11
|
= deal_category_select_options
|
11
|
-
|
12
|
+
.field
|
13
|
+
= label_tag 'deal-owner', t(:filter_by, :attribute => resource_class.human_attribute_name(:owner))
|
14
|
+
%select{:name => 'owner', :id => 'deal-owner'}
|
12
15
|
= deal_owner_select_options
|
13
|
-
|
16
|
+
.field
|
17
|
+
= label_tag 'deal-closed', t(:filter_by, :attribute => resource_class.human_attribute_name(:closed))
|
18
|
+
%select{:name => 'closed', :id => 'deal-closed'}
|
14
19
|
= deal_date_select_options(:type => :in_month)
|
15
20
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
= link_to I18n.t('activerecord.links.index', :models => 'Leads'), leads_path
|
21
|
-
.manage-new-deals
|
22
|
-
= link_to_new_resource(Deal)
|
21
|
+
- content_for :toolbar_right do
|
22
|
+
= toolbar_actions do
|
23
|
+
= link_to I18n.t('activerecord.links.index', :models => 'Leads'), leads_path
|
24
|
+
= link_to_new_resource(Deal)
|
@@ -1,18 +1,21 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.toolbar-middle
|
1
|
+
- content_for :toolbar_middle do
|
2
|
+
= toolbar_filters do
|
4
3
|
= form_tag(resource_class, :method => :get, :class => 'scope-selects') do
|
5
|
-
|
6
|
-
|
7
|
-
%select{:name => 'offer'}
|
4
|
+
.field
|
5
|
+
= label_tag 'lead-offer', t(:filter_by, :attribute => resource_class.human_attribute_name(:offer))
|
6
|
+
%select{:name => 'offer', :id => 'lead-offer'}
|
8
7
|
= deal_offer_select_options
|
9
|
-
|
8
|
+
.field
|
9
|
+
= label_tag 'lead-from', t(:filter_by, :attribute => resource_class.human_attribute_name(:from))
|
10
|
+
%select{:name => 'from', :id => 'lead-from'}
|
10
11
|
= deal_date_select_options
|
11
|
-
|
12
|
+
.field
|
13
|
+
= label_tag 'lead-until', t(:filter_by, :attribute => resource_class.human_attribute_name(:until))
|
14
|
+
%select{:name => 'until', :id => 'lead-until'}
|
12
15
|
= deal_date_select_options(:type => :until)
|
13
16
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
17
|
+
- content_for :toolbar_right do
|
18
|
+
= toolbar_actions do
|
19
|
+
= link_to_collection(Deal)
|
20
|
+
|
21
|
+
= render 'shared/admin/toolbar'
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
- content_for :toolbar_right do
|
2
|
+
= toolbar_actions do
|
3
3
|
= link_to_new_resource(Offer)
|
@@ -1,15 +1,22 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
- content_for :toolbar_middle do
|
2
|
+
= toolbar_filters do
|
3
3
|
= form_tag(resource_class, :method => :get, :class => 'scope-selects') do
|
4
|
-
|
5
|
-
=
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
=
|
10
|
-
|
11
|
-
|
12
|
-
.
|
13
|
-
|
14
|
-
%
|
15
|
-
|
4
|
+
.field
|
5
|
+
= label_tag 'pageview-campaign', t(:filter_by, :attribute => resource_class.human_attribute_name(:campaign))
|
6
|
+
%select{:name => 'campaign', :id => 'pageview-campaign'}
|
7
|
+
= page_view_campaign_select_options
|
8
|
+
.field
|
9
|
+
= label_tag 'pageview-events', t(:filter_by, :attribute => resource_class.human_attribute_name(:event))
|
10
|
+
%select{:name => 'new_visits', :id => 'pageview-events'}
|
11
|
+
= page_view_new_visit_select_options
|
12
|
+
.field
|
13
|
+
= label_tag 'pageview-month', t(:filter_by, :attribute => resource_class.human_attribute_name(:month))
|
14
|
+
%select{:name => 'month', :id => 'pageview-month'}
|
15
|
+
= page_view_date_select_options(:type => :in_month)
|
16
|
+
.field
|
17
|
+
= label_tag 'pageview-contact', t(:filter_by, :attribute => resource_class.human_attribute_name(:contact))
|
18
|
+
%input.contact-autocomplete{:type => :text, :style => @contact.blank? && '' || 'display:none', :placeholder => 'Enter Contact...', :id => 'pageview-contact'}
|
19
|
+
.contact-select{:style => @contact.blank? && 'display:none' || ''}
|
20
|
+
%span.content= @contact.try(:name_with_email)
|
21
|
+
%input{:type => :hidden, :name => "contact", :value => @contact.try(:id)}
|
22
|
+
%a{:class => :remove, :title => "Remove", :alt => "Remove"} Remove
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
- content_for :toolbar_right do
|
2
|
+
= toolbar_actions do
|
3
3
|
= link_to 'View All Activity', page_views_url(:campaign => parent.id)
|
data/config/locales/e9.en.yml
CHANGED
@@ -27,7 +27,7 @@ en:
|
|
27
27
|
form_legend_search: Search Filters
|
28
28
|
form_legend_contact: Contact Information
|
29
29
|
form_legend_standard: Personal Information
|
30
|
-
send_email_template: Send
|
30
|
+
send_email_template: Send
|
31
31
|
send_email_newsletter: Send Newsletter
|
32
32
|
contact_newsletter_confirmation: "The system will send the newsletter to all of the selected contacts (%{count}) if they are subscribed to receieve email. Are you sure you want to proceed?"
|
33
33
|
no_contacts_notification: "Either you have selected no contacts, or all of those selected are opted out of bulk email. Please correct this and try again."
|
data/config/locales/en.yml
CHANGED
@@ -172,6 +172,9 @@ en:
|
|
172
172
|
created_at: Date
|
173
173
|
owner: Responsible
|
174
174
|
won_deal_count: Won count
|
175
|
+
offer: Offer
|
176
|
+
from: From Date
|
177
|
+
until: Before Date
|
175
178
|
offer:
|
176
179
|
mailing_list_ids: Subscriptions
|
177
180
|
template: Teaser Text
|
@@ -189,3 +192,5 @@ en:
|
|
189
192
|
conversion_alert_email: Send Alert Email To
|
190
193
|
success_page_text: Success Page Text
|
191
194
|
custom_form_html: Custom Form Html
|
195
|
+
page_view:
|
196
|
+
month: Month Occurred
|
data/lib/e9_crm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: e9_crm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.34
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-10-
|
12
|
+
date: 2011-10-14 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: money
|
16
|
-
requirement: &
|
16
|
+
requirement: &17862500 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *17862500
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: kramdown
|
27
|
-
requirement: &
|
27
|
+
requirement: &17861820 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0.13'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *17861820
|
36
36
|
description: ! "*NOTE his plugin requires the private e9_base CMS gem and WILL NOT
|
37
37
|
WORK without it.*\n\nCRM Plugin for the e9 CMS\n=========================\n\nTo
|
38
38
|
use, add as a gem and install by running:\n\n rails g e9_crm:install\n\nThen
|