app/views/phcscriptcdnpro/script/listings/index.html.erb in phcscriptcdnpro-5.8.4 vs app/views/phcscriptcdnpro/script/listings/index.html.erb in phcscriptcdnpro-5.8.5

- old
+ new

@@ -4,22 +4,33 @@ <!-- Title System --> <!-- Page Header --> <div class="row wrapper border-bottom white-bg page-heading"> <div class="col-sm-4"> + + <!-- Page Title --> <h2><%= yield(:phc_title) %></h2> + <!-- Page Title --> + <!-- Bread Crumb --> <ol class="breadcrumb"> + <li><%= link_to "Listing Index", phcscriptcdnpro.script_listings_path %></li> <li class="active"><%= yield(:phc_title_tagline) %></li> </ol> + <!-- Bread Crumb --> + </div> <div class="col-sm-8"> + + <!-- New Listings Button --> <div class="title-action"> <%= link_to phcscriptcdnpro.new_script_listing_path, class: "btn btn-primary" do %> <i class="fa fa-plus"></i> Create a New Listing <% end %> </div> + <!-- New Listings Button --> + </div> </div> <!-- Page Header --> <!-- Page Content --> @@ -48,13 +59,13 @@ <th>Title</th> <th>Release Date</th> <th>Latest Release Date</th> <th>Beta Release Date</th> </tr> - </thead> - <tbody> - <% @script_listings.each do |script_listing| %> + </thead> + <tbody> + <% @script_listings.each do |script_listing| %> <tr> <td class="vert-align"><%= link_to script_listing.scripttitle, script_listing_path(script_listing) %></td> <td class="vert-align"><%= link_to script_listing.scriptinitialrelease, script_listing_path(script_listing) %></td> <td class="vert-align"><%= link_to script_listing.scriptlastestrelease, script_listing_path(script_listing) %></td> <td class="vert-align"><%= link_to script_listing.scriptbetarelease, script_listing_path(script_listing) %></td> @@ -67,8 +78,7 @@ </div> </div> </div> </div> - </div> <!-- Page Content -->