##// END OF EJS Templates
Don't require category or target version when they are not available (#20583)....
Don't require category or target version when they are not available (#20583). git-svn-id: http://svn.redmine.org/redmine/trunk@14733 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13661:b778c51e9049
r14351:68620da79ab5
Show More
_relations.html.erb
41 lines | 1.8 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
Do not truncate subissue/related issues titles on the issue view (#18659)....
r13414 <td class="subject" style="width: 50%">
<%= relation.to_s(@issue) {|other| link_to_issue(other, :project => Setting.cross_project_issue_relations?)}.html_safe %>
Jean-Philippe Lang
Code cleanup, use named routes....
r10839 </td>
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <td class="status"><%= other_issue.status.name %></td>
Jean-Philippe Lang
Store the other issue in a variable (#10916)....
r10891 <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 %>