Merge pull request #5231 from opf/fix/23471-2d-tabellenhierarchie-nicht-wahrnehmbar

[23471] [2d] Tabellenhierarchie nicht wahrnehmbar (Repository)
pull/5232/head
Henriette Dinger 8 years ago committed by GitHub
commit bb2e4f373e
  1. 17
      app/views/repositories/_dir_list.html.erb
  2. 1
      app/views/repositories/_dir_list_content.html.erb

@ -31,6 +31,7 @@ See doc/COPYRIGHT.rdoc for more details.
<table class="generic-table entries" id="browser">
<colgroup>
<col highlight-col>
<col>
<col highlight-col>
<col highlight-col>
<col highlight-col>
@ -48,6 +49,15 @@ See doc/COPYRIGHT.rdoc for more details.
</div>
</div>
</th>
<th class="hidden-for-sighted">
<div class="generic-table--sort-header-outer">
<div class="generic-table--sort-header">
<span>
<%= I18n.t('js.tl_toolbar.outlines') %>
</span>
</div>
</div>
</th>
<th>
<div class="generic-table--sort-header-outer">
<div class="generic-table--sort-header">
@ -61,7 +71,7 @@ See doc/COPYRIGHT.rdoc for more details.
<div class="generic-table--sort-header-outer">
<div class="generic-table--sort-header">
<span>
<%= l(:label_revision) %>
<%= t(:label_revision) %>
</span>
</div>
</div>
@ -70,7 +80,7 @@ See doc/COPYRIGHT.rdoc for more details.
<div class="generic-table--sort-header-outer">
<div class="generic-table--sort-header">
<span>
<%= l(:label_age) %>
<%= t(:label_age) %>
</span>
</div>
</div>
@ -99,6 +109,5 @@ See doc/COPYRIGHT.rdoc for more details.
<%= render partial: 'dir_list_content' %>
</tbody>
</table>
</div>
</div>
</div>

@ -51,6 +51,7 @@ See doc/COPYRIGHT.rdoc for more details.
{action: (entry.dir? ? 'show' : 'changes'), project_id: @project, path: to_path_param(ent_path), rev: @rev},
class: (entry.dir? ? 'icon-context icon-folder' : "icon icon-file #{Redmine::MimeType.css_class_of(ent_name)}")%>
</td>
<td class="hidden-for-sighted"> <%= depth %></td>
<td class="size"><%= (entry.size ? number_to_human_size(entry.size) : "?") unless entry.dir? %></td>
<% changeset = @project.repository.find_changeset_by_name(entry.lastrev.identifier) if entry.lastrev && entry.lastrev.identifier %>
<td class="revision"><%= link_to_revision(changeset, @project) if changeset %></td>

Loading…
Cancel
Save