phcdevworks_tutorials 6.6.3 → 6.6.4

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
  SHA256:
3
- metadata.gz: 1ac40b39c8277fb0084222bcd153c68f10820de8994ac1d53097e4be7b8eb778
4
- data.tar.gz: 5c00536e27dde685c956f37950acb7fd6b36a9418c032ba8e2db731cb9d47a7a
3
+ metadata.gz: 37823642dc0e799c9785fab8eb43a9f67c4b281cd8c6f628b6ca957074fc18ec
4
+ data.tar.gz: d4d25ff8bdb9cc2728bc524664ece4eda4deaa34de7ec4c8b5bb9daac0881a50
5
5
  SHA512:
6
- metadata.gz: 1f753e0f75e161ecbdeb258b1c39fabcc8be7ed88115cabfc26b8c5203681b5e568615a435153ab84275873eb046108e42955eb8e3eeec329563a18935030185
7
- data.tar.gz: f5f506a722c1918f3201eb44327f6333460427cc6f520169bb4037b922c37a07259718788c378adc31157f3ae580de9738b98545e75b7160ca775f4904b9c272
6
+ metadata.gz: 4cfc0cf2812d8f05a2140d0a85ebd21e999122577c03252e9fbc14c1ec61a92805109b61de3c5d580a04fc8f2fd625391338bb7ec75a12385b015ed2f60dbd31
7
+ data.tar.gz: 72ecc42e6eb51a2cd211206d98db08010693b44a291744c37f2a40068e1c361c029938b22ac480f8b017d2fd4a478936fb95c22a715bcf1e5c6d0dc5b9de5753
@@ -88,7 +88,7 @@ module PhcdevworksTutorials
88
88
 
89
89
  # Whitelist
90
90
  def command_item_params
91
- params.require(:command_item).permit(:item_name, :item_description, :item_copy_command, :item_image, :slug, :user_id, :org_id)
91
+ params.require(:command_item).permit(:item_title, :item_description, :item_copy_command, :item_image, :slug, :user_id, :org_id)
92
92
  end
93
93
 
94
94
  end
