##// END OF EJS Templates
Localize anonymous and non member roles names (#8072)....
Localize anonymous and non member roles names (#8072). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5333 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r5201:13eea4266ef3
r5213:44214ed1aad3
Show More
_relations.rhtml
37 lines | 2.0 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Application layout refactored....
r736 <div class="contextual">
<% if authorize_for('issue_relations', 'new') %>
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
Adds context menu for related issues (#8006)....
r5201 <tr class="issue hascontextmenu">
<td class="checkbox"><%= check_box_tag("ids[]", relation.other_issue(@issue).id, false, :id => nil) %></td>
<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
Refactoring ApplicationHelper#link_to_issue....
r2926 <%= h(relation.other_issue(@issue).project) + ' - ' if Setting.cross_project_issue_relations? %>
Jean-Philippe Lang
Slight UI changes to the subtasks tree....
r3463 <%= link_to_issue(relation.other_issue(@issue), :truncate => 60) %>
Jean-Philippe Lang
Refactoring ApplicationHelper#link_to_issue....
r2926 </td>
Jean-Philippe Lang
Adds context menu for related issues (#8006)....
r5201 <td class="status"><%= relation.other_issue(@issue).status.name %></td>
<td class="start_date"><%= format_date(relation.other_issue(@issue).start_date) %></td>
<td class="due_date"><%= format_date(relation.other_issue(@issue).due_date) %></td>
<td class="buttons"><%= link_to_remote(image_tag('delete.png'), { :url => {:controller => 'issue_relations', :action => 'destroy', :issue_id => @issue, :id => relation},
Jean-Philippe Lang
Issue relations first commit (not thoroughly tested). 4 kinds of relation are available:...
r503 :method => :post
Jean-Philippe Lang
Fixed: the link to delete issue relations is displayed even if the user is not authorized to delete relations...
r611 }, :title => l(:label_relation_delete)) if authorize_for('issue_relations', 'destroy') %></td>
Jean-Philippe Lang
Issue relations first commit (not thoroughly tested). 4 kinds of relation are available:...
r503 </tr>
<% 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
Jean-Philippe Lang
Application layout refactored....
r736 <% remote_form_for(:relation, @relation,
:url => {:controller => 'issue_relations', :action => 'new', :issue_id => @issue},
:method => :post,
Eric Davis
Refocus the related issue field after submitting an issue. #6275...
r3951 :complete => "Form.Element.focus('relation_issue_to_id');",
Jean-Philippe Lang
Application layout refactored....
r736 :html => {:id => 'new-relation-form', :style => (@relation ? '' : 'display: none;')}) do |f| %>
<%= 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 %>