Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5444 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ffd0a9c72c
commit
b344456b6f
|
@ -1,5 +1,5 @@
|
|||
<div class="contextual">
|
||||
<% if authorize_for('issue_relations', 'new') %>
|
||||
<% if User.current.allowed_to?(:manage_issue_relations, @project) %>
|
||||
<%= toggle_link l(:button_add), 'new-relation-form', {:focus => 'relation_issue_to_id'} %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<% if authorize_for('issue_relations', 'new') || @issue.relations.present? %>
|
||||
<% if @relations.present? || User.current.allowed_to?(:manage_issue_relations, @project) %>
|
||||
<hr />
|
||||
<div id="relations">
|
||||
<%= render :partial => 'relations' %>
|
||||
|
|
Loading…
Reference in New Issue