2012-04-24 08:06:42 +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 -%>
|
2012-04-29 19:14:15 +00:00
|
|
|
<% content_for :page_specific_javascript do %>
|
|
|
|
<%= javascript_include_tag "/static/kernel.js" %>
|
|
|
|
<% end %>
|
2012-02-22 05:44:01 +00:00
|
|
|
|
2012-04-27 10:38:21 +00:00
|
|
|
<%= content_tag :li, :class => active_for_controllers('bulletins', '/panel/announcement/back_end/tags', 'bulletin_categorys','module_apps', 'approvals') 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-04-24 09:00:33 +00:00
|
|
|
<%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('bulletins', '/panel/announcement/back_end/tags', 'bulletin_categorys', 'approvals')) do -%>
|
2012-04-19 03:50:54 +00:00
|
|
|
<%= content_tag :li, link_to(t('announcement.all_articles'), panel_announcement_back_end_bulletins_path), :class => active_for_action('bulletins', 'index') %>
|
|
|
|
<%= content_tag :li, link_to(t('announcement.add_new'), new_panel_announcement_back_end_bulletin_path), :class => active_for_action('bulletins', 'new') %>
|
|
|
|
<%= content_tag :li, link_to(t('announcement.categories'), panel_announcement_back_end_bulletin_categorys_path), :class => active_for_action('bulletin_categorys', 'index') %>
|
2012-04-23 08:12:07 +00:00
|
|
|
<%= content_tag :li, link_to(t('announcement.tags'), panel_announcement_back_end_tags_path), :class => active_for_action('/panel/announcement/back_end/tags', 'index') %>
|
2012-04-24 09:00:33 +00:00
|
|
|
<%= content_tag :li, link_to(t('announcement.bulletin.approval_setting'), panel_announcement_back_end_approval_setting_path), :class => active_for_action('approvals', 'setting') if (is_manager? rescue nil) %>
|
2012-04-27 10:38:21 +00:00
|
|
|
<%= content_tag :li, link_to(t('admin.module.authorization'),edit_admin_module_app_path(ModuleApp.first(conditions: {title: "Announcement"}))), :class => active_for_action('module_apps', 'edit') if (is_admin? rescue nil) %>
|
|
|
|
|
2012-02-22 05:44:01 +00:00
|
|
|
<% end -%>
|
2012-03-22 06:33:59 +00:00
|
|
|
|
2012-02-22 05:44:01 +00:00
|
|
|
<% end -%>
|
|
|
|
|
2012-04-24 08:06:42 +00:00
|
|
|
<%#= 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 -%>
|
2012-02-22 05:44:01 +00:00
|
|
|
|
2012-03-14 12:05:03 +00:00
|
|
|
<%= content_tag :li, :class => active_for_controllers('page_contexts') do -%>
|
2012-02-24 11:11:51 +00:00
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-page') + t('admin.page'), panel_page_content_back_end_page_contexts_path %>
|
2012-04-29 16:17:18 +00:00
|
|
|
<%#= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('page_contexts')) do -%>
|
|
|
|
<%#= content_tag :li, link_to(t('admin.all_articles'), panel_page_content_back_end_page_contexts_path), :class => active_for_action('page_context', 'index') %>
|
|
|
|
<%# end -%>
|
2012-02-22 05:44:01 +00:00
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<%= content_tag :li, :class => active_for_controllers('designs') do -%>
|
2012-02-24 11:11:51 +00:00
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-window-block') + t('admin.design'), admin_designs_path %>
|
2012-02-22 05:44:01 +00:00
|
|
|
<% end -%>
|
|
|
|
|
2012-04-05 05:55:03 +00:00
|
|
|
<%= content_tag :li, :class => active_for_controllers('ad_banners', 'ad_images') do -%>
|
2012-04-01 15:39:49 +00:00
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-link') + t('admin.ad_banner'), admin_ad_banners_path %>
|
2012-04-29 16:17:18 +00:00
|
|
|
<%#= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('ad_banners', 'ad_images')) do -%>
|
|
|
|
<%#= content_tag :li, link_to(t('admin.ad.all_banners'), admin_ad_banners_path), :class => active_for_action('ad_banners', 'index') %>
|
2012-04-25 09:17:42 +00:00
|
|
|
<%#= content_tag :li, link_to(t('admin.ad.new_banner'), new_admin_ad_banner_path), :class => active_for_action('ad_banners', 'new') %>
|
|
|
|
<%#= content_tag :li, link_to(t('admin.ad.new_image'), new_ad_image_admin_ad_banners_path), :class => active_for_action('ad_images', 'new') %>
|
2012-04-29 16:17:18 +00:00
|
|
|
<%# end %>
|
2012-04-05 10:13:52 +00:00
|
|
|
<% end %>
|
2012-04-01 15:39:49 +00:00
|
|
|
|
2012-04-23 08:12:07 +00:00
|
|
|
<%= content_tag :li, :class => active_for_controllers('web_links', '/panel/web_resource/back_end/tags', 'web_link_categorys') do -%>
|
2012-02-29 08:01:50 +00:00
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icons-link') + t('admin.link'), panel_web_resource_back_end_web_links_path %>
|
2012-04-23 08:12:07 +00:00
|
|
|
<%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('web_links', '/panel/web_resource/back_end/tags', 'web_link_categorys')) do -%>
|
2012-04-27 06:15:36 +00:00
|
|
|
<%= content_tag :li, link_to(t('admin.all_articles'), panel_web_resource_back_end_web_links_path), :class => active_for_action('web_links', 'index') %>
|
|
|
|
<%= content_tag :li, link_to(t('announcement.add_new'), new_panel_web_resource_back_end_web_link_path), :class => active_for_action('web_links', 'new') %>
|
2012-04-24 08:06:42 +00:00
|
|
|
<%= content_tag :li, link_to(t('announcement.categories'), panel_web_resource_back_end_web_link_categorys_path), :class => active_for_action('web_link_categorys', 'index') %>
|
|
|
|
<%= content_tag :li, link_to(t('announcement.tags'), panel_web_resource_back_end_tags_path), :class => active_for_action('/panel/web_resource/back_end/tags', 'index') %>
|
2012-03-14 12:05:03 +00:00
|
|
|
<% end -%>
|
2012-02-22 05:44:01 +00:00
|
|
|
<% 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 -%>
|