diff --git a/app/controllers/emarketing_controller.rb b/app/controllers/emarketing_controller.rb index a57ef719..9fda7c96 100644 --- a/app/controllers/emarketing_controller.rb +++ b/app/controllers/emarketing_controller.rb @@ -17,17 +17,17 @@ def index @subpages = [ - [ "Visitor Statistics", :editor_visitors, "emarketing_statistics.gif", { :action => 'visitors' }, + [ "Visitor Statistics", :editor_visitors, "traffic_visitors.png", { :action => 'visitors' }, "View and Track Visitors to your site" ], - [ "Real Time Statistics", :editor_visitors, "emarketing_statistics.gif", { :action => 'stats' }, + [ "Real Time Statistics", :editor_visitors, "traffic_realtime.png", { :action => 'stats' }, "View Real Time Visits to your site" ] ] get_handler_info(:chart, :traffic).each do |handler| - @subpages << [handler[:name], :editor_visitors, 'emarketing_statistics.gif', handler[:url], handler[:description] || handler[:name]] + @subpages << [handler[:name], :editor_visitors, handler[:icon] || 'traffic_page.png', handler[:url], handler[:description] || handler[:name]] end - @subpages << ['Experiments', :editor_visitors, 'emarketing_statistics.gif', {:controller => '/experiment', :action => 'index'}, 'View Experiments Results'] + @subpages << ['Experiments', :editor_visitors, 'traffic_visitors.png', {:controller => '/experiment', :action => 'index'}, 'View Experiments Results'] end include ActiveTable::Controller diff --git a/app/controllers/mail_manager_controller.rb b/app/controllers/mail_manager_controller.rb index db5e976c..7dd9de34 100644 --- a/app/controllers/mail_manager_controller.rb +++ b/app/controllers/mail_manager_controller.rb @@ -16,9 +16,9 @@ def index cms_page_path [], "Mail" @subpages = [ - [ "Subscriptions", :editor_mailing,"emarketing_subscriptions.gif", { :controller => '/subscription' }, + [ "Subscriptions", :editor_mailing,"mail_subscriptions.png", { :controller => '/subscription' }, "Edit Newsletters and Mailing Lists Subscriptions" ], - [ "Email Templates", :editor_mailing,"emarketing_templates.gif", { :controller => '/mail_manager', :action => 'templates' }, + [ "Email Templates", :editor_mailing,"mail_templates.png", { :controller => '/mail_manager', :action => 'templates' }, "Edit Mail Templates" ] ] diff --git a/app/controllers/manage/system_controller.rb b/app/controllers/manage/system_controller.rb index 14f2d3dc..f3ee7b13 100644 --- a/app/controllers/manage/system_controller.rb +++ b/app/controllers/manage/system_controller.rb @@ -10,23 +10,23 @@ def index @subpages = [ - [ "Translation", :system_admin, "system_translation.gif", + [ "Translation", :system_admin, "system_translation.png", { :controller => '/manage/translate' }, "Translate the backend interface" ], - [ "Clients", :system_admin, "system_clients.gif", + [ "Clients", :system_admin, "system_clients.png", { :controller => '/manage/clients'}, "Configure the client accounts on the system" ], - [ "Client\nUsers", :client_admin, "system_client_users.gif", + [ "Client\nUsers", :client_admin, "system_client_users.png", { :controller => '/manage/users' }, "Manage client level users" ], - [ "Domains", :client_admin, "website_domains.png", + [ "Domains", :client_admin, "system_domains.png", { :controller => '/manage/domains' }, "View domains and edit options and components" ], - [ "Issue Tracker", :system_admin, "system_issues.gif", + [ "Issue Tracker", :system_admin, "system_issue_tracker.png", { :controller => '/manage/issues' }, "View issues that the system has reported" ] diff --git a/app/controllers/options_controller.rb b/app/controllers/options_controller.rb index cbcee18f..ee29d7ec 100644 --- a/app/controllers/options_controller.rb +++ b/app/controllers/options_controller.rb @@ -80,19 +80,19 @@ def configuration @subpages = [ - [ "Domain Options", :editor_editors, "website_configuration.png", + [ "Domain Options", :editor_editors, "config_domain.png", { :action => 'domain_options' }, "Manage domain level options" ], - [ "Languages", :editor_editors, "website_configuration.png", + [ "Languages", :editor_editors, "config_languages.png", { :action => 'languages' }, "Configure the available languages on the site" ], - [ "Files", :editor_editors, "website_configuration.png", + [ "Files", :editor_editors, "config_files.png", { :action => 'files' }, "Manage the file processor for Files uploaded to the system" ], - [ "Image Sizes", :editor_editors, "website_configuration.png", + [ "Image Sizes", :editor_editors, "config_image_sizes.png", { :action => 'image_sizes' }, "Configure image sizes available on the site" ] diff --git a/app/controllers/structure_controller.rb b/app/controllers/structure_controller.rb index 8365300b..2b390710 100644 --- a/app/controllers/structure_controller.rb +++ b/app/controllers/structure_controller.rb @@ -412,6 +412,7 @@ def create_revision SiteNode, [ hdr(:string, 'node_path', :label => 'Url'), hdr(:static, 'Title'), + hdr(:static, 'Menu Title'), hdr(:static, 'Meta Description'), hdr(:static, 'Meta Keywords') ] diff --git a/app/models/content_node.rb b/app/models/content_node.rb index ffdfaaad..6a31ce2b 100644 --- a/app/models/content_node.rb +++ b/app/models/content_node.rb @@ -243,7 +243,7 @@ def self.internal_search(language,query,options = { }) #:nodoc: def self.chart_traffic_handler_info { :name => 'Content Traffic', - :url => { :controller => '/emarketing', :action => 'charts', :path => ['traffic'] + self.name.underscore.split('/') }, + :url => { :controller => '/emarketing', :action => 'charts', :path => ['traffic'] + self.name.underscore.split('/') }, :icon => 'traffic_content.png', :type_options => :traffic_type_options } end diff --git a/app/models/domain_log_referrer.rb b/app/models/domain_log_referrer.rb index 6842070d..6479a09e 100644 --- a/app/models/domain_log_referrer.rb +++ b/app/models/domain_log_referrer.rb @@ -21,6 +21,7 @@ def admin_url def self.chart_traffic_handler_info { :name => 'Referrer Traffic', + :icon => 'traffic_referrer.png', :url => { :controller => '/emarketing', :action => 'charts', :path => ['traffic'] + self.name.underscore.split('/') } } end diff --git a/app/models/site_node.rb b/app/models/site_node.rb index b310820d..a8bdb95b 100644 --- a/app/models/site_node.rb +++ b/app/models/site_node.rb @@ -535,6 +535,7 @@ def self.chart_traffic_handler_info { :name => 'Page Traffic', :title => :node_path, + :icon => 'traffic_page.png', :url => { :controller => '/emarketing', :action => 'charts', :path => ['traffic'] + self.name.underscore.split('/') } } end diff --git a/app/views/manage/access/login.rhtml b/app/views/manage/access/login.rhtml index 1b64800a..5685fb44 100644 --- a/app/views/manage/access/login.rhtml +++ b/app/views/manage/access/login.rhtml @@ -1,3 +1,4 @@ +
<% if !DomainModel.active_domain[:active] -%>
<%= DomainModel.active_domain[:inactive_message] -%>
@@ -8,6 +9,7 @@ <%= f.text_field :username %> <%= f.password_field :password %> + <%= f.spacer %> <%= f.submit_tag "Login" %> <% end -%>
diff --git a/app/views/structure/_edit_page_revision.html.erb b/app/views/structure/_edit_page_revision.html.erb index f0fa4138..b6ac7790 100644 --- a/app/views/structure/_edit_page_revision.html.erb +++ b/app/views/structure/_edit_page_revision.html.erb @@ -4,6 +4,7 @@ <% remote_cms_form_for :revision, @revision, :update => 'WD_redbox' do |f| -%> <%= f.text_field :title %> +<%= f.text_field :menu_title %> <%= f.text_area :meta_description, :rows => 3 %> <%= f.text_area :meta_keywords, :rows => 3 %> <%= f.spacer %> diff --git a/app/views/structure/_experiment_info.html.erb b/app/views/structure/_experiment_info.html.erb index 4dd93c00..a1a53aa9 100644 --- a/app/views/structure/_experiment_info.html.erb +++ b/app/views/structure/_experiment_info.html.erb @@ -1,5 +1,11 @@
-

<%= 'Experiments'.t %>

+<% if experiment.started? && ! experiment.finished? -%> +

<%= 'Active Experiment'.t %>

+ <% elsif experiment.finished? %> +

<%= 'Last Experiment'.t %>

+ <% else %> +

<%= "Current Experiment (Not Started)".t %>

+<% end -%>
@@ -17,15 +23,15 @@ <% if ! experiment.started? && ! experiment.finished? -%>
  • Experiment has not started. Start it now.
  • <% elsif experiment.is_running? -%> -
  • <%= "Started on:".t %> <%= experiment.started_at.to_s(:datetime) %>
  • +
  • <%= "Started on:".t %> <%= experiment.started_at.to_s(:long) %>
  • <%= "Ends on:".t %> <%= experiment.ended_at ? experiment.ended_at.to_s(:datetime) : '(not set)'.t %> stop
  • <% elsif experiment.finished? -%> -
  • <%= "Started on:".t %> <%= experiment.started_at.to_s(:datetime) %>
  • +
  • <%= "Started on:".t %> <%= experiment.started_at.to_s(:long) %>
  • - <%= "Ended on:".t %> <%= experiment.ended_at.to_s(:datetime) %> + <%= "Ended on:".t %> <%= experiment.ended_at.to_s(:long) %> restart
  • <% end -%> diff --git a/app/views/structure/_site_nodes_table.html.erb b/app/views/structure/_site_nodes_table.html.erb index dd277699..1912d713 100644 --- a/app/views/structure/_site_nodes_table.html.erb +++ b/app/views/structure/_site_nodes_table.html.erb @@ -15,6 +15,7 @@ <% end -%> <%= h truncate(revision.title, :length => 80) %> + <%= h truncate(revision.menu_title, :length => 30) %> <%= h truncate(revision.meta_description, :length => 80) %> <%= h truncate(revision.meta_keywords, :length => 80) %> diff --git a/public/themes/standard/images/actions/config_domain.png b/public/themes/standard/images/actions/config_domain.png new file mode 100644 index 00000000..d2ec1e0d Binary files /dev/null and b/public/themes/standard/images/actions/config_domain.png differ diff --git a/public/themes/standard/images/actions/config_files.png b/public/themes/standard/images/actions/config_files.png new file mode 100644 index 00000000..35d2a342 Binary files /dev/null and b/public/themes/standard/images/actions/config_files.png differ diff --git a/public/themes/standard/images/actions/config_image_sizes.png b/public/themes/standard/images/actions/config_image_sizes.png new file mode 100644 index 00000000..4367dee2 Binary files /dev/null and b/public/themes/standard/images/actions/config_image_sizes.png differ diff --git a/public/themes/standard/images/actions/config_languages.png b/public/themes/standard/images/actions/config_languages.png new file mode 100644 index 00000000..c4cb6006 Binary files /dev/null and b/public/themes/standard/images/actions/config_languages.png differ diff --git a/public/themes/standard/images/actions/mail_campaigns.png b/public/themes/standard/images/actions/mail_campaigns.png new file mode 100644 index 00000000..56d7bb5a Binary files /dev/null and b/public/themes/standard/images/actions/mail_campaigns.png differ diff --git a/public/themes/standard/images/actions/mail_message_templates.png b/public/themes/standard/images/actions/mail_message_templates.png new file mode 100644 index 00000000..4f096b8d Binary files /dev/null and b/public/themes/standard/images/actions/mail_message_templates.png differ diff --git a/public/themes/standard/images/actions/mail_subscriptions.png b/public/themes/standard/images/actions/mail_subscriptions.png new file mode 100644 index 00000000..4def68af Binary files /dev/null and b/public/themes/standard/images/actions/mail_subscriptions.png differ diff --git a/public/themes/standard/images/actions/mail_tell_a_friend.png b/public/themes/standard/images/actions/mail_tell_a_friend.png new file mode 100644 index 00000000..39edde64 Binary files /dev/null and b/public/themes/standard/images/actions/mail_tell_a_friend.png differ diff --git a/public/themes/standard/images/actions/mail_templates.png b/public/themes/standard/images/actions/mail_templates.png new file mode 100644 index 00000000..8c691aa8 Binary files /dev/null and b/public/themes/standard/images/actions/mail_templates.png differ diff --git a/public/themes/standard/images/actions/system_client_users.png b/public/themes/standard/images/actions/system_client_users.png new file mode 100644 index 00000000..9d27909a Binary files /dev/null and b/public/themes/standard/images/actions/system_client_users.png differ diff --git a/public/themes/standard/images/actions/system_clients.png b/public/themes/standard/images/actions/system_clients.png new file mode 100644 index 00000000..469b37f7 Binary files /dev/null and b/public/themes/standard/images/actions/system_clients.png differ diff --git a/public/themes/standard/images/actions/system_domains.png b/public/themes/standard/images/actions/system_domains.png new file mode 100644 index 00000000..dbde3199 Binary files /dev/null and b/public/themes/standard/images/actions/system_domains.png differ diff --git a/public/themes/standard/images/actions/system_issue_tracker.png b/public/themes/standard/images/actions/system_issue_tracker.png new file mode 100644 index 00000000..108202c8 Binary files /dev/null and b/public/themes/standard/images/actions/system_issue_tracker.png differ diff --git a/public/themes/standard/images/actions/system_translation.png b/public/themes/standard/images/actions/system_translation.png new file mode 100644 index 00000000..8aee7095 Binary files /dev/null and b/public/themes/standard/images/actions/system_translation.png differ diff --git a/public/themes/standard/images/actions/traffic_content.png b/public/themes/standard/images/actions/traffic_content.png new file mode 100644 index 00000000..616dd274 Binary files /dev/null and b/public/themes/standard/images/actions/traffic_content.png differ diff --git a/public/themes/standard/images/actions/traffic_page.png b/public/themes/standard/images/actions/traffic_page.png new file mode 100644 index 00000000..d91d314c Binary files /dev/null and b/public/themes/standard/images/actions/traffic_page.png differ diff --git a/public/themes/standard/images/actions/traffic_realtime.png b/public/themes/standard/images/actions/traffic_realtime.png new file mode 100644 index 00000000..2dac1854 Binary files /dev/null and b/public/themes/standard/images/actions/traffic_realtime.png differ diff --git a/public/themes/standard/images/actions/traffic_referrer.png b/public/themes/standard/images/actions/traffic_referrer.png new file mode 100644 index 00000000..2632faa8 Binary files /dev/null and b/public/themes/standard/images/actions/traffic_referrer.png differ diff --git a/public/themes/standard/images/actions/traffic_visitors.png b/public/themes/standard/images/actions/traffic_visitors.png new file mode 100644 index 00000000..909c129d Binary files /dev/null and b/public/themes/standard/images/actions/traffic_visitors.png differ