phcdevworks_tutorials 5.0.2 → 5.1.0

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: 80daee0d81bd02742cbdbeb91a064cc7f346e9118c5d172c40a2da88d6bdde61
4
- data.tar.gz: 11f7493e198958a61fadbd6311ea4715a1e57e249fd3b6de98c1e54d7ef9926b
3
+ metadata.gz: e6ea605f113b11010c39bafcca9fdee3e2c04bc7664f3eb5ee766f28857336d3
4
+ data.tar.gz: 85b6991f328f58d12e122f634f9af61743d35ae321b5df73d4f978ace01b4e06
5
5
  SHA512:
6
- metadata.gz: 433a2856ba6b4941b3dec999453e40cfceeb55b25ead4fba056518aac9b850ae76c19d7ed6112007a5c5e2058af34a8a2163eb352dbc7089f186d81744c192a0
7
- data.tar.gz: 1f8373fefb11ba10abb27f8533fe3edb879eb5d1c7498f15194fe2e4cf64af8ae6214d60e471fea921da74f75cc43c168db31f4c68970a5bc93c920298c5f811
6
+ metadata.gz: b75088e17150154d0f164a2c8e818a9bc21303a7624aeaed9f9005b49751a4cd687db8d917c6d810c6d020635e2abc88850d147b39fef0aafa24e69d593c8efa
7
+ data.tar.gz: 8e010e61dbff715b0cc049d130f3cfdeae73d44315d9acf3d0048d1113d71f445182cb79dc1d83131f110031e5521c3ecb1c2a9a94d897254b0651b75230648e
@@ -1,4 +1,76 @@
1
- <p id="notice"><%= notice %></p>
1
+ <!-- PHCTitleSEO Title Variables -->
2
+ <% phc_title "Tutorial Post Manager" %>
3
+ <% phc_title_tagline "Detailed Tutorial Information" %>
4
+ <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
+ <% phc_breadcrumb_two link_to "Category Index", phcdevworks_tutorials.tutorial_categories_path %>
6
+ <!-- PHCTitleSEO Title Variables -->
2
7
 
3
- <%= link_to 'Edit', edit_tutorial_post_path(@tutorial_post) %> |
4
- <%= link_to 'Back', tutorial_posts_path %>
8
+ <!-- Page Bradcrumbs -->
9
+ <ol class="breadcrumb pull-right">
10
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
+ </ol>
13
+ <!-- Page Bradcrumbs -->
14
+
15
+ <!-- Page Header -->
16
+ <h2 class="page-header"><%= yield(:phc_title) %></h2>
17
+ <!-- Page Header -->
18
+
19
+ <!-- Page Content -->
20
+ <div class="row">
21
+ <div class="col-lg-12">
22
+
23
+ <!-- Panel -->
24
+ <div class="panel panel-inverse">
25
+
26
+ <!-- Panel - Heading -->
27
+ <div class="panel-heading">
28
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
29
+ </div>
30
+ <!-- Panel - Heading -->
31
+
32
+ <!-- Panel - Body -->
33
+ <div class="panel-body">
34
+
35
+ <!-- Index - Table -->
36
+ <div class="table-responsive">
37
+ <table class="table table-striped table-bordered">
38
+
39
+ <thead>
40
+ <tr>
41
+ <th>Tutorial Step Number</th>
42
+ <th>Tutorial Step Title</th>
43
+ <th>Tutorial Description</th>
44
+ </tr>
45
+ </thead>
46
+
47
+ <tbody>
48
+ <% @tutorial_post.steps.each do |tutorial_step| %>
49
+ <tr>
50
+ <td><%= tutorial_step.step_number %></td>
51
+ <td><%= tutorial_step.step_title %></td>
52
+ <td><%= tutorial_step.step_description %></td>
53
+ </tr>
54
+ <% end %>
55
+ </tbody>
56
+
57
+ </table>
58
+ </div>
59
+ <!-- Index - Table -->
60
+
61
+ <!-- New Button -->
62
+ <%= link_to phcdevworks_tutorials.tutorial_post_steps_path(@tutorial_post), class: "btn btn-primary btn-sm" do %>
63
+ <i class="fad fa-plus-circle"></i>
64
+ Add or Update Tutorial Steps
65
+ <% end %>
66
+ <!-- New Button -->
67
+
68
+ </div>
69
+ <!-- Panel - Body -->
70
+
71
+ </div>
72
+ <!-- Panel -->
73
+
74
+ </div>
75
+ </div>
76
+ <!-- Page Content -->
@@ -0,0 +1,7 @@
1
+ class AddCopyInstructionsToSteps < ActiveRecord::Migration[6.0]
2
+ def change
3
+
4
+ add_column :phcdevworks_tutorials_tutorial_steps, :step_copy_instruction, :string
5
+
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksTutorials
2
- VERSION = "5.0.2"
2
+ VERSION = "5.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_tutorials
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.2
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-05 00:00:00.000000000 Z
11
+ date: 2019-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -316,6 +316,7 @@ files:
316
316
  - db/migrate/20191102093129_create_phcdevworks_tutorials_tutorial_post_versions.rb
317
317
  - db/migrate/20191102093146_create_phcdevworks_tutorials_tutorial_step_versions.rb
318
318
  - db/migrate/20191102093157_create_phcdevworks_tutorials_tutorial_category_versions.rb
319
+ - db/migrate/20191110232654_add_copy_instructions_to_steps.rb
319
320
  - lib/phcdevworks_tutorials.rb
320
321
  - lib/phcdevworks_tutorials/engine.rb
321
322
  - lib/phcdevworks_tutorials/version.rb