orbit-basic/app/views/admin/sites/_side_bar.html.erb

18 lines
1.4 KiB
Plaintext
Raw Normal View History

2012-05-08 12:06:56 +00:00
<%= content_tag :li, :class => active_for_controllers('sites') do -%>
2012-10-15 07:30:48 +00:00
<%= link_to content_tag(:i, nil, :class => 'icons-cog') + content_tag(:span, t('admin.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 -%>
<%= content_tag :li, link_to(t('admin.site_info'), admin_site_site_info_path(@site)), :class => active_for_action('sites', 'site_info') %>
<%#= content_tag :li, link_to(t('admin.system_info'), admin_site_system_info_path(@site)), :class => active_for_action('sites', 'system_info') %>
<%#= content_tag :li, link_to(t('admin.site_language'), admin_site_language_path(@site)), :class => active_for_action('sites', 'language') %>
2012-05-08 12:06:56 +00:00
<%= content_tag :li, link_to(t('admin.mail_setting'), admin_site_mail_setting_path(@site)), :class => active_for_action('sites', 'mail_setting') %>
<%#= content_tag :li, link_to(t('admin.ui_theme'), admin_site_ui_theme_path(@site)), :class => active_for_action('sites', 'ui_theme') %>
2012-07-27 08:53:12 +00:00
<%= content_tag :li, link_to(t('site_map'), 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-10-15 07:30:48 +00:00
<%= link_to content_tag(:i, nil, :class => 'icons-window-block') + content_tag(:span, t('admin.design')), admin_designs_path %>
2012-05-21 10:20:39 +00:00
<% end -%>