ezii-os 0.0.0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Icon/r +0 -0
- data/app/assets/stylesheets/apis.scss +3 -0
- data/app/assets/stylesheets/basecamp_integrations.scss +3 -0
- data/app/assets/stylesheets/code_link_batches.scss +3 -0
- data/app/assets/stylesheets/code_link_types.scss +3 -0
- data/app/assets/stylesheets/code_links.scss +3 -0
- data/app/assets/stylesheets/codes.scss +3 -0
- data/app/assets/stylesheets/cookie_changes.scss +3 -0
- data/app/assets/stylesheets/partners/get_paids.scss +3 -0
- data/app/assets/stylesheets/searches.scss +3 -0
- data/app/assets/stylesheets/types.scss +3 -0
- data/app/controllers/apis_controller.rb +74 -0
- data/app/controllers/basecamp_integrations_controller.rb +76 -0
- data/app/controllers/code_link_batches_controller.rb +74 -0
- data/app/controllers/code_link_types_controller.rb +74 -0
- data/app/controllers/code_links_controller.rb +74 -0
- data/app/controllers/codes_controller.rb +74 -0
- data/app/controllers/cookie_changes_controller.rb +78 -0
- data/app/controllers/directories_controller.rb +14 -14
- data/app/controllers/ezii_os_files_controller.rb +14 -1
- data/app/controllers/partners/get_paids_controller.rb +74 -0
- data/app/controllers/searches_controller.rb +74 -0
- data/app/controllers/types_controller.rb +74 -0
- data/app/helpers/apis_helper.rb +2 -0
- data/app/helpers/basecamp_integrations_helper.rb +2 -0
- data/app/helpers/code_link_batches_helper.rb +2 -0
- data/app/helpers/code_link_types_helper.rb +2 -0
- data/app/helpers/code_links_helper.rb +2 -0
- data/app/helpers/codes_helper.rb +2 -0
- data/app/helpers/cookie_changes_helper.rb +2 -0
- data/app/helpers/partners/get_paids_helper.rb +2 -0
- data/app/helpers/searches_helper.rb +2 -0
- data/app/helpers/types_helper.rb +2 -0
- data/app/models/api.rb +3 -0
- data/app/models/basecamp_integration.rb +2 -0
- data/app/models/code.rb +3 -0
- data/app/models/code_link.rb +3 -0
- data/app/models/code_link_batch.rb +3 -0
- data/app/models/code_link_type.rb +3 -0
- data/app/models/cookie_change.rb +2 -0
- data/app/models/partners/get_paid.rb +2 -0
- data/app/models/partners.rb +5 -0
- data/app/models/search.rb +2 -0
- data/app/models/type.rb +3 -0
- data/app/views/apis/_api.json.jbuilder +2 -0
- data/app/views/apis/_form.html.erb +32 -0
- data/app/views/apis/edit.html.erb +6 -0
- data/app/views/apis/index.html.erb +31 -0
- data/app/views/apis/index.json.jbuilder +1 -0
- data/app/views/apis/new.html.erb +5 -0
- data/app/views/apis/show.html.erb +19 -0
- data/app/views/apis/show.json.jbuilder +1 -0
- data/app/views/basecamp_integrations/_basecamp_integration.json.jbuilder +2 -0
- data/app/views/basecamp_integrations/_form.html.erb +27 -0
- data/app/views/basecamp_integrations/edit.html.erb +6 -0
- data/app/views/basecamp_integrations/index.html.erb +29 -0
- data/app/views/basecamp_integrations/index.json.jbuilder +1 -0
- data/app/views/basecamp_integrations/new.html.erb +5 -0
- data/app/views/basecamp_integrations/show.html.erb +14 -0
- data/app/views/basecamp_integrations/show.json.jbuilder +1 -0
- data/app/views/code_link_batches/_code_link_batch.json.jbuilder +2 -0
- data/app/views/code_link_batches/_form.html.erb +27 -0
- data/app/views/code_link_batches/edit.html.erb +6 -0
- data/app/views/code_link_batches/index.html.erb +29 -0
- data/app/views/code_link_batches/index.json.jbuilder +1 -0
- data/app/views/code_link_batches/new.html.erb +5 -0
- data/app/views/code_link_batches/show.html.erb +14 -0
- data/app/views/code_link_batches/show.json.jbuilder +1 -0
- data/app/views/code_link_types/_code_link_type.json.jbuilder +2 -0
- data/app/views/code_link_types/_form.html.erb +27 -0
- data/app/views/code_link_types/edit.html.erb +6 -0
- data/app/views/code_link_types/index.html.erb +29 -0
- data/app/views/code_link_types/index.json.jbuilder +1 -0
- data/app/views/code_link_types/new.html.erb +5 -0
- data/app/views/code_link_types/show.html.erb +14 -0
- data/app/views/code_link_types/show.json.jbuilder +1 -0
- data/app/views/code_links/_code_link.json.jbuilder +2 -0
- data/app/views/code_links/_form.html.erb +32 -0
- data/app/views/code_links/edit.html.erb +6 -0
- data/app/views/code_links/index.html.erb +31 -0
- data/app/views/code_links/index.json.jbuilder +1 -0
- data/app/views/code_links/new.html.erb +5 -0
- data/app/views/code_links/show.html.erb +19 -0
- data/app/views/code_links/show.json.jbuilder +1 -0
- data/app/views/codes/_code.json.jbuilder +2 -0
- data/app/views/codes/_form.html.erb +32 -0
- data/app/views/codes/edit.html.erb +6 -0
- data/app/views/codes/index.html.erb +31 -0
- data/app/views/codes/index.json.jbuilder +1 -0
- data/app/views/codes/new.html.erb +5 -0
- data/app/views/codes/show.html.erb +19 -0
- data/app/views/codes/show.json.jbuilder +1 -0
- data/app/views/cookie_changes/_cookie_change.json.jbuilder +2 -0
- data/app/views/cookie_changes/_form.html.erb +27 -0
- data/app/views/cookie_changes/edit.html.erb +6 -0
- data/app/views/cookie_changes/index.html.erb +29 -0
- data/app/views/cookie_changes/index.json.jbuilder +1 -0
- data/app/views/cookie_changes/new.html.erb +5 -0
- data/app/views/cookie_changes/show.html.erb +14 -0
- data/app/views/cookie_changes/show.json.jbuilder +1 -0
- data/app/views/directories/show.html.erb +6 -1
- data/app/views/ezii_os_files/_wit_ai_widget.html.erb +203 -49
- data/app/views/ezii_os_files/show.html.erb +6 -9
- data/app/views/layouts/application.html.erb +212 -52
- data/app/views/partners/get_paids/_form.html.erb +27 -0
- data/app/views/partners/get_paids/_partners_get_paid.json.jbuilder +2 -0
- data/app/views/partners/get_paids/edit.html.erb +6 -0
- data/app/views/partners/get_paids/index.html.erb +29 -0
- data/app/views/partners/get_paids/index.json.jbuilder +1 -0
- data/app/views/partners/get_paids/new.html.erb +5 -0
- data/app/views/partners/get_paids/show.html.erb +14 -0
- data/app/views/partners/get_paids/show.json.jbuilder +1 -0
- data/app/views/searches/_form.html.erb +22 -0
- data/app/views/searches/_search.json.jbuilder +2 -0
- data/app/views/searches/edit.html.erb +6 -0
- data/app/views/searches/index.html.erb +27 -0
- data/app/views/searches/index.json.jbuilder +1 -0
- data/app/views/searches/new.html.erb +5 -0
- data/app/views/searches/show.html.erb +9 -0
- data/app/views/searches/show.json.jbuilder +1 -0
- data/app/views/types/_form.html.erb +22 -0
- data/app/views/types/_type.json.jbuilder +2 -0
- data/app/views/types/edit.html.erb +6 -0
- data/app/views/types/index.html.erb +27 -0
- data/app/views/types/index.json.jbuilder +1 -0
- data/app/views/types/new.html.erb +5 -0
- data/app/views/types/show.html.erb +9 -0
- data/app/views/types/show.json.jbuilder +1 -0
- data/config/credentials.yml.enc +1 -1
- data/config/routes.rb +12 -0
- data/db/development.sqlite3 +0 -0
- data/db/migrate/20190827060151_create_searches.rb +9 -0
- data/db/migrate/20190827063427_create_partners_get_paids.rb +10 -0
- data/db/migrate/20190827180750_create_basecamp_integrations.rb +10 -0
- data/db/migrate/20190827180751_create_types.rb +9 -0
- data/db/migrate/20190827180752_create_code_link_types.rb +10 -0
- data/db/migrate/20190827180753_create_code_links.rb +11 -0
- data/db/migrate/20190827180754_create_codes.rb +11 -0
- data/db/migrate/20190828104427_create_apis.rb +12 -0
- data/db/migrate/20190828105156_create_code_link_batches.rb +10 -0
- data/db/migrate/20190829174432_create_cookie_changes.rb +10 -0
- data/db/schema.rb +88 -1
- data/db/seeds.rb +4 -0
- data/db/test.sqlite3 +0 -0
- data/ezii-os-0.0.0.1.0.gem +0 -0
- data/ezii-os.gemspec +1 -1
- data/lib/tasks/task.rake +5 -0
- data/log/development.log +13283 -0
- data/test/controllers/apis_controller_test.rb +48 -0
- data/test/controllers/basecamp_integrations_controller_test.rb +48 -0
- data/test/controllers/code_link_batches_controller_test.rb +48 -0
- data/test/controllers/code_link_types_controller_test.rb +48 -0
- data/test/controllers/code_links_controller_test.rb +48 -0
- data/test/controllers/codes_controller_test.rb +48 -0
- data/test/controllers/cookie_changes_controller_test.rb +48 -0
- data/test/controllers/partners/get_paids_controller_test.rb +48 -0
- data/test/controllers/searches_controller_test.rb +48 -0
- data/test/controllers/types_controller_test.rb +48 -0
- data/test/fixtures/apis.yml +11 -0
- data/test/fixtures/basecamp_integrations.yml +9 -0
- data/test/fixtures/code_link_batches.yml +9 -0
- data/test/fixtures/code_link_types.yml +9 -0
- data/test/fixtures/code_links.yml +11 -0
- data/test/fixtures/codes.yml +11 -0
- data/test/fixtures/cookie_changes.yml +9 -0
- data/test/fixtures/partners/get_paids.yml +9 -0
- data/test/fixtures/searches.yml +7 -0
- data/test/fixtures/types.yml +7 -0
- data/test/models/api_test.rb +7 -0
- data/test/models/basecamp_integration_test.rb +7 -0
- data/test/models/code_link_batch_test.rb +7 -0
- data/test/models/code_link_test.rb +7 -0
- data/test/models/code_link_type_test.rb +7 -0
- data/test/models/code_test.rb +7 -0
- data/test/models/cookie_change_test.rb +7 -0
- data/test/models/partners/get_paid_test.rb +7 -0
- data/test/models/search_test.rb +7 -0
- data/test/models/type_test.rb +7 -0
- data/test/system/apis_test.rb +47 -0
- data/test/system/basecamp_integrations_test.rb +45 -0
- data/test/system/code_link_batches_test.rb +45 -0
- data/test/system/code_link_types_test.rb +45 -0
- data/test/system/code_links_test.rb +47 -0
- data/test/system/codes_test.rb +47 -0
- data/test/system/cookie_changes_test.rb +45 -0
- data/test/system/partners/get_paids_test.rb +45 -0
- data/test/system/searches_test.rb +43 -0
- data/test/system/types_test.rb +43 -0
- metadata +176 -1
@@ -0,0 +1,29 @@
|
|
1
|
+
<p id="notice"><%= notice %></p>
|
2
|
+
|
3
|
+
<h1>Code Link Types</h1>
|
4
|
+
|
5
|
+
<table>
|
6
|
+
<thead>
|
7
|
+
<tr>
|
8
|
+
<th>Type description</th>
|
9
|
+
<th>Type</th>
|
10
|
+
<th colspan="3"></th>
|
11
|
+
</tr>
|
12
|
+
</thead>
|
13
|
+
|
14
|
+
<tbody>
|
15
|
+
<% @code_link_types.each do |code_link_type| %>
|
16
|
+
<tr>
|
17
|
+
<td><%= code_link_type.type_description %></td>
|
18
|
+
<td><%= code_link_type.type_id %></td>
|
19
|
+
<td><%= link_to 'Show', code_link_type %></td>
|
20
|
+
<td><%= link_to 'Edit', edit_code_link_type_path(code_link_type) %></td>
|
21
|
+
<td><%= link_to 'Destroy', code_link_type, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
22
|
+
</tr>
|
23
|
+
<% end %>
|
24
|
+
</tbody>
|
25
|
+
</table>
|
26
|
+
|
27
|
+
<br>
|
28
|
+
|
29
|
+
<%= link_to 'New Code Link Type', new_code_link_type_path %>
|
@@ -0,0 +1 @@
|
|
1
|
+
json.array! @code_link_types, partial: "code_link_types/code_link_type", as: :code_link_type
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<p id="notice"><%= notice %></p>
|
2
|
+
|
3
|
+
<p>
|
4
|
+
<strong>Type description:</strong>
|
5
|
+
<%= @code_link_type.type_description %>
|
6
|
+
</p>
|
7
|
+
|
8
|
+
<p>
|
9
|
+
<strong>Type:</strong>
|
10
|
+
<%= @code_link_type.type_id %>
|
11
|
+
</p>
|
12
|
+
|
13
|
+
<%= link_to 'Edit', edit_code_link_type_path(@code_link_type) %> |
|
14
|
+
<%= link_to 'Back', code_link_types_path %>
|
@@ -0,0 +1 @@
|
|
1
|
+
json.partial! "code_link_types/code_link_type", code_link_type: @code_link_type
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<%= form_with(model: code_link, local: true) do |form| %>
|
2
|
+
<% if code_link.errors.any? %>
|
3
|
+
<div id="error_explanation">
|
4
|
+
<h2><%= pluralize(code_link.errors.count, "error") %> prohibited this code_link from being saved:</h2>
|
5
|
+
|
6
|
+
<ul>
|
7
|
+
<% code_link.errors.full_messages.each do |message| %>
|
8
|
+
<li><%= message %></li>
|
9
|
+
<% end %>
|
10
|
+
</ul>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<div class="field">
|
15
|
+
<%= form.label :link %>
|
16
|
+
<%= form.text_area :link %>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<div class="field">
|
20
|
+
<%= form.label :code_link_type_id %>
|
21
|
+
<%= form.text_field :code_link_type_id %>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="field">
|
25
|
+
<%= form.label :description %>
|
26
|
+
<%= form.text_area :description %>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div class="actions">
|
30
|
+
<%= form.submit %>
|
31
|
+
</div>
|
32
|
+
<% end %>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<p id="notice"><%= notice %></p>
|
2
|
+
|
3
|
+
<h1>Code Links</h1>
|
4
|
+
|
5
|
+
<table>
|
6
|
+
<thead>
|
7
|
+
<tr>
|
8
|
+
<th>Link</th>
|
9
|
+
<th>Code link type</th>
|
10
|
+
<th>Description</th>
|
11
|
+
<th colspan="3"></th>
|
12
|
+
</tr>
|
13
|
+
</thead>
|
14
|
+
|
15
|
+
<tbody>
|
16
|
+
<% @code_links.each do |code_link| %>
|
17
|
+
<tr>
|
18
|
+
<td><%= code_link.link %></td>
|
19
|
+
<td><%= code_link.code_link_type_id %></td>
|
20
|
+
<td><%= code_link.description %></td>
|
21
|
+
<td><%= link_to 'Show', code_link %></td>
|
22
|
+
<td><%= link_to 'Edit', edit_code_link_path(code_link) %></td>
|
23
|
+
<td><%= link_to 'Destroy', code_link, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
24
|
+
</tr>
|
25
|
+
<% end %>
|
26
|
+
</tbody>
|
27
|
+
</tbody>
|
28
|
+
</table>
|
29
|
+
|
30
|
+
<br>
|
31
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
json.array! @code_links, partial: "code_links/code_link", as: :code_link
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<p id="notice"><%= notice %></p>
|
2
|
+
|
3
|
+
<p>
|
4
|
+
<strong>Link:</strong>
|
5
|
+
<%= @code_link.link %>
|
6
|
+
</p>
|
7
|
+
|
8
|
+
<p>
|
9
|
+
<strong>Code link type:</strong>
|
10
|
+
<%= @code_link.code_link_type_id %>
|
11
|
+
</p>
|
12
|
+
|
13
|
+
<p>
|
14
|
+
<strong>Description:</strong>
|
15
|
+
<%= @code_link.description %>
|
16
|
+
</p>
|
17
|
+
|
18
|
+
<%= link_to 'Edit', edit_code_link_path(@code_link) %> |
|
19
|
+
<%= link_to 'Back', code_links_path %>
|
@@ -0,0 +1 @@
|
|
1
|
+
json.partial! "code_links/code_link", code_link: @code_link
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<%= form_with(model: code, local: true) do |form| %>
|
2
|
+
<% if code.errors.any? %>
|
3
|
+
<div id="error_explanation">
|
4
|
+
<h2><%= pluralize(code.errors.count, "error") %> prohibited this code from being saved:</h2>
|
5
|
+
|
6
|
+
<ul>
|
7
|
+
<% code.errors.full_messages.each do |message| %>
|
8
|
+
<li><%= message %></li>
|
9
|
+
<% end %>
|
10
|
+
</ul>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<div class="field">
|
15
|
+
<%= form.label :github_link %>
|
16
|
+
<%= form.text_field :github_link %>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<div class="field">
|
20
|
+
<%= form.label :gist_link %>
|
21
|
+
<%= form.text_field :gist_link %>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="field">
|
25
|
+
<%= form.label :code_links_id %>
|
26
|
+
<%= form.text_field :code_links_id %>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div class="actions">
|
30
|
+
<%= form.submit %>
|
31
|
+
</div>
|
32
|
+
<% end %>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<p id="notice"><%= notice %></p>
|
2
|
+
|
3
|
+
<h1>Codes</h1>
|
4
|
+
|
5
|
+
<table>
|
6
|
+
<thead>
|
7
|
+
<tr>
|
8
|
+
<th>Github link</th>
|
9
|
+
<th>Gist link</th>
|
10
|
+
<th>Code links</th>
|
11
|
+
<th colspan="3"></th>
|
12
|
+
</tr>
|
13
|
+
</thead>
|
14
|
+
|
15
|
+
<tbody>
|
16
|
+
<% @codes.each do |code| %>
|
17
|
+
<tr>
|
18
|
+
<td><%= code.github_link %></td>
|
19
|
+
<td><%= code.gist_link %></td>
|
20
|
+
<td><%= code.code_links_id %></td>
|
21
|
+
<td><%= link_to 'Show', code %></td>
|
22
|
+
<td><%= link_to 'Edit', edit_code_path(code) %></td>
|
23
|
+
<td><%= link_to 'Destroy', code, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
24
|
+
</tr>
|
25
|
+
<% end %>
|
26
|
+
</tbody>
|
27
|
+
</table>
|
28
|
+
|
29
|
+
<br>
|
30
|
+
|
31
|
+
<%= link_to 'New Code', new_code_path %>
|
@@ -0,0 +1 @@
|
|
1
|
+
json.array! @codes, partial: "codes/code", as: :code
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<p id="notice"><%= notice %></p>
|
2
|
+
|
3
|
+
<p>
|
4
|
+
<strong>Github link:</strong>
|
5
|
+
<%= @code.github_link %>
|
6
|
+
</p>
|
7
|
+
|
8
|
+
<p>
|
9
|
+
<strong>Gist link:</strong>
|
10
|
+
<%= @code.gist_link %>
|
11
|
+
</p>
|
12
|
+
|
13
|
+
<p>
|
14
|
+
<strong>Code links:</strong>
|
15
|
+
<%= @code.code_links_id %>
|
16
|
+
</p>
|
17
|
+
|
18
|
+
<%= link_to 'Edit', edit_code_path(@code) %> |
|
19
|
+
<%= link_to 'Back', codes_path %>
|
@@ -0,0 +1 @@
|
|
1
|
+
json.partial! "codes/code", code: @code
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<%= form_with(model: cookie_change, local: true) do |form| %>
|
2
|
+
<% if cookie_change.errors.any? %>
|
3
|
+
<div id="error_explanation">
|
4
|
+
<h2><%= pluralize(cookie_change.errors.count, "error") %> prohibited this cookie_change from being saved:</h2>
|
5
|
+
|
6
|
+
<ul>
|
7
|
+
<% cookie_change.errors.full_messages.each do |message| %>
|
8
|
+
<li><%= message %></li>
|
9
|
+
<% end %>
|
10
|
+
</ul>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<div class="field">
|
15
|
+
<%= form.label :identifier %>
|
16
|
+
<%= form.text_field :identifier %>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<div class="field">
|
20
|
+
<%= form.label :value %>
|
21
|
+
<%= form.text_field :value %>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="actions">
|
25
|
+
<%= form.submit %>
|
26
|
+
</div>
|
27
|
+
<% end %>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<p id="notice"><%= notice %></p>
|
2
|
+
|
3
|
+
<h1>Cookie Changes</h1>
|
4
|
+
|
5
|
+
<table>
|
6
|
+
<thead>
|
7
|
+
<tr>
|
8
|
+
<th>Identifier</th>
|
9
|
+
<th>Value</th>
|
10
|
+
<th colspan="3"></th>
|
11
|
+
</tr>
|
12
|
+
</thead>
|
13
|
+
|
14
|
+
<tbody>
|
15
|
+
<% @cookie_changes.each do |cookie_change| %>
|
16
|
+
<tr>
|
17
|
+
<td><%= cookie_change.identifier %></td>
|
18
|
+
<td><%= cookie_change.value %></td>
|
19
|
+
<td><%= link_to 'Show', cookie_change %></td>
|
20
|
+
<td><%= link_to 'Edit', edit_cookie_change_path(cookie_change) %></td>
|
21
|
+
<td><%= link_to 'Destroy', cookie_change, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
22
|
+
</tr>
|
23
|
+
<% end %>
|
24
|
+
</tbody>
|
25
|
+
</table>
|
26
|
+
|
27
|
+
<br>
|
28
|
+
|
29
|
+
<%= link_to 'New Cookie Change', new_cookie_change_path %>
|
@@ -0,0 +1 @@
|
|
1
|
+
json.array! @cookie_changes, partial: "cookie_changes/cookie_change", as: :cookie_change
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<p id="notice"><%= notice %></p>
|
2
|
+
|
3
|
+
<p>
|
4
|
+
<strong>Identifier:</strong>
|
5
|
+
<%= @cookie_change.identifier %>
|
6
|
+
</p>
|
7
|
+
|
8
|
+
<p>
|
9
|
+
<strong>Value:</strong>
|
10
|
+
<%= @cookie_change.value %>
|
11
|
+
</p>
|
12
|
+
|
13
|
+
<%= link_to 'Edit', edit_cookie_change_path(@cookie_change) %> |
|
14
|
+
<%= link_to 'Back', cookie_changes_path %>
|
@@ -0,0 +1 @@
|
|
1
|
+
json.partial! "cookie_changes/cookie_change", cookie_change: @cookie_change
|
@@ -11,7 +11,12 @@
|
|
11
11
|
<% end %>
|
12
12
|
|
13
13
|
<% if path.file? %>
|
14
|
-
|
14
|
+
<%= link_to('Show INLINE (admin only)', ezii_os_file_path(path.global_path, admin: true)) %>
|
15
|
+
|
16
|
+
<% case File.extname(path.file_system_path) %>
|
17
|
+
<% when '.pdf' %>
|
18
|
+
<%= link_to 'View', ezii_os_file_path(path.global_path) %>
|
19
|
+
<% when '.jpg' %>
|
15
20
|
<%= link_to 'View', ezii_os_file_path(path.global_path) %>
|
16
21
|
<% end %>
|
17
22
|
<% else %>
|