app/views/phcpress/modules/connections/index.html.erb in phcpress-6.6.1 vs app/views/phcpress/modules/connections/index.html.erb in phcpress-6.6.3
- old
+ new
@@ -1,56 +1,61 @@
<!-- Title System -->
-<% phc_title "Connections Manager" %>
-<% phc_title_tagline "Connection Index" %>
+<% phc_title "PHCPress Plugin: Connections" %>
+<% phc_title_tagline "Connections Index" %>
+<% phc_breadcrumb_one yield(:phc_title_tagline) %>
<!-- Title System -->
<!-- Page Title Bar -->
<section class="content-header">
-
<!-- Page Title and BreadCrumb -->
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
<ol class="breadcrumb">
- <li class="active"><%= yield(:phc_title_tagline) %></li>
+ <li><%= yield(:phc_breadcrumb_one) %></li>
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
</ol>
<!-- Page Title and BreadCrumb -->
-
</section>
<!-- Page Title Bar -->
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-lg-12">
-
<div class="box">
<div class="box-header with-border">
<h3 class="box-title"><%= yield(:phc_title) %></h3>
</div>
<div class="box-body">
- <table class="table table-bordered table-striped table-hover">
- <thead>
- <tr>
- <th>Category</th>
- <th>Posts</th>
- <th colspan="3"></th>
- </tr>
- </thead>
- <tbody>
- <% @modules_connections.each do |modules_connection| %>
- <tr>
- <td><%= modules_connection.category.catname %></td>
- <td><%= modules_connection.post.psttitle %></td>
- <td><%= link_to 'Show', modules_connection, class: "btn btn-primary btn-xs" %></td>
- <td><%= link_to 'Edit', edit_modules_connection_path(modules_connection), class: "btn btn-primary btn-xs" %></td>
- <td><%= link_to 'Destroy', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
- </tr>
- <% end %>
- </tbody>
- </table>
-
- <%= link_to 'New Connection', new_modules_connection_path, class: "btn btn-primary" %>
-
+ <div class="table-responsive">
+ <table class="table table-bordered table-striped table-hover">
+ <thead>
+ <tr>
+ <th>Category</th>
+ <th>Posts</th>
+ <th colspan="3"></th>
+ </tr>
+ </thead>
+
+ <tbody>
+ <% @modules_connections.each do |modules_connection| %>
+ <tr>
+ <td><%= modules_connection.category.catname %></td>
+ <td><%= modules_connection.post.psttitle %></td>
+ <td><%= link_to 'Show', modules_connection, class: "btn btn-primary btn-xs" %></td>
+ <td><%= link_to 'Edit', edit_modules_connection_path(modules_connection), class: "btn btn-primary btn-xs" %></td>
+ <td><%= link_to 'Destroy', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ </tr>
+ <% end %>
+ </tbody>
+ </table>
+ </div>
+ <div class="box-footer clearfix">
+ <%= link_to 'New Connection', new_modules_connection_path, class: "btn btn-primary" %>
+ </div>
+
+ </div>
+ </div>
</div>
-
</div>
-</div>
+</section>
+<!-- Main Content -->
\ No newline at end of file