app/views/phcscriptcdn/script/versions/index.html.erb in phcscriptcdn-49.0.0 vs app/views/phcscriptcdn/script/versions/index.html.erb in phcscriptcdn-50.0.0
- old
+ new
@@ -1,18 +1,16 @@
<!-- Title System -->
<% phc_title "Script Listings Manager" %>
<% phc_title_tagline "Script Version Index" %>
<% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_path %>
-<% phc_breadcrumb_two link_to "Script Version Index", phcscriptcdn.script_versions_path %>
-<% phc_breadcrumb_three yield(:phc_title_tagline) %>
+<% phc_breadcrumb_two yield(:phc_title_tagline) %>
<!-- Title System -->
<!-- Page Bradcrumbs -->
<ol class="breadcrumb pull-right">
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
</ol>
<!-- Page Bradcrumbs -->
<!-- Page Header -->
<h1 class="page-header"><%= yield(:phc_title) %></h1>
@@ -38,15 +36,18 @@
</tr>
</thead>
<tbody>
<% @script_versions.each do |script_version| %>
<tr>
- <td><%= link_to script_version.scriptversion, script_version %></td>
+ <td><%= link_to script_version.script_version_number, script_version %></td>
</tr>
<% end %>
</tbody>
</table>
-
+ <%= link_to phcscriptcdn.new_script_version_path, class: "btn btn-primary" do %>
+ <i class="fas fa-plus-circle"></i>
+ <%= "Add a New Version Number" %>
+ <% end %>
</div>
</div>
</div>
<!-- Page Content -->