annotate .svn/pristine/ee/ee5f9e1b58fa32556690b1255713ad576948e647.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration

Fix failure to interpret Javascript when autocompleting members for project
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 11 Sep 2014 10:24:38 +0100
parents 261b3d9a4903
children
rev   line source
Chris@1464 1 <div class="contextual">
Chris@1464 2 <%= link_to(l(:button_edit), {:action => 'edit', :id => @page.title}, :class => 'icon icon-edit') %>
Chris@1464 3 <%= link_to(l(:label_history),
Chris@1464 4 {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %>
Chris@1464 5 </div>
Chris@1464 6
Chris@1464 7 <%= wiki_page_breadcrumb(@page) %>
Chris@1464 8
Chris@1464 9 <%= title [@page.pretty_title, project_wiki_page_path(@page.project, @page.title, :version => nil)],
Chris@1464 10 [l(:label_history), history_project_wiki_page_path(@page.project, @page.title)],
Chris@1464 11 "#{l(:label_version)} #{@annotate.content.version}" %>
Chris@1464 12
Chris@1464 13 <p>
Chris@1464 14 <em><%= @annotate.content.author ? link_to_user(@annotate.content.author) : l(:label_user_anonymous)
Chris@1464 15 %>, <%= format_time(@annotate.content.updated_on) %> </em><br />
Chris@1464 16 <%=h @annotate.content.comments %>
Chris@1464 17 </p>
Chris@1464 18
Chris@1464 19 <% colors = Hash.new {|k,v| k[v] = (k.size % 12) } %>
Chris@1464 20
Chris@1464 21 <table class="filecontent annotate">
Chris@1464 22 <tbody>
Chris@1464 23 <% line_num = 1 %>
Chris@1464 24 <% @annotate.lines.each do |line| -%>
Chris@1464 25 <tr class="bloc-<%= colors[line[0]] %>">
Chris@1464 26 <th class="line-num"><%= line_num %></th>
Chris@1464 27 <td class="revision"><%= link_to line[0], :controller => 'wiki',
Chris@1464 28 :action => 'show', :project_id => @project,
Chris@1464 29 :id => @page.title, :version => line[0] %></td>
Chris@1464 30 <td class="author"><%= h(line[1]) %></td>
Chris@1464 31 <td class="line-code"><pre><%=h line[2] %></pre></td>
Chris@1464 32 </tr>
Chris@1464 33 <% line_num += 1 %>
Chris@1464 34 <% end -%>
Chris@1464 35 </tbody>
Chris@1464 36 </table>
Chris@1464 37
Chris@1464 38 <% content_for :header_tags do %>
Chris@1464 39 <%= stylesheet_link_tag 'scm' %>
Chris@1464 40 <% end %>