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.
@@ -1,6 +1,6 @@
1
1
  @import "woople-theme/variables.css.less";
2
2
 
3
- #essentials-section {
3
+ section.certification-content {
4
4
 
5
5
  > h2 {
6
6
  padding-left:@contentPadding;
@@ -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
@@ -0,0 +1,7 @@
1
+ require 'action_view'
2
+ module WoopleTheme
3
+ module Dashboard
4
+ class ElectivesSectionPresenter < SectionPresenter
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ <% electives_section.render do %>
2
+ <section id="electives-section" class="certification-content">
3
+ <h2><%= t 'woople_theme.dashboards.member.electives_section.title' %></h2>
4
+ </section>
5
+ <% end %>
@@ -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 %>
@@ -69,6 +69,8 @@ en:
69
69
  courses:
70
70
  one: 1 course
71
71
  other: '%{count} courses'
72
+ electives_section:
73
+ title: Electives
72
74
 
73
75
  date:
74
76
  formats:
@@ -1,3 +1,3 @@
1
1
  module WoopleTheme
2
- VERSION = '0.5.7'
2
+ VERSION = '0.5.8'
3
3
  end
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.7
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-05 00:00:00.000000000 Z
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/essentials-section.css.less
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