##// END OF EJS Templates
add mail footer test (#13482)...
add mail footer test (#13482) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11720 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r11380:83d776199826
r11490:9fea2ab6d224
Show More
_relations.html.erb
44 lines | 1.9 KiB | text/plain | TextLexer
/ app / views / issues / _relations.html.erb
Jean-Philippe Lang
Application layout refactored....
r736 <div class="contextual">
Jean-Philippe Lang
Code cleanup....
r5324 <% if User.current.allowed_to?(:manage_issue_relations, @project) %>
Jean-Baptiste Barth
Focus on the input when adding a related issue on issues/show page. #4656...
r3801 <%= toggle_link l(:button_add), 'new-relation-form', {:focus => 'relation_issue_to_id'} %>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
</div>
<p><strong><%=l(:label_related_issues)%></strong></p>
Jean-Philippe Lang
Issue relations first commit (not thoroughly tested). 4 kinds of relation are available:...
r503
Jean-Philippe Lang
Moves relations fetching from views to the controller and skip invalid relations (#7385)....
r4621 <% if @relations.present? %>
Jean-Philippe Lang
Adds context menu for related issues (#8006)....
r5201 <form>
<table class="list issues">
Jean-Philippe Lang
Moves relations fetching from views to the controller and skip invalid relations (#7385)....
r4621 <% @relations.each do |relation| %>
Jean-Philippe Lang
Store the other issue in a variable (#10916)....
r10891 <% other_issue = relation.other_issue(@issue) -%>
Jean-Philippe Lang
Code cleanup, use named routes....
r10839 <tr class="issue hascontextmenu" id="relation-<%= relation.id %>">
Jean-Philippe Lang
Store the other issue in a variable (#10916)....
r10891 <td class="checkbox"><%= check_box_tag("ids[]", other_issue.id, false, :id => nil) %></td>
Jean-Philippe Lang
Code cleanup, use named routes....
r10839 <td class="subject">
<%= l(relation.label_for(@issue)) %>
<%= "(#{l('datetime.distance_in_words.x_days', :count => relation.delay)})" if relation.delay && relation.delay != 0 %>
Jean-Philippe Lang
Store the other issue in a variable (#10916)....
r10891 <%= h(other_issue.project) + ' - ' if Setting.cross_project_issue_relations? %>
<%= link_to_issue(other_issue, :truncate => 60) %>
Jean-Philippe Lang
Code cleanup, use named routes....
r10839 </td>
Jean-Philippe Lang
Store the other issue in a variable (#10916)....
r10891 <td class="status"><%=h other_issue.status.name %></td>
<td class="start_date"><%= format_date(other_issue.start_date) %></td>
<td class="due_date"><%= format_date(other_issue.due_date) %></td>
Jean-Philippe Lang
Code cleanup, use named routes....
r10839 <td class="buttons"><%= link_to image_tag('link_break.png'),
relation_path(relation),
:remote => true,
:method => :delete,
:data => {:confirm => l(:text_are_you_sure)},
:title => l(:label_relation_delete) if User.current.allowed_to?(:manage_issue_relations, @project) %></td>
</tr>
Jean-Philippe Lang
Issue relations first commit (not thoroughly tested). 4 kinds of relation are available:...
r503 <% end %>
</table>
Jean-Philippe Lang
Adds context menu for related issues (#8006)....
r5201 </form>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
Jean-Philippe Lang
Issue relations first commit (not thoroughly tested). 4 kinds of relation are available:...
r503
Toshi MARUYAMA
view: remote_form_for: equals sign mandatory to print blocks and replace to form_for and use :remote => true and :as...
r9388 <%= form_for @relation, {
:as => :relation, :remote => true,
Jean-Philippe Lang
Code cleanup, use named routes....
r10839 :url => issue_relations_path(@issue),
Jean-Philippe Lang
Application layout refactored....
r736 :method => :post,
Jean-Philippe Lang
Always instanciate a relation....
r11380 :html => {:id => 'new-relation-form', :style => 'display: none;'}
Toshi MARUYAMA
view: remote_form_for: equals sign mandatory to print blocks and replace to form_for and use :remote => true and :as...
r9388 } do |f| %>
Jean-Philippe Lang
Application layout refactored....
r736 <%= render :partial => 'issue_relations/form', :locals => {:f => f}%>
Jean-Philippe Lang
Issue relations first commit (not thoroughly tested). 4 kinds of relation are available:...
r503 <% end %>