phcscriptcdnpro 1.6.6 → 1.6.7

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: 9d8220e6e95e0489bc490c3181f7873c9cfafcb5
4
- data.tar.gz: dd2c232b556cc093a93b802e8b584e38798fdb86
3
+ metadata.gz: 7bd1a595f8dce2f63db8d738a4f7859bc5323f96
4
+ data.tar.gz: 8f3f69dd49594e95b9ad4a6af55eb8d86c3b4c1c
5
5
  SHA512:
6
- metadata.gz: d67c26f88f81042ee5f0f197d1493d81515cd1adadf37858578ef140be7ca8bd27239df0cbf30366ab25490aeee62cb1ee86ba747a055f403ea7bc62bc5dc9ae
7
- data.tar.gz: 4143ee370bd30c35c51b29e612f445051fe2fa523d609cd078041d2673aaa29fd74fc35cad31497b2dc0ba5f0d914da0bb8e77459eb358b62ea19c1d00c64013
6
+ metadata.gz: 49a00b5f42da9d85b9908d52cccc6519e8b95f6cdbd1d6fb52f8d75d29290f5d4a7758f6a09eee738fe019944c370acfdedc1a3dafec9ab39cfe5f4c1a66d573
7
+ data.tar.gz: cf62618cb16b25b0b111b21bce6aa2bfa88e45f70d2e040b3931c8a9812304851ca109eb96e51b193c90c193670849b6143da6cf2ff1a39ba03b9750f8570995
@@ -42,14 +42,15 @@
42
42
  <tr>
43
43
  <th>Firstname</th>
44
44
  <th>Lastname</th>
45
- <th>Script</th>
45
+ <th></th>
46
46
  </tr>
47
47
  </thead>
48
48
  <tbody>
49
49
  <% @scriptcdn_authors.each do |scriptcdn_author| %>
50
50
  <tr>
51
- <td><%= scriptcdn_author.authorfirstname %></td>
52
- <td><%= scriptcdn_author.authorlastname %></td>
51
+ <td><%= link_to scriptcdn_author.authorfirstname, edit_scriptcdn_main_author_path %></td>
52
+ <td><%= link_to scriptcdn_author.authorlastname, edit_scriptcdn_main_author_path %></td>
53
+ <td><%= link_to 'Destroy', scriptcdn_main_author, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %></td>
53
54
  </tr>
54
55
  <% end %>
55
56
  </tbody>
@@ -24,7 +24,7 @@
24
24
  </div>
25
25
  <div class="actions">
26
26
  <%= link_to new_scriptcdn_main_url_path, class: "btn blue-chambray" do %>
27
- <i class="fa fa-plus"></i> Add a New Script
27
+ <i class="fa fa-plus"></i> Add a New Script Url
28
28
  <% end %>
29
29
  </div>
30
30
  </div>
@@ -41,7 +41,8 @@
41
41
  <tbody>
42
42
  <% @scriptcdn_urls.each do |scriptcdn_url| %>
43
43
  <tr>
44
- <td><%= scriptcdn_url.scripturl %></td>
44
+ <td><%= link_to scriptcdn_url.scripturl, edit_scriptcdn_main_url_path %></td>
45
+ <td><%= link_to 'Destroy', scriptcdn_main_url, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %></td>
45
46
  </tr>
46
47
  <% end %>
47
48
  </tbody>
@@ -6,7 +6,7 @@
6
6
  <%= f.label :scriptversion %>
7
7
  <%= f.text_field :scriptversion, placeholder: "Script Version", class: "form-control" %>
8
8
  </div>
9
- <div class="actions">
9
+ <div class="form-group field_with_error">
10
10
  <%= f.submit class: "btn blue-hoki" %>
11
11
  </div>
12
12
 
@@ -41,11 +41,8 @@
41
41
  <tbody>
42
42
  <% @scriptcdn_scriptversions.each do |scriptcdn_version| %>
43
43
  <tr>
44
- <td><%= scriptcdn_version.scrptversion %></td>
45
- <td>
46
- <%= link_to 'Edit', edit_scriptcdn_version_path(scriptcdn_version), class: "btn blue-chambray" %>
47
- <%= link_to 'Destroy', scriptcdn_version, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %>
48
- </td>
44
+ <td><%= link_to scriptcdn_version.scrptversion, edit_scriptcdn_version_path(scriptcdn_version) %></td>
45
+ <td><%= link_to 'Destroy', scriptcdn_version, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %></td>
49
46
  </tr>
50
47
  <% end %>
51
48
  </tbody>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "1.6.6"
2
+ VERSION = "1.6.7"
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: 1.6.6
4
+ version: 1.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts