##// END OF EJS Templates
Replaces find(:first) calls....
Replaces find(:first) calls. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10930 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9187:ddce7ef142bb
r10703:a7023dfa9b8e
Show More
show.html.erb
77 lines | 2.8 KiB | text/plain | TextLexer
Eric Davis
Added hook :view_repositories_show_contextual to allow adding items to the...
r1946 <%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %>
Jean-Philippe Lang
Adds a field on the repository view to browse at specific revision (#1443)....
r1540
Eric Davis
Added branch and tag support to the git repository viewer. (#1406)...
r2735 <div class="contextual">
<%= render :partial => 'navigation' %>
Jean-Philippe Lang
added simple svn statistics graphs, rendered using SVG::Graph...
r377 </div>
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9187 <h2><%= render :partial => 'breadcrumbs',
:locals => { :path => @path, :kind => 'dir', :revision => @rev } %></h2>
Jean-Philippe Lang
svn browser merged in trunk...
r103
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 <% if !@entries.nil? && authorize_for('repositories', 'browse') %>
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9185 <%= render :partial => 'dir_list' %>
Jean-Philippe Lang
Added basic support for CVS and Mercurial SCMs....
r556 <% end %>
Jean-Philippe Lang
XHTML compliance improvements...
r147
Jean-Philippe Lang
SCM browser:...
r2738 <%= render_properties(@properties) %>
Toshi MARUYAMA
scm: code clean up repositories/show.rhtml....
r5018 <% if authorize_for('repositories', 'revisions') %>
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9185 <% if @changesets && !@changesets.empty? %>
<h3><%= l(:label_latest_revision_plural) %></h3>
<%= render :partial => 'revisions',
Toshi MARUYAMA
scm: code clean up repositories/show.rhtml....
r5018 :locals => {:project => @project, :path => @path,
:revisions => @changesets, :entry => nil }%>
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9185 <% end %>
<p>
<% has_branches = (!@repository.branches.nil? && @repository.branches.length > 0)
sep = '' %>
<% if @repository.supports_all_revisions? && @path.blank? %>
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9187 <%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project,
:repository_id => @repository.identifier_param %>
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9185 <% sep = '|' %>
<% end %>
<% if @repository.supports_directory_revisions? &&
( has_branches || !@path.blank? || !@rev.blank? ) %>
<%= sep %>
<%= link_to l(:label_view_revisions),
Toshi MARUYAMA
scm: backout r5213. do not display both 'View all revisions' and 'View revision' links (#7984, #7246)....
r5098 :action => 'changes',
Toshi MARUYAMA
scm: add rev param to "View revisions" (#7984)....
r5102 :path => to_path_param(@path),
:id => @project,
Jean-Philippe Lang
Adds support for multiple repositories per project (#779)....
r8530 :repository_id => @repository.identifier_param,
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9185 :rev => @rev %>
<% end %>
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9187 </p>
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9185 <% if @repository.supports_all_revisions? %>
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(
Toshi MARUYAMA
scm: code clean up repositories/show.rhtml....
r5016 :atom, params.merge(
{:format => 'atom', :action => 'revisions',
:id => @project, :page => nil, :key => User.current.rss_key})) %>
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9185 <% end %>
Toshi MARUYAMA
scm: code clean up repositories/show.rhtml....
r5016
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9185 <% other_formats_links do |f| %>
<%= f.link_to 'Atom',
:url => {:action => 'revisions', :id => @project,
:repository_id => @repository.identifier_param,
:key => User.current.rss_key} %>
<% end %>
<% end %>
Jean-Philippe Lang
SVN commits are now stored in the database, and added to the activity view and the search engine....
r374 <% end %>
Jean-Philippe Lang
Adds support for multiple repositories per project (#779)....
r8530 <% if @repositories.size > 1 %>
Toshi MARUYAMA
replace tabs to spaces at app/views/repositories/show.html.erb...
r9184 <% content_for :sidebar do %>
<h3><%= l(:label_repository_plural) %></h3>
Toshi MARUYAMA
fix html tag at app/views/repositories/show.html.erb...
r9186 <p>
<%= @repositories.sort.collect {|repo|
Toshi MARUYAMA
replace tabs to spaces at app/views/repositories/show.html.erb...
r9184 link_to h(repo.name),
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9185 {:controller => 'repositories', :action => 'show',
:id => @project, :repository_id => repo.identifier_param, :rev => nil, :path => nil},
Jean-Philippe Lang
Adds support for multiple repositories per project (#779)....
r8530 :class => 'repository' + (repo == @repository ? ' selected' : '')
Toshi MARUYAMA
fix html tag at app/views/repositories/show.html.erb...
r9186 }.join('<br />').html_safe %>
</p>
Toshi MARUYAMA
replace tabs to spaces at app/views/repositories/show.html.erb...
r9184 <% end %>
Jean-Philippe Lang
Adds support for multiple repositories per project (#779)....
r8530 <% end %>
Jean-Philippe Lang
XHTML compliance improvements...
r147 <% content_for :header_tags do %>
Toshi MARUYAMA
code layout clean up app/views/repositories/show.html.erb...
r9185 <%= stylesheet_link_tag "scm" %>
Jean-Philippe Lang
Added basic support for CVS and Mercurial SCMs....
r556 <% end %>
Jean-Philippe Lang
More detailed html title on several views....
r951
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title(l(:label_repository)) -%>