##// END OF EJS Templates
Merged r9543 from trunk (#10785)...
Merged r9543 from trunk (#10785) Bulgarian translation (jstoolbar) updated by Ivan Cenov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9544 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8868:b4630c03f732
r9362:dcba6f04007c
Show More
annotate.html.erb
36 lines | 1.4 KiB | text/plain | TextLexer
Eric Davis
Added branch and tag support to the git repository viewer. (#1406)...
r2735 <%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %>
<div class="contextual">
<%= render :partial => 'navigation' %>
</div>
<h2><%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => 'file', :revision => @rev } %></h2>
Jean-Philippe Lang
Added Annotate/Blame view for Subversion, CVS and Mercurial repositories....
r934
Jean-Philippe Lang
Show view/annotate/download links on repositories/entries and repositories/annotate views (#2367)....
r2165 <p><%= render :partial => 'link_to_functions' %></p>
Jean-Philippe Lang
Added Annotate/Blame view for Subversion, CVS and Mercurial repositories....
r934 <% colors = Hash.new {|k,v| k[v] = (k.size % 12) } %>
<div class="autoscroll">
Jean-Philippe Lang
Replace the hardcoded "CodeRay" css class name for highlighted elements....
r3471 <table class="filecontent annotate syntaxhl">
Jean-Philippe Lang
Added Annotate/Blame view for Subversion, CVS and Mercurial repositories....
r934 <tbody>
<% line_num = 1 %>
Toshi MARUYAMA
Rails3: prevent double rendering file view and annotate on Rails 3.0.11 and Rails 3.1.3...
r8868 <% syntax_highlight_lines(@path, Redmine::CodesetUtil.to_utf8_by_setting(@annotate.content)).each do |line| %>
Toshi MARUYAMA
code layout clean up app/views/repositories/annotate.html.erb...
r7737 <% revision = @annotate.revisions[line_num - 1] %>
<tr class="bloc-<%= revision.nil? ? 0 : colors[revision.identifier || revision.revision] %>">
<th class="line-num" id="L<%= line_num %>"><a href="#L<%= line_num %>"><%= line_num %></a></th>
<td class="revision">
Jean-Philippe Lang
Adds support for multiple repositories per project (#779)....
r8530 <%= (revision.identifier ? link_to_revision(revision, @repository) : format_revision(revision)) if revision %></td>
Toshi MARUYAMA
code layout clean up app/views/repositories/annotate.html.erb...
r7737 <td class="author"><%= h(revision.author.to_s.split('<').first) if revision %></td>
Toshi MARUYAMA
Rails3: prevent double rendering file view and annotate on Rails 3.0.11 and Rails 3.1.3...
r8868 <td class="line-code"><pre><%= line.html_safe %></pre></td>
Toshi MARUYAMA
code layout clean up app/views/repositories/annotate.html.erb...
r7737 </tr>
<% line_num += 1 %>
Jean-Philippe Lang
Added Annotate/Blame view for Subversion, CVS and Mercurial repositories....
r934 <% end %>
Jean-Philippe Lang
Fixed: missing body closing tag in repository annotate and entry views....
r979 </tbody>
Jean-Philippe Lang
Added Annotate/Blame view for Subversion, CVS and Mercurial repositories....
r934 </table>
</div>
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title(l(:button_annotate)) -%>
Jean-Philippe Lang
Added Annotate/Blame view for Subversion, CVS and Mercurial repositories....
r934 <% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>
<% end %>