To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / repositories / entry.html.erb @ 1531:ae8145b28b2b
History | View | Annotate | Download (769 Bytes)
| 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 => 'file', :revision => @rev } %></h2> |
| 8 |
|
| 9 |
<%= render :partial => 'link_to_functions' %>
|
| 10 |
|
| 11 |
<% if @display_raw %>
|
| 12 |
<% if @content.size && @content.size > Setting.file_max_size_displayed.to_i.kilobyte %>
|
| 13 |
<em><%= l(:text_data_too_large) %></em> |
| 14 |
<% else %>
|
| 15 |
<em><%= l(:text_binary_data) %></em> |
| 16 |
<% end %>
|
| 17 |
<% else %>
|
| 18 |
<%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %>
|
| 19 |
<% end %>
|
| 20 |
|
| 21 |
<% content_for :header_tags do %>
|
| 22 |
<%= stylesheet_link_tag "scm" %>
|
| 23 |
<% end %>
|