Patch #30730 » 0002_place_add_link_next_to_the_heading.diff
app/views/repositories/_related_issues.html.erb | ||
---|---|---|
1 | 1 |
<% manage_allowed = User.current.allowed_to?(:manage_related_issues, @repository.project) %> |
2 | 2 | |
3 | 3 |
<div id="related-issues"> |
4 |
<h3><%= l(:label_related_issues) %> |
|
4 | 5 |
<% if manage_allowed %> |
5 |
<div class="contextual"> |
|
6 |
<%= toggle_link l(:button_add), 'new-relation-form', {:focus => 'issue_id'} %> |
|
7 |
</div> |
|
6 |
<%= toggle_link l(:button_add), 'new-relation-form', {:focus => 'issue_id', :class => 'icon icon-only icon-add'} %> |
|
8 | 7 |
<% end %> |
9 | ||
10 |
<h3><%= l(:label_related_issues) %></h3> |
|
8 |
</h3> |
|
11 | 9 |
<ul> |
12 | 10 |
<% @changeset.issues.visible.each do |issue| %> |
13 | 11 |
<li id="<%= "related-issue-#{issue.id}" %>"><%= link_to_issue issue %> |
- « Previous
- 1
- 2
- 3
- Next »