Mercurial > hg > soundsoftware-site
annotate app/views/repositories/entry.html.erb @ 1621:3a510bf6a9bc
Merge from live branch
author | Chris Cannam |
---|---|
date | Fri, 13 Jul 2018 10:44:33 +0100 |
parents | bb32da3bea34 |
children |
rev | line source |
---|---|
Chris@0 | 1 <%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %> |
Chris@0 | 2 |
Chris@0 | 3 <div class="contextual"> |
Chris@0 | 4 <%= render :partial => 'navigation' %> |
Chris@0 | 5 </div> |
Chris@0 | 6 |
Chris@0 | 7 <h2><%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => 'file', :revision => @rev } %></h2> |
Chris@0 | 8 |
Chris@1115 | 9 <%= render :partial => 'link_to_functions' %> |
Chris@0 | 10 |
chris@1082 | 11 <% if @display_raw %> |
chris@1083 | 12 <% if @content.size && @content.size > Setting.file_max_size_displayed.to_i.kilobyte %> |
chris@1083 | 13 <em><%= l(:text_data_too_large) %></em> |
chris@1083 | 14 <% else %> |
chris@1083 | 15 <em><%= l(:text_binary_data) %></em> |
chris@1083 | 16 <% end %> |
chris@1082 | 17 <% else %> |
chris@1082 | 18 <%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %> |
chris@1082 | 19 <% end %> |
Chris@0 | 20 |
Chris@0 | 21 <% content_for :header_tags do %> |
Chris@0 | 22 <%= stylesheet_link_tag "scm" %> |
Chris@0 | 23 <% end %> |