顶和踩图标更换
This commit is contained in:
parent
e7716912b5
commit
c610f7c1ce
|
@ -365,9 +365,9 @@ class ProjectsController < ApplicationController
|
||||||
format.html { redirect_to admin_projects_path }
|
format.html { redirect_to admin_projects_path }
|
||||||
format.api { render_api_ok }
|
format.api { render_api_ok }
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
render :layout => "base"
|
render :layout => "base"
|
||||||
end
|
end
|
||||||
|
|
||||||
# hide project in layout
|
# hide project in layout
|
||||||
@project = nil
|
@project = nil
|
||||||
|
|
|
@ -7,12 +7,15 @@
|
||||||
<p><strong><%=l(:label_related_issues)%></strong></p>
|
<p><strong><%=l(:label_related_issues)%></strong></p>
|
||||||
|
|
||||||
<% if @relations.present? %>
|
<% if @relations.present? %>
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
<table class="list issues">
|
<table class="list issues">
|
||||||
<% @relations.each do |relation| %>
|
<% @relations.each do |relation| %>
|
||||||
<% other_issue = relation.other_issue(@issue) -%>
|
<% other_issue = relation.other_issue(@issue) -%>
|
||||||
<tr class="issue hascontextmenu" id="relation-<%= relation.id %>">
|
<tr class="issue hascontextmenu" id="relation-<%= relation.id %>">
|
||||||
|
|
||||||
<td class="checkbox"><%= check_box_tag("ids[]", other_issue.id, false, :id => nil) %></td>
|
<td class="checkbox"><%= check_box_tag("ids[]", other_issue.id, false, :id => nil) %></td>
|
||||||
|
|
||||||
<td class="subject">
|
<td class="subject">
|
||||||
<%= l(relation.label_for(@issue)) %>
|
<%= l(relation.label_for(@issue)) %>
|
||||||
<%= "(#{l('datetime.distance_in_words.x_days', :count => relation.delay)})" if relation.delay && relation.delay != 0 %>
|
<%= "(#{l('datetime.distance_in_words.x_days', :count => relation.delay)})" if relation.delay && relation.delay != 0 %>
|
||||||
|
@ -21,7 +24,11 @@
|
||||||
</td>
|
</td>
|
||||||
<td class="status"><%=h other_issue.status.name %></td>
|
<td class="status"><%=h other_issue.status.name %></td>
|
||||||
<td class="start_date"><%= format_date(other_issue.start_date) %></td>
|
<td class="start_date"><%= format_date(other_issue.start_date) %></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="due_date"><%= format_date(other_issue.due_date) %></td>
|
<td class="due_date"><%= format_date(other_issue.due_date) %></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="buttons"><%= link_to image_tag('link_break.png'),
|
<td class="buttons"><%= link_to image_tag('link_break.png'),
|
||||||
relation_path(relation),
|
relation_path(relation),
|
||||||
:remote => true,
|
:remote => true,
|
||||||
|
|
|
@ -66,6 +66,7 @@ RedmineApp::Application.routes.draw do
|
||||||
match '/journals/diff/:id', :to => 'journals#diff', :id => /\d+/, :via => :get
|
match '/journals/diff/:id', :to => 'journals#diff', :id => /\d+/, :via => :get
|
||||||
match '/journals/edit/:id', :to => 'journals#edit', :id => /\d+/, :via => [:get, :post]
|
match '/journals/edit/:id', :to => 'journals#edit', :id => /\d+/, :via => [:get, :post]
|
||||||
|
|
||||||
|
|
||||||
get '/projects/:project_id/issues/gantt', :to => 'gantts#show', :as => 'project_gantt'
|
get '/projects/:project_id/issues/gantt', :to => 'gantts#show', :as => 'project_gantt'
|
||||||
get '/issues/gantt', :to => 'gantts#show'
|
get '/issues/gantt', :to => 'gantts#show'
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Loading…
Reference in New Issue