##// END OF EJS Templates
Removed invalid nested p tags....
Jean-Philippe Lang -
r9686:d3aa9c6a7ba9
parent child
Show More
@@ -1,36 +1,36
1 1 <%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %>
2 2
3 3 <div class="contextual">
4 4 <%= render :partial => 'navigation' %>
5 5 </div>
6 6
7 7 <h2><%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => 'file', :revision => @rev } %></h2>
8 8
9 <p><%= render :partial => 'link_to_functions' %></p>
9 <%= render :partial => 'link_to_functions' %>
10 10
11 11 <% colors = Hash.new {|k,v| k[v] = (k.size % 12) } %>
12 12
13 13 <div class="autoscroll">
14 14 <table class="filecontent annotate syntaxhl">
15 15 <tbody>
16 16 <% line_num = 1 %>
17 17 <% syntax_highlight_lines(@path, Redmine::CodesetUtil.to_utf8_by_setting(@annotate.content)).each do |line| %>
18 18 <% revision = @annotate.revisions[line_num - 1] %>
19 19 <tr class="bloc-<%= revision.nil? ? 0 : colors[revision.identifier || revision.revision] %>">
20 20 <th class="line-num" id="L<%= line_num %>"><a href="#L<%= line_num %>"><%= line_num %></a></th>
21 21 <td class="revision">
22 22 <%= (revision.identifier ? link_to_revision(revision, @repository) : format_revision(revision)) if revision %></td>
23 23 <td class="author"><%= h(revision.author.to_s.split('<').first) if revision %></td>
24 24 <td class="line-code"><pre><%= line.html_safe %></pre></td>
25 25 </tr>
26 26 <% line_num += 1 %>
27 27 <% end %>
28 28 </tbody>
29 29 </table>
30 30 </div>
31 31
32 32 <% html_title(l(:button_annotate)) -%>
33 33
34 34 <% content_for :header_tags do %>
35 35 <%= stylesheet_link_tag 'scm' %>
36 36 <% end %>
@@ -1,22 +1,20
1 1 <%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %>
2 2
3 3 <div class="contextual">
4 4 <%= render :partial => 'navigation' %>
5 5 </div>
6 6
7 <h2>
8 <%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => (@entry ? @entry.kind : nil), :revision => @rev } %>
9 </h2>
7 <h2><%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => (@entry ? @entry.kind : nil), :revision => @rev } %></h2>
10 8
11 <p><%= render :partial => 'link_to_functions' %></p>
9 <%= render :partial => 'link_to_functions' %>
12 10
13 11 <%= render_properties(@properties) %>
14 12
15 13 <%= render(:partial => 'revisions',
16 14 :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }) unless @changesets.empty? %>
17 15
18 16 <% content_for :header_tags do %>
19 17 <%= stylesheet_link_tag "scm" %>
20 18 <% end %>
21 19
22 20 <% html_title(l(:label_change_plural)) -%>
@@ -1,15 +1,15
1 1 <%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %>
2 2
3 3 <div class="contextual">
4 4 <%= render :partial => 'navigation' %>
5 5 </div>
6 6
7 7 <h2><%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => 'file', :revision => @rev } %></h2>
8 8
9 <p><%= render :partial => 'link_to_functions' %></p>
9 <%= render :partial => 'link_to_functions' %>
10 10
11 11 <%= render :partial => 'common/file', :locals => {:filename => @path, :content => @content} %>
12 12
13 13 <% content_for :header_tags do %>
14 14 <%= stylesheet_link_tag "scm" %>
15 15 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now