修改项目上传资源

This commit is contained in:
huang 2015-05-13 10:06:04 +08:00
parent f3b46c5823
commit 6c500109c9
4 changed files with 4 additions and 3 deletions

View File

@ -34,7 +34,7 @@
<a class="subnav_num">(<%= attaments_num %>)</a> <a class="subnav_num">(<%= attaments_num %>)</a>
<% end %> <% end %>
<% if User.current.member_of?(@project) %> <% if User.current.member_of?(@project) %>
<%= link_to "+"+l(:label_upload_files), project_files_path(@project,:flag => true), :class => "subnav_green ml95" %> <%= link_to "+"+l(:label_upload_source), project_files_path(@project,:flag => true), :class => "subnav_green ml95" %>
<% end %> <% end %>
</div> </div>
<% end%> <% end%>

View File

@ -23,7 +23,7 @@
<a class="subnav_num">(<%= attaments_num %>)</a> <a class="subnav_num">(<%= attaments_num %>)</a>
<% end %> <% end %>
<% if User.current.member_of?(@project) %> <% if User.current.member_of?(@project) %>
<%= link_to "+"+l(:label_upload_files), project_files_path(@project,:flag => true), :class => "subnav_green ml95" %> <%= link_to "+"+l(:label_upload_source), project_files_path(@project,:flag => true), :class => "subnav_green ml95" %>
<% end %> <% end %>
</div> </div>
<% end %> <% end %>

View File

@ -34,7 +34,7 @@
<a class="subnav_num">(<%= attaments_num %>)</a> <a class="subnav_num">(<%= attaments_num %>)</a>
<% end %> <% end %>
<% if User.current.member_of?(@project) %> <% if User.current.member_of?(@project) %>
<%= link_to "+"+l(:label_upload_files), project_files_path(@project,:flag => true), :class => "subnav_green ml95" %> <%= link_to "+"+l(:label_upload_source), project_files_path(@project,:flag => true), :class => "subnav_green ml95" %>
<% end %> <% end %>
</div> </div>
<% end%> <% end%>

View File

@ -124,6 +124,7 @@ zh:
# #
lable_file_sharingarea: 资源共享区 lable_file_sharingarea: 资源共享区
label_upload_source: 上传资源
label_upload_files: 上传文件 label_upload_files: 上传文件
label_slected_to_other_project: 选入我的其他项目 label_slected_to_other_project: 选入我的其他项目
label_slected_to_project: 选入我的项目 label_slected_to_project: 选入我的项目