app/views/phcpress/modules/connections/index.html.erb in phcpress-9.0.1 vs app/views/phcpress/modules/connections/index.html.erb in phcpress-9.1.0

- old
+ new

@@ -1,66 +1,66 @@ -<!-- Title System --> -<% 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><%= 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"> - - <!-- Index Table --> - <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> - <!-- Index Table --> - - <!-- Panel Footer --> - <div class="box-footer clearfix"> - <%= link_to 'New Connection', new_modules_connection_path, class: "btn btn-primary" %> - </div> - <!-- Panel Footer --> - - </div> - </div> - </div> - </div> -</section> -<!-- Main Content --> +<!-- Title System --> +<% 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><%= 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"> + + <!-- Index Table --> + <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> + <!-- Index Table --> + + <!-- Panel Footer --> + <div class="box-footer clearfix"> + <%= link_to 'New Connection', new_modules_connection_path, class: "btn btn-primary" %> + </div> + <!-- Panel Footer --> + + </div> + </div> + </div> + </div> +</section> +<!-- Main Content -->