隐藏非项目的时候图像中禁掉我的课程

This commit is contained in:
huang 2016-11-02 15:10:21 +08:00
parent 9da165b2b7
commit 9d15052486
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<div class="myissues_con mb10"> <div class="myissues_con mb10">
<h3><%=h @issue.tracker %> #<%= @issue.id %></h3> <h3><%=h @issue.tracker %> #<%= @issue.id %></h3>
<p class="mb5">由<%= link_to @journal.user, user_path(@journal.user), :class => "c_blue" %> 更新于 <%= format_time @journal.created_on %></p> <p class="mb5">由<%= link_to @journal.user, user_path(@journal.user), :class => "c_blue" %> 更新于 <%= format_time @journal.created_on %></p>
<div class="text-diff" style="word-break:break-all; word-wrap:break-word;"> <div class="text-diff" style="word-break:break-all; word-wrap:break-word;">
<div class="mb10 fl">之前版本:</div><div class="fl"><%= @detail.old_value.html_safe %></div> <div class="mb10 fl">之前版本:</div><div class="fl"><%= @detail.old_value.html_safe %></div>
<div class="cl"></div> <div class="cl"></div>

View File

@ -66,9 +66,11 @@
<li> <li>
<%= link_to "修改资料", my_account_path, :class => "menuGrey"%> <%= link_to "修改资料", my_account_path, :class => "menuGrey"%>
</li> </li>
<li> <% if hidden_unproject_infos %>
<%= link_to '我的课程',{:controller => "users", :action => "user_courselist", :id => User.current.id}, :class => "menuGrey" %> <li>
</li> <%= link_to '我的课程',{:controller => "users", :action => "user_courselist", :id => User.current.id}, :class => "menuGrey" %>
</li>
<% end %>
<li> <li>
<%= link_to "我的组织", user_organizations_user_path(:id => User.current.id), :class => "menuGrey"%> <%= link_to "我的组织", user_organizations_user_path(:id => User.current.id), :class => "menuGrey"%>
</li> </li>