##// END OF EJS Templates
Style nested menus as drop downs on hover (#15880)....
Style nested menus as drop downs on hover (#15880). Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15502 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14889:eaea4e9fee7e
r15120:cf7ff1acc93c
Show More
_relations.html.erb
43 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
Adding issue css classes to issue subtasks and relations tr (#21474)....
r14679 <tr class="issue hascontextmenu <%= other_issue.css_classes %>" 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
Improve accessibility for icon-only links by adding hidden text (#21805)....
r14889 <td class="buttons"><%= link_to(l(:label_relation_delete),
Jean-Philippe Lang
Code cleanup, use named routes....
r10839 relation_path(relation),
:remote => true,
:method => :delete,
:data => {:confirm => l(:text_are_you_sure)},
Jean-Philippe Lang
Replace uses of image_tag() with CSS (#21256)....
r14686 :title => l(:label_relation_delete),
:class => 'icon-only icon-link-break'
) if User.current.allowed_to?(:manage_issue_relations, @project) %></td>
Jean-Philippe Lang
Code cleanup, use named routes....
r10839 </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 %>