phcscriptcdnpro 5.1.5 → 5.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/phcscriptcdnpro/script/listing.rb +1 -1
- data/app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_left_sidebar.html.erb +7 -7
- data/app/views/phcscriptcdnpro/script/listings/_form.html.erb +1 -0
- data/db/migrate/20160821183652_create_phcscriptcdnpro_script_listings.rb +0 -1
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d87bfc2561d9a3b7eb8cc0fbad7e23dfadfb9bd
|
4
|
+
data.tar.gz: d2315891f7ca50d44f931942d5b4406860e2aa90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 273fcdc856c892cfbef65f313e0a3ce1043e12910ce68a9998b83dfcb76e2f0dcde3bcaa04ac833a1d8ac089d3096e2803231b95f046a3bbc8434bcfa437ccdc
|
7
|
+
data.tar.gz: 2ef8db004ad6dd666802df0500a7e11902e1cef1c67496042a9807511d9cda3f51308318029739d83d329c187e9f99adeabf0af34f0d73e0188568029b54c61f
|
@@ -7,7 +7,7 @@ module Phcscriptcdnpro
|
|
7
7
|
has_many :urls, class_name: 'Phcscriptcdnpro::Script::Url'
|
8
8
|
|
9
9
|
# Attach to Author
|
10
|
-
belongs_to :
|
10
|
+
belongs_to :author, class_name: 'Phcscriptcdnpro::Script::Author'
|
11
11
|
|
12
12
|
# Attach to Version
|
13
13
|
belongs_to :version, class_name: 'Phcscriptcdnpro::Script::Version'
|
@@ -54,20 +54,20 @@
|
|
54
54
|
<li class="<%= is_active_controller('phcscriptcdnpro/script/listings') %>">
|
55
55
|
<a href=""><i class="fa fa-code"></i> <span class="nav-label">Script Listings</span> <span class="fa arrow"></span></a>
|
56
56
|
<ul class="nav nav-second-level collapse">
|
57
|
-
<li class=""><%= link_to "All Listings", phcscriptcdnpro.script_listings_path %></li>
|
57
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/listings') %> "><%= link_to "All Listings", phcscriptcdnpro.script_listings_path %></li>
|
58
58
|
<li class=""><%= link_to "Add New Listing", phcscriptcdnpro.new_script_listing_path %></li>
|
59
59
|
</ul>
|
60
60
|
</li>
|
61
|
-
<li class="<%= is_active_controller('phcscriptcdnpro/script/authors') %> <%= is_active_controller('phcscriptcdnpro/script/
|
61
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/authors') %> <%= is_active_controller('phcscriptcdnpro/script/licences') %> <%= is_active_controller('phcscriptcdnpro/script/extensions') %> <%= is_active_controller('phcscriptcdnpro/script/versions') %>">
|
62
62
|
<a href=""><i class="fa fa-code"></i> <span class="nav-label">Script CDN Modules</span> <span class="fa arrow"></span></a>
|
63
63
|
<ul class="nav nav-second-level collapse">
|
64
|
-
<li class=""><%= link_to "All Authors", phcscriptcdnpro.script_authors_path %></li>
|
64
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/authors') %>"><%= link_to "All Authors", phcscriptcdnpro.script_authors_path %></li>
|
65
65
|
<li class=""><%= link_to "Add New Author", phcscriptcdnpro.new_script_author_path %></li>
|
66
|
-
<li class=""><%= link_to "All Licences", phcscriptcdnpro.script_licences_path %></li>
|
66
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/licences') %>"><%= link_to "All Licences", phcscriptcdnpro.script_licences_path %></li>
|
67
67
|
<li class=""><%= link_to "Add New Licence", phcscriptcdnpro.new_script_licence_path %></li>
|
68
|
-
<li class=""><%= link_to "All
|
69
|
-
<li class=""><%= link_to "Add New
|
70
|
-
<li class=""><%= link_to "All Script Versions", phcscriptcdnpro.script_versions_path %></li>
|
68
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/extensions') %>"><%= link_to "All Extensions", phcscriptcdnpro.script_extensions_path %></li>
|
69
|
+
<li class=""><%= link_to "Add New Extension", phcscriptcdnpro.new_script_extension_path %></li>
|
70
|
+
<li class="<%= is_active_controller('phcscriptcdnpro/script/versions') %> "><%= link_to "All Script Versions", phcscriptcdnpro.script_versions_path %></li>
|
71
71
|
<li class=""><%= link_to "Add New Version", phcscriptcdnpro.new_script_version_path %></li>
|
72
72
|
</ul>
|
73
73
|
</li>
|
@@ -50,6 +50,7 @@
|
|
50
50
|
<%= f.label :scriptstatus, "Script Status" %>
|
51
51
|
<%= f.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control form-control"}) %>
|
52
52
|
</div>
|
53
|
+
|
53
54
|
<div class="form-group field_with_error">
|
54
55
|
<%= f.submit class: "btn btn-primary" %>
|
55
56
|
</div>
|
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.1.
|
4
|
+
version: 5.1.6
|
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-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|