From 96ce1d8d400adcd69a307f0487e99c2f1a23c3e6 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 6 May 2016 22:35:17 +0800 Subject: [PATCH] =?UTF-8?q?|=20=E5=8F=8A=E6=9B=B4=E5=A4=9A=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/organizations/_org_subfield_rightT.html.erb | 2 +- app/views/organizations/_subfield_list.html.erb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/organizations/_org_subfield_rightT.html.erb b/app/views/organizations/_org_subfield_rightT.html.erb index 1a57b7dd2..0dc1ac583 100644 --- a/app/views/organizations/_org_subfield_rightT.html.erb +++ b/app/views/organizations/_org_subfield_rightT.html.erb @@ -94,7 +94,7 @@ <% else %>
-

<%= field.name %>更多

+

<%= field.name %>

<% @project_acts.first(4).each do |act| %> <% if act.org_act_type == "Issue" %> <% activity = Issue.find(act.org_act_id) %> diff --git a/app/views/organizations/_subfield_list.html.erb b/app/views/organizations/_subfield_list.html.erb index 91444d7db..4619ed337 100644 --- a/app/views/organizations/_subfield_list.html.erb +++ b/app/views/organizations/_subfield_list.html.erb @@ -95,10 +95,10 @@ <%= link_to "删除", org_subfield_path(field), :method => 'delete', :remote => true, :confirm => "您确定删除吗?", :class => "linkGrey fr ml5 mr5" %> | 编辑 - | - - <% unless field.field_type == "Resource" %> + | + + <%= link_to("添加二级目录", new_org_subfield_sub_domain_path(:org_subfield_id => field.id, :field => field), :class => "linkGrey fr mr5", :remote => true) %> <% end%>