ucpengine 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4778aa05c0514d717b6edc7e943cd81ec72400b9
|
|
4
|
+
data.tar.gz: c099dfeb99ca95fd6d641ba8b8bb3b14bcb2957e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49ced58159f0f9a33a02bcf7b9ee4856f641109e03d49d9be1a9ed719945157951b1da445b550f072d3addbce6d4586469b2e8fbd65b3ec7d76de7f350322e15
|
|
7
|
+
data.tar.gz: a1141828b58d448006fc237e408fed14a8194e0dc17d6cd6f25454d3e918266f3a143a56b8ca041de24b25d4627cff8f26a105ac5d6e9f9246d9751e3dca2791
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
|
|
21
21
|
<div class="col s3 ucp-sidenav">
|
|
22
22
|
|
|
23
|
-
<p class="ucp-title">UCP cms
|
|
23
|
+
<p class="ucp-title">UCP cms</p>
|
|
24
24
|
|
|
25
25
|
<ul class="collection">
|
|
26
26
|
<% Ucpengine.configuration.content_classes.each do |class_name| %>
|
|
27
27
|
<li class="collection-item sidenav-item">
|
|
28
|
-
<%= link_to 'Terms of Service', entries_path(content_class: class_name.tableize) %>
|
|
28
|
+
<%= link_to 'Terms of Service Dashboard', entries_path(content_class: class_name.tableize) %>
|
|
29
29
|
</li>
|
|
30
30
|
<% end %>
|
|
31
31
|
</ul>
|
|
@@ -10,12 +10,9 @@
|
|
|
10
10
|
<%= f.label :published_at %>
|
|
11
11
|
<%= f.text_field :published_at %>
|
|
12
12
|
-->
|
|
13
|
-
|
|
14
|
-
<p>Terms of Service</p>
|
|
15
|
-
|
|
16
13
|
<div class="input-field col s12">
|
|
17
14
|
<% @entry.class.content_attributes.each do |attr_name, attr_type| %>
|
|
18
|
-
<%= f.text_area attr_name, as: attr_type, class: 'materialize-textarea' %>
|
|
15
|
+
<%= f.text_area attr_name, as: attr_type, class: 'materialize-textarea', placeholder: 'Terms of Service' %>
|
|
19
16
|
<% end %>
|
|
20
17
|
</div>
|
|
21
18
|
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
1
|
+
<table class="highlight">
|
|
2
|
+
<thead>
|
|
3
|
+
<tr>
|
|
4
|
+
<th>Version</th>
|
|
5
|
+
<th>Created</td>
|
|
6
|
+
<th>Options</th>
|
|
7
|
+
</tr>
|
|
8
|
+
</thead>
|
|
9
|
+
<tbody>
|
|
3
10
|
<% @entries.each do |entry| %>
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
<%= link_to '
|
|
9
|
-
|
|
10
|
-
</li>
|
|
11
|
+
<tr>
|
|
12
|
+
<td><%= link_to entry.version, content_entry_path(entry) %></td>
|
|
13
|
+
<td><%= time_ago_in_words entry.created_at %> ago</td>
|
|
14
|
+
<td><%= link_to 'Edit', edit_content_entry_path(entry) %>
|
|
15
|
+
<%= link_to 'Destroy', content_entry_path(entry), method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
|
16
|
+
</tr>
|
|
11
17
|
<% end %>
|
|
12
|
-
|
|
18
|
+
</table>
|
data/lib/ucpengine/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ucpengine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- johnvehr
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-11-
|
|
11
|
+
date: 2016-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|