Merge branch 'dev_huang' of https://bdgit.trustie.net/hushasha/bigdata into dev_huang
# Conflicts: # app/views/shixuns/_achieve_ways.html.erb
This commit is contained in:
commit
87401900d3
|
|
@ -7,12 +7,17 @@
|
|||
<div class="task_popup_con">
|
||||
<div class="newupload_conbox clearfix">
|
||||
<ul style = "height:200px;overflow-y:hidden;background:#f5f5f5; padding:10px;">
|
||||
|
||||
<%= to_path_param(@path) %>
|
||||
<% if @dir.present? %>
|
||||
<% @dir.each do |entry| %>
|
||||
<li class = "entry">
|
||||
<div class="filename_no_report hidden">
|
||||
<%= link_to h(entry[1]), search_file_list_shixun_path(@shixun, :path => to_path_param(entry[1])), :class => (entry[0] == "tree" ? 'old-icon old-icon-folder' : 'old-icon old-icon-file'), :remote => true %>
|
||||
<% if entry[0] == "tree" %>
|
||||
<%= link_to h(entry[1]), search_file_list_shixun_path(@shixun, :path => to_path_param(entry[1])), :class => 'old-icon old-icon-folder', :remote => true %>
|
||||
<% else %>
|
||||
<a href="javascript:void(0);" class="old-icon old-icon-file"><%= h(entry[1]) %></a>
|
||||
<% end %>
|
||||
</div>
|
||||
</li>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Reference in New Issue