app/views/layouts/educode_sales/application.html.erb in educode_sales-0.9.73 vs app/views/layouts/educode_sales/application.html.erb in educode_sales-0.9.74
- old
+ new
@@ -61,12 +61,12 @@
<% end %>
<% if can? :read, EducodeSales::Business %>
<dd><a href="/missions/businesses" class="<%= current?('layui-this', businesses_path) %>"><i style="padding-right: 35px"></i><%= image_tag "educode_sales/4.商机管理.png",size:"15"%><i style="font-size: 25px; padding-right: 15px"></i>商机管理</a>
</dd>
<% end %>
- <% if can? :contract_business, EducodeSales::Business %>
- <dd><a href="/missions/businesses/contract" class="<%= current?('layui-this', contract_businesses_path) %>"><i style="padding-right: 35px"></i><%= image_tag "educode_sales/4.商机管理.png",size:"15"%><i style="font-size: 25px; padding-right: 15px"></i>合同管理</a>
+ <% if can? :read_contract, EducodeSales::Business %>
+ <dd><a href="/missions/contracts" class="<%= current?('layui-this', contracts_path) %>"><i style="padding-right: 35px"></i><%= image_tag "educode_sales/4.商机管理.png",size:"15"%><i style="font-size: 25px; padding-right: 15px"></i>合同管理</a>
</dd>
<% end %>
<% if can? :read, EducodeSales::MoneyPlan %>
<dd><a href="/missions/money_plans" class="<%= current?('layui-this', money_plans_path) %>"><i style="padding-right: 35px"></i><%= image_tag "educode_sales/money_plans.png",size:"15"%><i style="font-size: 25px; padding-right: 15px"></i>回款计划</a>
</dd>
@@ -146,12 +146,12 @@
<i style="font-size: 25px; padding-right: 25px"></i>方案支撑</b></a>
<dl class="layui-nav-child">
<dd>
<a href="/missions/ideas" class="<%= current?('layui-this', ideas_path) %>"><i style="padding-right: 35px"></i><%= image_tag "educode_sales/6.销售计划.png", size: "15" %>
<i style="font-size: 25px; padding-right: 15px"></i>方案管理</a></dd>
- <dd>
- <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>
+ <!-- <dd>-->
+ <!-- <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 can?(:read, EducodeSales::Project) %>
\ No newline at end of file