phcscriptcdnpro 3.5.0 → 3.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da675279ddafb44c1ac0a0609837560cd3ad2ffe
4
- data.tar.gz: b14f911fb9b1a80aeeda581c4be345a3c2ef8da6
3
+ metadata.gz: 2f40ac2a6df1b871d38af8f25420705aab10510e
4
+ data.tar.gz: b2043672a30f385b7ebd2889c8b341222982a806
5
5
  SHA512:
6
- metadata.gz: 2a92bd7964e0b4945e21ee706d45190c441ce8d9c725e7211f0f32a803712f6f4871fbf83598f38f589211e24e0c4064a607508c4427e07076069b0117bb2ffb
7
- data.tar.gz: 36c90dfb77511d1d61df0c6380bae881917fe9955f83f10621465f37601d91d6e147459e407530839dd295ceaeece707295dcb9da8b00830b6c5f24b4d47c9d4
6
+ metadata.gz: 8683187a68baa24fe4cf933bc42b925da3066445a19a7f861729df27b81b70649081aad3305fdfad263c0e4c7f9650399d0b8785492a88cdd97aaf664b427131
7
+ data.tar.gz: 569218b30e22714ffe64767de911dc32fca2d7e6c242073cfdc1605dce4adca33ed90b4766f92e77434d4968f45df0502320454753e4b6807cc4cf145d77fe97
@@ -8,12 +8,12 @@ module Phcscriptcdnpro
8
8
 
9
9
  # Script List FrontEnd
10
10
  def index
11
- @scriptcdn_mains = Scriptcdn::Main.all
11
+ @script_listings = Script::Listing.all
12
12
  end
13
13
 
14
14
  # Script List BackEnd
15
15
  def show
16
- @scriptcdn_main = Scriptcdn::Main.find(params[:id])
16
+ @script_listing = Script::Listing.find(params[:id])
17
17
  end
18
18
 
19
19
  end
@@ -7,9 +7,9 @@
7
7
  <div class="col-md-12">
8
8
 
9
9
  <div class="list-group">
10
- <% @scriptcdn_mains.each do |scriptcdn_main| %>
11
- <%= link_to phcscriptcdnpro.cdnsite_cdnpage_path(scriptcdn_main), class: "list-group-item" do %>
12
- <h4 class="list-group-item-heading"><%= scriptcdn_main.scriptname %></h4>
10
+ <% @script_listings.each do |script_listing| %>
11
+ <%= link_to phcscriptcdnpro.cdnsite_cdnpage_path(script_listing), class: "list-group-item" do %>
12
+ <h4 class="list-group-item-heading"><%= script_listing.scripttitle %></h4>
13
13
  <% end %>
14
14
  <% end %>
15
15
  </div>
@@ -6,7 +6,7 @@
6
6
  <div class="container">
7
7
 
8
8
  <div class="row nomargin">
9
- <% @scriptcdn_main.informations.each do |information| %>
9
+ <% @script_listing.urls.each do |url| %>
10
10
  <div class="col-md-8 col-sm-8">
11
11
 
12
12
  <div class="panel panel-default">
@@ -15,57 +15,21 @@
15
15
 
16
16
  <!-- Start Subtitle -->
17
17
  <div class="heading-title heading-border">
18
- <h2><%= information.scripttitle %> <span><%= information.scriptplatform %></span></h2>
18
+ <h2><%= url.listing.scripttitle %> <span><%= url.listing.scriptstatus %></span></h2>
19
19
  <ul class="list-inline categories nomargin">
20
- <li><%= information.scriptcategory %></li>
20
+ <li><%= url.listing.scriptstatus %></li>
21
21
  </ul>
22
22
  </div>
23
23
  <!-- End Subtitle -->
24
24
 
25
25
  <!-- Start Description -->
26
- <p class="font-lato size-18"><%= information.scriptdescription %></p>
26
+ <p class="font-lato size-18"><%= url.listing.scriptdescription %></p>
27
27
  <!-- End Description -->
28
28
 
29
29
  </div>
30
30
 
31
31
  <div class="panel-footer">
32
- <small><strong>Created:</strong> <%= l(information.created_at, format: :long) %> / <strong>Updated:</strong> <%= l(information.updated_at, format: :long) %></small>
33
- </div>
34
-
35
- </div>
36
-
37
- </div>
38
-
39
- <div class="col-md-4 col-sm-4">
40
-
41
- <div class="panel panel-default">
42
-
43
- <div class="panel-body">
44
-
45
- <ul class="portfolio-detail-list list-unstyled nomargin">
46
- <li><span><i class="fa fa-user"></i>Status:</span> <%= information.scriptstatus %></li>
47
- <li><span><i class="fa fa-calendar"></i>Released:</span> <%= l(information.scriptinitialrelease, format: :long) %></li>
48
- <li><span><i class="fa fa-lightbulb-o"></i>Licence:</span> <%= information.scriptlicence %></li>
49
- <li><span><i class="fa fa-link"></i>Website:</span> <a href="<%= information.scriptwebsite %>"><%= information.scriptwebsite %></a></li>
50
- </ul>
51
-
52
- </div>
53
-
54
- <div class="panel-footer">
55
-
56
- <!-- Start Social Icons -->
57
- <a href="<%= information.scriptgithub %>" class="social-icon social-icon-sm social-icon-transparent social-github" data-toggle="tooltip" data-placement="top" title="GitHub" target="_blank">
58
-
59
- <i class="icon-github"></i>
60
- <i class="icon-github"></i>
61
- </a>
62
-
63
- <a href="<%= information.scripttwitter %>" class="social-icon social-icon-sm social-icon-transparent social-twitter" data-toggle="tooltip" data-placement="top" title="Twitter" target="_blank">
64
- <i class="icon-twitter"></i>
65
- <i class="icon-twitter"></i>
66
- </a>
67
- <!-- End Social Icons -->
68
-
32
+ <small><strong>Created:</strong> <%= l(url.created_at, format: :long) %> / <strong>Updated:</strong> <%= l(url.updated_at, format: :long) %></small>
69
33
  </div>
70
34
 
71
35
  </div>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "3.5.0"
2
+ VERSION = "3.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcscriptcdnpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts