2012-02-22 05:44:01 +00:00
|
|
|
<%= content_tag :li, :class => active_for_controllers('purchases') do -%>
|
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-purchase') + t('admin.purchase'), admin_purchases_path %>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<%= content_tag :li, :class => active_for_controllers('bulletins', 'tags', 'bulletin_categorys') do -%>
|
2012-02-20 17:13:22 +00:00
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-announcement') + t('admin.announcement'), panel_announcement_back_end_bulletins_path %>
|
2012-02-22 05:44:01 +00:00
|
|
|
<%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('bulletins', 'tags', 'bulletin_categorys')) do -%>
|
|
|
|
<%= content_tag :li, link_to(t('admin.all_articles'), panel_announcement_back_end_bulletins_path), :class => active_for_action('bulletins', 'index') %>
|
|
|
|
<%= content_tag :li, link_to(t('admin.add_new'), new_panel_announcement_back_end_bulletin_path), :class => active_for_action('bulletins', 'new') %>
|
|
|
|
<%= content_tag :li, link_to(t('admin.categories'), panel_announcement_back_end_bulletin_categorys_path), :class => active_for_action('bulletin_categorys', 'index') %>
|
|
|
|
<%= content_tag :li, link_to(t('admin.tags'), panel_announcement_back_end_tags_path), :class => active_for_action('tags', 'index') %>
|
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<%= content_tag :li, :class => active_for_controllers('users') do -%>
|
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-member') + t('admin.member'), admin_users_path %>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<%= content_tag :li, :class => active_for_controllers(nil) do -%>
|
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-page') + t('admin.page'), admin_pages_path %>
|
|
|
|
<%#= content_tag :ul, :class => "nav nav-list" do -%>
|
|
|
|
<%#= content_tag :li, link_to(t('admin.all_pages'), panel_page_content_back_end_bulletins_path), :class => active_for_action('bulletins', 'index') %>
|
|
|
|
<%#= content_tag :li, link_to(t('admin.add_new'), new_panel_announcement_back_end_bulletin_path), :class => active_for_action('bulletins', 'new') %>
|
|
|
|
<%# end -%>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<%= content_tag :li, :class => active_for_controllers('designs') do -%>
|
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-window-block') + t('admin.design'), admin_designs_path %>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<%= content_tag :li, :class => active_for_controllers(nil) do -%>
|
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-link') + t('admin.link'), nil %>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<%= content_tag :li, :class => active_for_controllers(nil) do -%>
|
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-cog') + t('admin.site_settings'), nil %>
|
2012-02-23 08:05:33 +00:00
|
|
|
<% end -%>
|