To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / e1 / e140ffeb12ccebdeac6bae46d7abe6d081f9bac4.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (2.01 KB)

1
<%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %>
2

    
3
<div class="contextual">
4
  <%= render :partial => 'navigation' %>
5
</div>
6

    
7
<h2><%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => 'dir', :revision => @rev } %></h2>
8

    
9
<% if !@entries.nil? && authorize_for('repositories', 'browse') %>
10
<%= render :partial => 'dir_list' %>
11
<% end %>
12

    
13
<%= render_properties(@properties) %>
14

    
15
<% if authorize_for('repositories', 'revisions') %>
16
<%   if @changesets && !@changesets.empty? %>
17
<h3><%= l(:label_latest_revision_plural) %></h3>
18
<%=    render :partial => 'revisions',
19
              :locals => {:project => @project, :path => @path,
20
                          :revisions => @changesets, :entry => nil }%>
21
<%   end %>
22
<p>
23
<%
24
     has_branches = (!@repository.branches.nil? && @repository.branches.length > 0)
25
     sep = ''
26
 %>
27
<%   if @repository.supports_all_revisions? && @path.blank? %>
28
<%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %>
29
<%   sep = '|' %>
30
<%   end %>
31
<%
32
     if @repository.supports_directory_revisions? &&
33
         ( has_branches || !@path.blank? || !@rev.blank? )
34
 %>
35
<%= sep %>
36
<%=
37
    link_to l(:label_view_revisions),
38
                   :action => 'changes',
39
                   :path   => to_path_param(@path),
40
                   :id     => @project,
41
                   :rev    => @rev
42
                   %>
43
<%   end %>
44
</p>
45

    
46
<%   if true # @path.blank? %>
47
<%     content_for :header_tags do %>
48
  <%= auto_discovery_link_tag(
49
                   :atom, params.merge(
50
                      {:format => 'atom', :action => 'revisions',
51
                       :id => @project, :page => nil, :key => User.current.rss_key})) %>
52
<%     end %>
53

    
54
<%     other_formats_links do |f| %>
55
  <%= f.link_to 'Atom', :url => {:action => 'revisions', :id => @project, :key => User.current.rss_key} %>
56
<%     end %>
57
<%   end %>
58
<% end %>
59

    
60
<% content_for :header_tags do %>
61
<%= stylesheet_link_tag "scm" %>
62
<% end %>
63

    
64
<% html_title(l(:label_repository)) -%>