Move the Add link next to the Related issues label
This commit is contained in:
parent
cff91d8cf0
commit
ce973429fe
|
@ -1,10 +1,12 @@
|
||||||
<div class="contextual">
|
<div class="contextual">
|
||||||
<% if authorize_for('issue_relations', 'new') %>
|
|
||||||
<%= toggle_link l(:button_add), 'new-relation-form', {:focus => 'relation_issue_to_id'} %>
|
|
||||||
<% end %>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p><strong><%=l(:label_related_issues)%></strong></p>
|
<p>
|
||||||
|
<strong><%=l(:label_related_issues)%></strong>
|
||||||
|
<% if authorize_for('issue_relations', 'new') %>
|
||||||
|
(<%= toggle_link l(:button_add), 'new-relation-form', {:focus => 'relation_issue_to_id'} %>)
|
||||||
|
<% end %>
|
||||||
|
</p>
|
||||||
|
|
||||||
<% if @relations.present? %>
|
<% if @relations.present? %>
|
||||||
<table style="width:100%">
|
<table style="width:100%">
|
||||||
|
|
Loading…
Reference in New Issue