| 1 |
<% @page_title = "#{current_path.join("/")} - #{@repository.name} in #{@project.title}" -%> |
| 2 |
|
| 3 |
<ul class="mode_selector"> |
| 4 |
<li class="list_header"> |
| 5 |
Softwrap mode: |
| 6 |
</li> |
| 7 |
<li> |
| 8 |
<%= link_to_function "Toggle", "Gitorious.Wordwrapper.toggle($$('table#codeblob td.code'))" -%> |
| 9 |
</li> |
| 10 |
</ul> |
| 11 |
|
| 12 |
<h1> |
| 13 |
Blob of <code><%= current_path.join("/") -%></code> |
| 14 |
<small>(<%= link_to "raw blob data", raw_blob_path(@blob.sha, current_path) -%>)</small> |
| 15 |
</h1> |
| 16 |
|
| 17 |
<pre><%= with_line_numbers{ h(@blob.contents) } -%></pre> |
| 18 |
|
| 19 |
<%= render :partial => "submenu" -%> |