app/views/layouts/educode_sales/application.html.erb in educode_sales-0.5.8 vs app/views/layouts/educode_sales/application.html.erb in educode_sales-0.5.9
- old
+ new
@@ -11,15 +11,18 @@
<%= javascript_include_tag "educode_sales/application" %>
</head>
<body class="" id="body">
<div class="layui-layout layui-layout-admin " >
<div class="layui-header">
- <div class="layui-hide-xs layui-bg-black layuimini-logo layui-logo">
+ <a href="/missions">
+ <div class="layui-hide-xs layui-bg-black layuimini-logo layui-logo">
<%= image_tag "educode_sales/logo.png", class: 'header-logo' %>
<span class="app-title">营销系统</span>
</div>
+ </a>
+
<ul class="layui-nav i_class" style="left: 200px">
<li class="layui-nav-item layui-show-xs-inline-block " lay-header-event="menuLeft">
<a href="javascript:;"> <i id="leftEnumIcon" class="layui-icon layui-icon-shrink-right"></i></a>
</li>
</ul>
@@ -59,9 +62,13 @@
<dd><a href="/missions/sales" class="<%= current?('layui-this', sales_path) %>"><i style="padding-right: 35px"></i><%= image_tag "educode_sales/3.销售分工.png",size:"15"%><i style="font-size: 25px; padding-right: 15px"></i>销售分工</a>
</dd>
<% 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? :read, EducodeSales::Customer %>
+ <dd><a href="/missions/customers" class="<%= current?('layui-this', customers_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>
<% end %>
<% if can? :read, EducodeSales::Place %>
<dd><a href="/missions/places" class="<%= current?('layui-this', places_path) %>"><i style="padding-right: 35px"></i><%= image_tag "educode_sales/5.渠道管理.png",size:"15"%><i style="font-size: 25px; padding-right: 15px"></i>渠道管理</a></dd>
<% end %>
\ No newline at end of file