created breadcrumb
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
<td>v<%= version.number %></td>
|
||||
<td><%= distance_of_time_in_words(version.updated_at, Time.now) %></td>
|
||||
<td><%= button_to(file_version_path(version), method: :get, class: "btn btn-default inline") do %>
|
||||
View
|
||||
View Diff
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -9,8 +9,11 @@
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="logo">
|
||||
CHUB
|
||||
<%= raw(breadcrumb(@record)) %>
|
||||
</h1>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<%= yield %>
|
||||
</div>
|
||||
|
||||
@@ -18,11 +18,6 @@
|
||||
<% end %><br/><br/>
|
||||
</p>
|
||||
|
||||
<p>Or you can initialize server with chub and upload the existing files from server by pasting this into your server's terminal:</p>
|
||||
|
||||
<% command = "sudo wget -O /usr/local/bin/chub http://chub.saburly.com/chub && sudo chub init #{@record.namehash}" %>
|
||||
|
||||
<p><%= text_field_tag 'command', command, readonly: true, class: 'form-control-sm', size: command.length %></p>
|
||||
</div>
|
||||
|
||||
<% else %>
|
||||
|
||||
Reference in New Issue
Block a user