修正了member路径问题;将“应用”变为“搜索”;
This commit is contained in:
parent
bb5052cf30
commit
db85ff2946
|
@ -64,8 +64,8 @@
|
||||||
<td class="font_index"><%= @project.attachments.count %></td>
|
<td class="font_index"><%= @project.attachments.count %></td>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" width="80px"><strong><%= link_to('成员 ', {:controller => 'projects', :action => 'member'}, :class => 'project_infor_tag') %></strong></td>
|
<td align="center" width="80px"><strong><%= link_to('成员 ', project_member_path(@project), :class => 'project_infor_tag') %></strong></td>
|
||||||
<td align="center" width="80px"><strong><%= link_to('缺陷 ',project_issues_path(@project), :class => 'project_infor_tag') %></strong></td>
|
<td align="center" width="80px"><strong><%= link_to('缺陷 ', project_issues_path(@project), :class => 'project_infor_tag') %></strong></td>
|
||||||
<td align="center" width="80px"><strong><%= link_to('文件 ', project_files_path(@project), :class => 'project_infor_tag') %></strong></td>
|
<td align="center" width="80px"><strong><%= link_to('文件 ', project_files_path(@project), :class => 'project_infor_tag') %></strong></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -20,8 +20,7 @@
|
||||||
|
|
||||||
<label for='name'><%= l(:label_user) %>:</label>
|
<label for='name'><%= l(:label_user) %>:</label>
|
||||||
<%= text_field_tag 'name', params[:name], :size => 30 %>
|
<%= text_field_tag 'name', params[:name], :size => 30 %>
|
||||||
<%= submit_tag l(:button_apply), :class => "small", :name => nil %>
|
<%= submit_tag l(:label_search), :class => "small", :name => nil %><!--Modified by young-->
|
||||||
<%= link_to l(:button_clear), users_path, :class => 'icon icon-reload' %>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
@ -87,8 +86,7 @@
|
||||||
|
|
||||||
<label for='name'><%= l(:label_user) %>:</label>
|
<label for='name'><%= l(:label_user) %>:</label>
|
||||||
<%= text_field_tag 'name', params[:name], :size => 30 %>
|
<%= text_field_tag 'name', params[:name], :size => 30 %>
|
||||||
<%= submit_tag l(:button_apply), :class => "small", :name => nil %>
|
<%= submit_tag l(:label_search), :class => "small", :name => nil %><!--Modified by young-->
|
||||||
<%= link_to l(:button_clear), users_path, :class => 'icon icon-reload' %>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,23 @@
|
||||||
<%= render :partial => 'versions/overview', :locals => {:version => @version} %>
|
<%= render :partial => 'versions/overview', :locals => {:version => @version} %>
|
||||||
<%= render(:partial => "wiki/content", :locals => {:content => @version.wiki_page.content}) if @version.wiki_page %>
|
<%= render(:partial => "wiki/content", :locals => {:content => @version.wiki_page.content}) if @version.wiki_page %>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<% if @issues.present? %>
|
||||||
|
<%= form_tag({}) do -%>
|
||||||
|
<table class="list related-issues">
|
||||||
|
<caption>»<%= l(:label_related_issues) %></caption>
|
||||||
|
<%- @issues.each do |issue| -%>
|
||||||
|
<tr class="hascontextmenu">
|
||||||
|
<td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td>
|
||||||
|
<td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
|
||||||
|
</tr>
|
||||||
|
<% end %>
|
||||||
|
</table>
|
||||||
|
<% end %>
|
||||||
|
<%= context_menu issues_context_menu_path %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<div class="splitcontent">
|
<div class="splitcontent">
|
||||||
<% if @version.estimated_hours > 0 || User.current.allowed_to?(:view_time_entries, @project) %>
|
<% if @version.estimated_hours > 0 || User.current.allowed_to?(:view_time_entries, @project) %>
|
||||||
<fieldset class="time-tracking"><legend><%= l(:label_time_tracking) %></legend>
|
<fieldset class="time-tracking"><legend><%= l(:label_time_tracking) %></legend>
|
||||||
|
@ -34,21 +51,6 @@
|
||||||
<%= render_issue_status_by(@version, params[:status_by]) if @version.fixed_issues.count > 0 %>
|
<%= render_issue_status_by(@version, params[:status_by]) if @version.fixed_issues.count > 0 %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if @issues.present? %>
|
|
||||||
<%= form_tag({}) do -%>
|
|
||||||
<table class="list related-issues">
|
|
||||||
<caption><%= l(:label_related_issues) %></caption>
|
|
||||||
<%- @issues.each do |issue| -%>
|
|
||||||
<tr class="hascontextmenu">
|
|
||||||
<td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td>
|
|
||||||
<td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
|
|
||||||
</tr>
|
|
||||||
<% end %>
|
|
||||||
</table>
|
|
||||||
<% end %>
|
|
||||||
<%= context_menu issues_context_menu_path %>
|
|
||||||
<% end %>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= call_hook :view_versions_show_bottom, :version => @version %>
|
<%= call_hook :view_versions_show_bottom, :version => @version %>
|
||||||
|
|
Loading…
Reference in New Issue