diff options
author | Go MAEDA <maeda@farend.jp> | 2024-09-07 04:10:21 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-09-07 04:10:21 +0000 |
commit | 6b736fe5331e5fdff9cde07d915f26137bccef75 (patch) | |
tree | 404573f87beaa7927ea5d8329ac86901f86ec6b7 /app | |
parent | 9bdce9a821c23336c64ec000fcb3532fbf384353 (diff) | |
download | redmine-6b736fe5331e5fdff9cde07d915f26137bccef75.tar.gz redmine-6b736fe5331e5fdff9cde07d915f26137bccef75.zip |
Merged r23026 from trunk to 5.1-stable (#41217).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23031 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/_list.html.erb | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/app/views/projects/_list.html.erb b/app/views/projects/_list.html.erb index 03c5ce059..f5eae37a6 100644 --- a/app/views/projects/_list.html.erb +++ b/app/views/projects/_list.html.erb @@ -41,14 +41,22 @@ </tr> <% end %> <tr id="project-<%= entry.id %>" class="<%= cycle('odd', 'even') %> hascontextmenu <%= entry.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> - <% if @admin_list && !entry.scheduled_for_deletion? %> - <td class="checkbox hide-when-print"><%= check_box_tag("ids[]", entry.id, false, :id => nil) %></td> + <% if @admin_list %> + <% if !entry.scheduled_for_deletion? %> + <td class="checkbox hide-when-print"><%= check_box_tag("ids[]", entry.id, false, :id => nil) %></td> + <% else %> + <td class="checkbox hide-when-print"></td> + <% end %> <% end %> <% @query.inline_columns.each do |column| %> <%= content_tag('td', column_content(column, entry), :class => column.css_classes) %> <% end %> - <% if @admin_list && !entry.scheduled_for_deletion? %> - <td class="buttons"><%= link_to_context_menu %></td> + <% if @admin_list %> + <% if !entry.scheduled_for_deletion? %> + <td class="buttons"><%= link_to_context_menu %></td> + <% else %> + <td class="buttons"></td> + <% end %> <% end %> </tr> <% end -%> |