2012-05-08 12:06:56 +00:00
|
|
|
<%= content_tag :li, :class => active_for_controllers('sites') do -%>
|
2012-11-28 16:26:36 +00:00
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-cog') + content_tag(:span, t('site.settings')), admin_site_site_info_path(@site) %>
|
2012-05-08 12:06:56 +00:00
|
|
|
|
|
|
|
<%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('sites')) do -%>
|
2012-09-12 11:12:50 +00:00
|
|
|
<%= content_tag :li, link_to(t('site.info'), admin_site_site_info_path(@site)), :class => active_for_action('sites', 'site_info') %>
|
|
|
|
<%#= content_tag :li, link_to(t(:system_info), admin_site_system_info_path(@site)), :class => active_for_action('sites', 'system_info') %>
|
|
|
|
<%#= content_tag :li, link_to(t('site.language'), admin_site_language_path(@site)), :class => active_for_action('sites', 'language') %>
|
|
|
|
<%= content_tag :li, link_to(t('mail.setting'), admin_site_mail_setting_path(@site)), :class => active_for_action('sites', 'mail_setting') %>
|
|
|
|
<%#= content_tag :li, link_to(t(:theme), admin_site_ui_theme_path(@site)), :class => active_for_action('sites', 'ui_theme') %>
|
|
|
|
<%= content_tag :li, link_to(t('sitemap'), admin_site_sitemap_path(@site)), :class => active_for_action('sites', 'sitemap') %>
|
2012-05-08 12:06:56 +00:00
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<% end -%>
|
2012-05-21 10:20:39 +00:00
|
|
|
|
|
|
|
<%= content_tag :li, :class => active_for_controllers('designs') do -%>
|
2012-11-28 16:26:36 +00:00
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-brush') + content_tag(:span, t(:template)), admin_designs_path %>
|
2012-05-21 10:20:39 +00:00
|
|
|
<% end -%>
|
2012-11-28 09:27:23 +00:00
|
|
|
|
|
|
|
<%= content_tag :li, :class => active_for_controllers('template_store', 'module_store') do -%>
|
2012-11-28 18:02:37 +00:00
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-cart') + content_tag(:span, t(:purchase)), admin_purchases_path %>
|
2012-11-28 09:27:23 +00:00
|
|
|
<%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('template_store', 'module_store')) do -%>
|
|
|
|
<%= content_tag :li, link_to(t('store.template'), admin_template_store_path), :class => active_for_action('template_store', 'index') %>
|
2012-11-28 18:02:37 +00:00
|
|
|
<%= content_tag :li, link_to(t('store.module'), admin_module_store_path), :class => active_for_action('module_store', 'index') %>
|
2012-11-28 09:27:23 +00:00
|
|
|
<% end %>
|
|
|
|
<% end -%>
|