Skip to content

Commit

Permalink
New Icons update
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Sep 13, 2010
1 parent 63d681d commit c34a32e
Show file tree
Hide file tree
Showing 31 changed files with 33 additions and 20 deletions.
8 changes: 4 additions & 4 deletions app/controllers/emarketing_controller.rb
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions app/controllers/mail_manager_controller.rb
Expand Up @@ -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" ]

]
Expand Down
10 changes: 5 additions & 5 deletions app/controllers/manage/system_controller.rb
Expand Up @@ -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"
]
Expand Down
8 changes: 4 additions & 4 deletions app/controllers/options_controller.rb
Expand Up @@ -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"
]
Expand Down
1 change: 1 addition & 0 deletions app/controllers/structure_controller.rb
Expand Up @@ -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')
]
Expand Down
2 changes: 1 addition & 1 deletion app/models/content_node.rb
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions app/models/domain_log_referrer.rb
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions app/models/site_node.rb
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions app/views/manage/access/login.rhtml
@@ -1,3 +1,4 @@
<hr/>
<div align='center' style='padding:30px'>
<% if !DomainModel.active_domain[:active] -%>
<div class='error'><%= DomainModel.active_domain[:inactive_message] -%></div>
Expand All @@ -8,6 +9,7 @@
<%= f.text_field :username %>
<%= f.password_field :password %>
<%= f.spacer %>
<%= f.submit_tag "Login" %>
<% end -%>
</div>
Expand Down
1 change: 1 addition & 0 deletions app/views/structure/_edit_page_revision.html.erb
Expand Up @@ -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 %>
Expand Down
14 changes: 10 additions & 4 deletions app/views/structure/_experiment_info.html.erb
@@ -1,5 +1,11 @@
<hr/>
<h2><%= 'Experiments'.t %></h2>
<% if experiment.started? && ! experiment.finished? -%>
<h2><%= 'Active Experiment'.t %></h2>
<% elsif experiment.finished? %>
<h2><%= 'Last Experiment'.t %></h2>
<% else %>
<h2><%= "Current Experiment (Not Started)".t %></h2>
<% end -%>

<div class="clearfix">

Expand All @@ -17,15 +23,15 @@
<% if ! experiment.started? && ! experiment.finished? -%>
<li>Experiment has not started. <a href="javascript:void(0);" onclick="StructureEditor.updateExperiment(<%= experiment.id %>, '<%= jh experiment.language %>', 'start')">Start it now.</a></li>
<% elsif experiment.is_running? -%>
<li><strong><%= "Started on:".t %></strong> <%= experiment.started_at.to_s(:datetime) %></li>
<li><strong><%= "Started on:".t %></strong> <%= experiment.started_at.to_s(:long) %></li>
<li>
<strong><%= "Ends on:".t %></strong> <%= experiment.ended_at ? experiment.ended_at.to_s(:datetime) : '(not set)'.t %>
<a href="javascript:void(0);" onclick="StructureEditor.updateExperiment(<%= experiment.id %>, '<%= jh experiment.language %>', 'stop')">stop</a>
</li>
<% elsif experiment.finished? -%>
<li><strong><%= "Started on:".t %></strong> <%= experiment.started_at.to_s(:datetime) %></li>
<li><strong><%= "Started on:".t %></strong> <%= experiment.started_at.to_s(:long) %></li>
<li>
<strong><%= "Ended on:".t %></strong> <%= experiment.ended_at.to_s(:datetime) %>
<strong><%= "Ended on:".t %></strong> <%= experiment.ended_at.to_s(:long) %>
<a href="javascript:void(0);" onclick="StructureEditor.updateExperiment(<%= experiment.id %>, '<%= jh experiment.language %>', 'restart')">restart</a>
</li>
<% end -%>
Expand Down
1 change: 1 addition & 0 deletions app/views/structure/_site_nodes_table.html.erb
Expand Up @@ -15,6 +15,7 @@
<% end -%>
</td>
<td><%= h truncate(revision.title, :length => 80) %></td>
<td><%= h truncate(revision.menu_title, :length => 30) %></td>
<td><%= h truncate(revision.meta_description, :length => 80) %></td>
<td><%= h truncate(revision.meta_keywords, :length => 80) %></td>
</tr>
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c34a32e

Please sign in to comment.