app/views/layouts/educode_sales/application.html.erb in educode_sales-0.9.56 vs app/views/layouts/educode_sales/application.html.erb in educode_sales-0.9.57

- old
+ new

@@ -123,10 +123,12 @@ <dd> <a href="/missions/assessments" class="<%= current?('layui-this', assessments_path) %>"><i style="padding-right: 35px"></i><%= image_tag "educode_sales/assessment.png", size: "15" %> <i style="font-size: 25px; padding-right: 15px"></i>绩效考核</a></dd> </dl> </li> + <% end %> + <% if can?(:read, EducodeSales::Idea) %> <li class="layui-nav-item layui-nav-itemed menu-li"> <a class="" href="javascript:;"><b><%= image_tag "educode_sales/11.活动运营.png", size: "15" %> <i style="font-size: 25px; padding-right: 25px"></i>方案支撑</b></a> <dl class="layui-nav-child"> <dd> @@ -136,9 +138,10 @@ <a href="/missions/idea_recycles" class="<%= current?('layui-this', idea_recycles_path) %>"><i style="padding-right: 35px"></i><%= image_tag "educode_sales/回收站.png", size: "15" %> <i style="font-size: 25px; padding-right: 15px"></i>方案回收站</a></dd> </dl> </li> <% end %> + <% if @current_admin.is_admin || @current_admin.code == 'userbe' %> <li class="layui-nav-item layui-nav-itemed menu-li"> <a class="" href="javascript:;"><b><%= image_tag "educode_sales/13.系统设置.png", size: "15" %> <i style="font-size: 25px; padding-right: 25px"></i>系统设置</b></a> <dl class="layui-nav-child"> \ No newline at end of file