woople-theme 0.5.7 → 0.5.8
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.
- data/app/assets/stylesheets/woople-theme/dashboard/{essentials-section.css.less → base.css.less} +1 -1
- data/app/helpers/dashboard_helper.rb +5 -0
- data/app/presenters/woople_theme/dashboard/electives_section_presenter.rb +7 -0
- data/app/views/dashboard/_electives_section.html.erb +5 -0
- data/app/views/dashboard/_essentials_section.html.erb +1 -1
- data/config/locales/en.yml +2 -0
- data/lib/woople-theme/version.rb +1 -1
- metadata +5 -3
|
@@ -9,6 +9,11 @@ module DashboardHelper
|
|
|
9
9
|
object: ThemePresentation.wrap(presenter, WoopleTheme::Dashboard::EssentialsSectionPresenter)
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
+
def electives_section(presenter)
|
|
13
|
+
render partial: 'dashboard/electives_section',
|
|
14
|
+
object: ThemePresentation.wrap(presenter, WoopleTheme::Dashboard::ElectivesSectionPresenter)
|
|
15
|
+
end
|
|
16
|
+
|
|
12
17
|
def completed_essentials(items)
|
|
13
18
|
collection = ThemePresentation.wrap_collection(items, WoopleTheme::Dashboard::CompletedEssentialPresenter)
|
|
14
19
|
render partial: 'dashboard/completed_essential', collection: collection
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<% essentials_section.render do %>
|
|
2
|
-
<section id="essentials-section">
|
|
2
|
+
<section id="essentials-section" class="certification-content">
|
|
3
3
|
<h2><%= t 'woople_theme.dashboards.member.essentials_section.title' %></h2>
|
|
4
4
|
<ul class="nav nav-tabs" id="essentials_tab_nav">
|
|
5
5
|
<% essentials_section.render_remaining do %>
|
data/config/locales/en.yml
CHANGED
data/lib/woople-theme/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: woople-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.8
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-09-
|
|
12
|
+
date: 2012-09-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -172,7 +172,7 @@ files:
|
|
|
172
172
|
- app/assets/stylesheets/woople-theme/content-item.css.less
|
|
173
173
|
- app/assets/stylesheets/woople-theme/content.css.less
|
|
174
174
|
- app/assets/stylesheets/woople-theme/course.css.less
|
|
175
|
-
- app/assets/stylesheets/woople-theme/dashboard/
|
|
175
|
+
- app/assets/stylesheets/woople-theme/dashboard/base.css.less
|
|
176
176
|
- app/assets/stylesheets/woople-theme/dashboard/status-alert.css.less
|
|
177
177
|
- app/assets/stylesheets/woople-theme/framework/index.css.less
|
|
178
178
|
- app/assets/stylesheets/woople-theme/framework/responsive.css.less
|
|
@@ -211,6 +211,7 @@ files:
|
|
|
211
211
|
- app/presenters/woople_theme/answer_presenter.rb
|
|
212
212
|
- app/presenters/woople_theme/dashboard/completed_content_item_presenter.rb
|
|
213
213
|
- app/presenters/woople_theme/dashboard/completed_essential_presenter.rb
|
|
214
|
+
- app/presenters/woople_theme/dashboard/electives_section_presenter.rb
|
|
214
215
|
- app/presenters/woople_theme/dashboard/essentials_section_presenter.rb
|
|
215
216
|
- app/presenters/woople_theme/dashboard/section_presenter.rb
|
|
216
217
|
- app/presenters/woople_theme/dashboard/status_alert_presenter.rb
|
|
@@ -219,6 +220,7 @@ files:
|
|
|
219
220
|
- app/presenters/woople_theme/submitted_question_presenter.rb
|
|
220
221
|
- app/presenters/woople_theme/video_presenter.rb
|
|
221
222
|
- app/views/dashboard/_completed_essential.html.erb
|
|
223
|
+
- app/views/dashboard/_electives_section.html.erb
|
|
222
224
|
- app/views/dashboard/_essentials_section.html.erb
|
|
223
225
|
- app/views/dashboard/_status_alert.html.erb
|
|
224
226
|
- app/views/dashboard/_total_courses.html.erb
|