Sha256: 6f1b86a0132d30f1ee0a74bc2d87ddbc6cf767f1a10d4f5b5d45d91d565c0148

Contents?: true

Size: 1.8 KB

Versions: 5

Compression:

Stored size: 1.8 KB

Contents

<%#
  # encoding: utf-8
  #--
  #   Copyright (C) 2012 Gitorious AS
  #
  #   This program is free software: you can redistribute it and/or modify
  #   it under the terms of the GNU Affero General Public License as published by
  #   the Free Software Foundation, either version 3 of the License, or
  #   (at your option) any later version.
  #
  #   This program is distributed in the hope that it will be useful,
  #   but WITHOUT ANY WARRANTY; without even the implied warranty of
  #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #   GNU Affero General Public License for more details.
  #
  #   You should have received a copy of the GNU Affero General Public License
  #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #++
%>
<%
@title = "#{path == '' ? './' : path} in #{ref}"
levels = accumulate_path(partition_path(path, respond_to?(:maxdepth) ? maxdepth : nil))
%>
<div id="gts-ref-selector-ph"></div>
<table class="table table-striped gts-tree-explorer" data-gts-tree-history="<%= tree_history_url(repository, ref, path) %>">
  <thead>
    <tr>
      <th colspan="<%= tree_table_padding_width(levels) + 1 %>">File</th>
      <th class="gts-col-changed">Changed</th>
      <th class="gts-col-commit" colspan="2">Last commit</th>
    </tr>
  </thead>
  <tbody>
    <%= tree_context(repository, ref, levels) %>
    <% tree_entries(tree).each do |object| %>
      <tr>
        <%= tree_table_padding_td(levels) %>
        <td class="gts-name">
          <a href="<%= object_url(repository, ref, path, object) %>">
            <i class="icon <%= object_icon_class(object) %>"></i>
            <%= object[:name] %>
          </a>
        </td>
        <td class="gts-commit-date"></td>
        <td class="gts-commit-oid"></td>
        <td></td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
libdolt-0.7.0 views/tree.erb
libdolt-0.6.2 views/tree.erb
libdolt-0.6.0 views/tree.erb
dolt-0.5.1 ./views/tree.erb
dolt-0.5.0 ./views/tree.erb