phcscriptcdnpro 5.3.2 → 5.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcscriptcdnpro/{frontpage/scriptlistings_controller.rb → frontend/listings_controller.rb} +1 -1
- data/app/models/phcscriptcdnpro/frontend.rb +7 -0
- data/app/models/phcscriptcdnpro/frontend/listing.rb +5 -0
- data/app/views/phcscriptcdnpro/{frontpage/scriptlistings → frontend/listings}/index.html.erb +7 -7
- data/app/views/phcscriptcdnpro/{frontpage/scriptlistings → frontend/listings}/show.html.erb +0 -0
- data/config/routes.rb +2 -2
- data/db/migrate/20170203225757_create_phcscriptcdnpro_frontend_listings.rb +8 -0
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +8 -6
- data/app/models/phcscriptcdnpro/frontpage/scriptlisting.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cef4d91150a9c078297270ac8d3600f229e9643
|
4
|
+
data.tar.gz: fae295d39101192e496fa81a3f3aadec93b1ef71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd95d330dcef6970e9b424882c253bfdf8dc89f0d0d5fa7ca77900bb483f388c9c34be1d8a4e208c8403c2e38d32ff5490708e7e9258220d77a9d0727f1b8eab
|
7
|
+
data.tar.gz: d4245d96b1f578c1f7bb24618131ac40f94029fe9aa97310b56143a86c7f54c916ba72322e044ac2ae4de4924e663a147a38bc259ef18e85340ccf02a74bc84c
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require_dependency "phcscriptcdnpro/application_controller"
|
2
2
|
|
3
3
|
module Phcscriptcdnpro
|
4
|
-
class
|
4
|
+
class Frontend::ListingsController < ApplicationController
|
5
5
|
|
6
6
|
# Change Layout
|
7
7
|
layout '/layouts/phcscriptcdnpro/frontend.html.erb'
|
data/app/views/phcscriptcdnpro/{frontpage/scriptlistings → frontend/listings}/index.html.erb
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "PHCNetworks
|
3
|
-
<% phc_title_tagline "
|
2
|
+
<% phc_title "PHCNetworks Blog" %>
|
3
|
+
<% phc_title_tagline "News & Information" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
6
6
|
<!-- Page Header -->
|
@@ -19,12 +19,12 @@
|
|
19
19
|
</div>
|
20
20
|
<!-- Left Sidebar -->
|
21
21
|
|
22
|
-
<!-- Script List -->
|
22
|
+
<!-- Script CDN List -->
|
23
23
|
<div class="col-md-9 col-sm-9">
|
24
24
|
|
25
25
|
<% @script_listings_index.each do |script_listings_index| %>
|
26
26
|
<div class="blog-post-item">
|
27
|
-
<h2><%= link_to script_listings_index.scripttitle, phcscriptcdnpro.
|
27
|
+
<h2><%= link_to script_listings_index.scripttitle, phcscriptcdnpro.frontend_listing_path(script_listings_index) %></h2>
|
28
28
|
<ul class="blog-post-info list-inline">
|
29
29
|
<li>
|
30
30
|
<%= link_to "#" do %>
|
@@ -41,10 +41,10 @@
|
|
41
41
|
<li>
|
42
42
|
<i class="fa fa-folder-open-o"></i>
|
43
43
|
<%= link_to "#" do %>
|
44
|
-
<span class="font-lato">
|
44
|
+
<span class="font-lato">Design</span>
|
45
45
|
<% end %>
|
46
46
|
<%= link_to "#" do %>
|
47
|
-
<span class="font-lato">
|
47
|
+
<span class="font-lato">Photography</span>
|
48
48
|
<% end %>
|
49
49
|
</li>
|
50
50
|
<li>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
<% end %>
|
57
57
|
|
58
58
|
</div>
|
59
|
-
<!-- Script List -->
|
59
|
+
<!-- Script CDN List -->
|
60
60
|
|
61
61
|
</div>
|
62
62
|
</div>
|
File without changes
|
data/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcscriptcdnpro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -627,7 +627,7 @@ files:
|
|
627
627
|
- app/assets/javascripts/phcscriptcdnpro/application.js
|
628
628
|
- app/assets/stylesheets/phcscriptcdnpro/application.scss
|
629
629
|
- app/controllers/phcscriptcdnpro/application_controller.rb
|
630
|
-
- app/controllers/phcscriptcdnpro/
|
630
|
+
- app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
|
631
631
|
- app/controllers/phcscriptcdnpro/script/authors_controller.rb
|
632
632
|
- app/controllers/phcscriptcdnpro/script/extensions_controller.rb
|
633
633
|
- app/controllers/phcscriptcdnpro/script/licences_controller.rb
|
@@ -638,7 +638,8 @@ files:
|
|
638
638
|
- app/jobs/phcscriptcdnpro/application_job.rb
|
639
639
|
- app/mailers/phcscriptcdnpro/application_mailer.rb
|
640
640
|
- app/models/phcscriptcdnpro/application_record.rb
|
641
|
-
- app/models/phcscriptcdnpro/
|
641
|
+
- app/models/phcscriptcdnpro/frontend.rb
|
642
|
+
- app/models/phcscriptcdnpro/frontend/listing.rb
|
642
643
|
- app/models/phcscriptcdnpro/script.rb
|
643
644
|
- app/models/phcscriptcdnpro/script/author.rb
|
644
645
|
- app/models/phcscriptcdnpro/script/extension.rb
|
@@ -652,8 +653,8 @@ files:
|
|
652
653
|
- app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_left_sidebar.html.erb
|
653
654
|
- app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_right_sidebar.html.erb
|
654
655
|
- app/views/layouts/phcscriptcdnpro/frontend.html.erb
|
655
|
-
- app/views/phcscriptcdnpro/
|
656
|
-
- app/views/phcscriptcdnpro/
|
656
|
+
- app/views/phcscriptcdnpro/frontend/listings/index.html.erb
|
657
|
+
- app/views/phcscriptcdnpro/frontend/listings/show.html.erb
|
657
658
|
- app/views/phcscriptcdnpro/script/authors/_form.html.erb
|
658
659
|
- app/views/phcscriptcdnpro/script/authors/edit.html.erb
|
659
660
|
- app/views/phcscriptcdnpro/script/authors/index.html.erb
|
@@ -691,6 +692,7 @@ files:
|
|
691
692
|
- db/migrate/20160821183805_create_phcscriptcdnpro_script_licences.rb
|
692
693
|
- db/migrate/20160821183830_create_phcscriptcdnpro_script_urls.rb
|
693
694
|
- db/migrate/20160821183946_create_phcscriptcdnpro_script_versions.rb
|
695
|
+
- db/migrate/20170203225757_create_phcscriptcdnpro_frontend_listings.rb
|
694
696
|
- lib/phcscriptcdnpro.rb
|
695
697
|
- lib/phcscriptcdnpro/engine.rb
|
696
698
|
- lib/phcscriptcdnpro/version.rb
|