From ce973429fe5ddb48e3b38ddf5aee363d6ea5a56c Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Sat, 5 Mar 2011 20:30:36 -0800 Subject: [PATCH] Move the Add link next to the Related issues label --- app/views/issues/_relations.rhtml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/views/issues/_relations.rhtml b/app/views/issues/_relations.rhtml index e7672dca..e2bbcf3a 100644 --- a/app/views/issues/_relations.rhtml +++ b/app/views/issues/_relations.rhtml @@ -1,10 +1,12 @@
-<% if authorize_for('issue_relations', 'new') %> - <%= toggle_link l(:button_add), 'new-relation-form', {:focus => 'relation_issue_to_id'} %> -<% end %>
-

<%=l(:label_related_issues)%>

+

+ <%=l(:label_related_issues)%> + <% if authorize_for('issue_relations', 'new') %> + (<%= toggle_link l(:button_add), 'new-relation-form', {:focus => 'relation_issue_to_id'} %>) + <% end %> +

<% if @relations.present? %>