@@ -1,96 +0,0 @@
1
- <!-- -PHC- Content - SEO -->
2
- <% phc_seo_title "Web and App Development Tutorials" %>
3
- <% phc_seo_description "Tutorials and lessons on " + @phcdevworks_commands_single.post_title %>
4
- <% phc_breadcrumb_one link_to "Home", main_app.root_path %>
5
- <% phc_breadcrumb_two link_to "Tutorials", phcdevworks_tutorials.blog_tutorials_path %>
6
- <% phc_breadcrumb_three @phcdevworks_commands_single.post_title %>
7
- <!-- -PHC- Content - SEO -->
8
-
9
- <!-- PHC- Content - Title and Breadcrumbs - Container -->
10
- <section class="bg-theme-color-light p-0">
11
- <div class="container py-5">
12
-
13
- <!-- PHC- Content - Title and Breadcrumbs - Container - Title -->
14
- <h1 class="h3"><%= yield(:phc_seo_title) %></h1>
15
- <!-- PHC- Content - Title and Breadcrumbs - Container - Title -->
16
-
17
- <!-- PHC- Content - Title and Breadcrumbs - Container - Breadcrumbs -->
18
- <nav aria-label="breadcrumb">
19
- <ol class="breadcrumb fs--14">
20
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
21
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
22
- <li class="breadcrumb-item active" aria-current="page"><%= yield(:phc_breadcrumb_three) %></li>
23
- </ol>
24
- </nav>
25
- <!-- PHC- Content - Title and Breadcrumbs - Container - Breadcrumbs -->
26
-
27
- </div>
28
- </section>
29
- <!-- PHC- Content - Title and Breadcrumbs - Container -->
30
-
31
-
32
- <!-- PHC- Content - Tutorial Content - Container -->
33
- <section class="position-relative">
34
- <div class="container">
35
- <div class="timeline-container">
36
-
37
- <!-- PHC- Content - Tutorial Content - Container - Tutorial TItle -->
38
- <h2 class="font-weight-normal timeline-title border-primary mb-5 pt-2 pb-2">
39
- <%= @phcdevworks_commands_single.post_title %>
40
- <nav aria-label="breadcrumb">
41
- <ol class="breadcrumb fs--14 mb-2">
42
- <% @phcdevworks_commands_single.categories.each do |tutorial_categories| %>
43
- <li class="breadcrumb-item"><%= tutorial_categories.category_name %></li>
44
- <% end %>
45
- </ol>
46
- </nav>
47
- </h2>
48
- <!-- PHC- Content - Tutorial Content - Container - Tutorial TItle -->
49
-
50
- <!-- PHC- Content - Tutorial Content - Container - Tutorial Step -->
51
- <% @phcdevworks_commands_single.steps.order("step_number").each do |tutorial_steps| %>
52
- <div class="d-flex mb-4" data-aos="fade-in" data-aos-delay="150" data-aos-offset="0">
53
- <i class="badge bg-white border-dark rounded-circle mt-2"></i>
54
- <div class="w--120 mx-1 flex-none">
55
- <p class="w--90 fs--14 text-break">
56
- <b class="d-block text-primary">Step <%= tutorial_steps.step_number %></b>
57
- <%= tutorial_steps.step_title %>
58
- </p>
59
- </div>
60
- <div class="flex-grow-1 lead bg-light p--15 position-relative transition-hover-end transition-all-ease-250">
61
- <i class="arrow arrow-start border-light mt-2"></i>
62
- <p class="h3 mb-3"><%= tutorial_steps.step_title %></p>
63
- <%= tutorial_steps.step_description.html_safe %>
64
- <% if tutorial_steps.step_copy_instruction? %>
65
- <div class="input-group input-group-sm my-3">
66
- <div class="input-group-prepend">
67
- <span class="input-group-text" id="phc_clipboard_copy-<%= tutorial_steps.id %>" data-clipboard-target="#phc_copy_text-<%= tutorial_steps.id %>">
68
- <i class="fad fa-cut"></i>
69
- </span>
70
- </div>
71
- <input id="phc_copy_text-<%= tutorial_steps.id %>" type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-sm" value="<%= tutorial_steps.step_copy_instruction %>" readonly>
72
- </div>
73
- <% end %>
74
- <script>
75
- var copy_text = document.getElementById("phc_clipboard_copy-<%= tutorial_steps.id %>");
76
- var clipboard = new ClipboardJS(copy_text);
77
- clipboard.on("success", function(e) {
78
- console.log(e);
79
- });
80
- clipboard.on("error", function(e) {
81
- console.log(e);
82
- });
83
- </script>
84
- </div>
85
- </div>
86
- <% end %>
87
- <!-- PHC- Content - Tutorial Content - Container - Tutorial Step -->
88
-
89
- <!-- PHC- Content - Tutorial Content - Container - Tutorial Keywords -->
90
- <p class="timeline-content"></p>
91
- <!-- PHC- Content - Tutorial Content - Container - Tutorial Keywords -->
92
-
93
- </div>
94
- </div>
95
- </section>
96
- <!-- PHC- Content - Tutorial Content - Container -->
@@ -7,8 +7,8 @@
7
7
 
8
8
  <!-- Form Input Fields -->
9
9
  <div class="form-group">
10
- <%= form.label :item_name, "Command Name" %>
11
- <%= form.text_field :item_name, class: "form-control" %>
10
+ <%= form.label :item_title, "Command Name" %>
11
+ <%= form.text_field :item_title, class: "form-control" %>
12
12
  </div>
13
13
 
14
14
  <div class="form-group">
@@ -48,7 +48,7 @@
48
48
  <tbody>
49
49
  <% @command_items.each do |command_item| %>
50
50
  <tr>
51
- <td><%= command_item.item_name %></td>
51
+ <td><%= command_item.item_title %></td>
52
52
  <td><%= command_item.item_description %></td>
53
53
  <td><%= command_item.item_copy_command %></td>
54
54
  <td>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <p>
4
4
  <strong>Item name:</strong>
5
- <%= @command_item.item_name %>
5
+ <%= @command_item.item_title %>
6
6
  </p>
7
7
 
8
8
  <p>
@@ -2,7 +2,7 @@ class CreatePhcdevworksTutorialsCommandItems < ActiveRecord::Migration[6.0]
2
2
  def change
3
3
  create_table :phcdevworks_tutorials_command_items do |t|
4
4
 
5
- t.string :item_name
5
+ t.string :item_title
6
6
  t.text :item_description
7
7
  t.string :item_copy_command
8
8
  t.string :item_image
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksTutorials
2
- VERSION = "6.6.3"
2
+ VERSION = "6.6.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_tutorials
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.6.3
4
+ version: 6.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks