think_feel_do_engine 3.15.4 → 3.15.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/content_provider_decorator.rb +4 -0
- data/app/views/think_feel_do_engine/bit_maker/content_providers/_form.html.erb +1 -1
- data/app/views/think_feel_do_engine/coach/group_dashboard/_learning_lesson_row.html.erb +8 -2
- data/lib/think_feel_do_engine/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e44f02df112a651ffc59483c5d7dde25f94a795
|
4
|
+
data.tar.gz: 82b15da38c77d778f67c0b19e43b0adbdc9c450f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89e6479d68ea85c6d91dd8e16f2149218d1d4212b75599c1e7ec44a19a1f9025aeefc5ff013aa19fd80e17f98e32976aec8ed11247a40735288500f550d1b57e
|
7
|
+
data.tar.gz: 184e7f387b8f33461fe129bf039e321b01df6f7fd24efcdec1ea6acdc8716ebc8e2bb987063c008c5925befdffd65f2551230085f3ca3caff708732e6e6fac21
|
@@ -17,7 +17,7 @@
|
|
17
17
|
|
18
18
|
<div class="form-group">
|
19
19
|
<%= f.label :type %>
|
20
|
-
<%= f.select :type, ContentProviderDecorator.content_provider_classes.sort_by! { |p| p.new.pretty_label }.collect { |p| [p.new.type, p] }, { prompt: "Choose Type" }, class: "form-control" %>
|
20
|
+
<%= f.select :type, ContentProviderDecorator.content_provider_classes.sort_by! { |p| p.new.pretty_label }.collect { |p| [ContentProviderDecorator.new(type: p.new.type).pretty_title, p] }, { prompt: "Choose Type" }, class: "form-control" %>
|
21
21
|
</div>
|
22
22
|
|
23
23
|
<div class="form-group">
|
@@ -1,5 +1,11 @@
|
|
1
1
|
<tr class="learning_lesson_row">
|
2
|
-
<td class="learning_lesson_title"
|
2
|
+
<td class="learning_lesson_title">
|
3
|
+
<% if content_provider.source_content %>
|
4
|
+
<%= content_provider.source_content.pretty_title %>
|
5
|
+
<% else %>
|
6
|
+
<%= ContentProviderDecorator.new(type: content_provider.type).pretty_title %>
|
7
|
+
<% end %>
|
8
|
+
</td>
|
3
9
|
<%= render partial: "think_feel_do_engine/coach/group_dashboard/lesson_completion_breakdown",
|
4
10
|
locals: { task: task } %>
|
5
|
-
</tr>
|
11
|
+
</tr>
|