Move the Add link next to the Related issues label

This commit is contained in:
Eric Davis 2011-03-05 20:30:36 -08:00
parent cff91d8cf0
commit ce973429fe
1 changed files with 6 additions and 4 deletions

View File

@ -1,10 +1,12 @@
<div class="contextual">
<% if authorize_for('issue_relations', 'new') %>
<%= toggle_link l(:button_add), 'new-relation-form', {:focus => 'relation_issue_to_id'} %>
<% end %>
</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? %>
<table style="width:100%">