woople-theme 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -47,12 +47,16 @@ class OutlineAssessmentPresenter < ExplicitDelegator
|
|
47
47
|
yield OpenStruct.new(
|
48
48
|
css_class: 'alert-success',
|
49
49
|
heading: I18n.t('woople_theme.assessment.pass_alert.heading'),
|
50
|
-
|
50
|
+
link: history.first.url,
|
51
|
+
link_text: I18n.t('woople_theme.assessment.pass_alert.link_text'),
|
52
|
+
message: ''
|
51
53
|
)
|
52
54
|
else
|
53
55
|
yield OpenStruct.new(
|
54
56
|
css_class: 'alert-error',
|
55
57
|
heading: I18n.t('woople_theme.assessment.fail_alert.heading'),
|
58
|
+
link: history.first.url,
|
59
|
+
link_text: I18n.t('woople_theme.assessment.fail_alert.link_text'),
|
56
60
|
message: I18n.t('woople_theme.assessment.fail_alert.message')
|
57
61
|
)
|
58
62
|
end
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<% assessment.render_pass_fail_alert do |alert| %>
|
19
19
|
<div class="alert <%= alert.css_class %> fade in">
|
20
20
|
<button class="close" data-dismiss="alert">×</button>
|
21
|
-
<strong><%= alert.heading %></strong> <%= alert.message %>
|
21
|
+
<strong><%= alert.heading %></strong> <a href="<%= alert.link %>"><%= alert.link_text %></a> <%= alert.message %>
|
22
22
|
</div>
|
23
23
|
<% end %>
|
24
24
|
|
data/config/locales/en.yml
CHANGED
@@ -37,11 +37,12 @@ en:
|
|
37
37
|
passed: passed
|
38
38
|
failed: failed
|
39
39
|
pass_alert:
|
40
|
-
heading:
|
41
|
-
|
40
|
+
heading: Congratulations, you passed.
|
41
|
+
link_text: View your results.
|
42
42
|
fail_alert:
|
43
|
-
heading:
|
44
|
-
|
43
|
+
heading: Sorry, please try again.
|
44
|
+
link_text: View your results.
|
45
|
+
message: Rewatch the lessons below to retake the assessment.
|
45
46
|
result: Assessment Result
|
46
47
|
result_status:
|
47
48
|
one: On %{completed_at} you %{status} this assessment by answering %{correct_questions}/%{total_questions} question correctly for a %{score} score.
|
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.3.
|
4
|
+
version: 0.3.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70137780722520 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,31 +21,21 @@ dependencies:
|
|
21
21
|
version: 3.2.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 3.2.5
|
24
|
+
version_requirements: *70137780722520
|
30
25
|
- !ruby/object:Gem::Dependency
|
31
26
|
name: less-rails-bootstrap
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &70137780721920 !ruby/object:Gem::Requirement
|
33
28
|
none: false
|
34
29
|
requirements:
|
35
|
-
- -
|
30
|
+
- - =
|
36
31
|
- !ruby/object:Gem::Version
|
37
32
|
version: 2.0.13
|
38
33
|
type: :runtime
|
39
34
|
prerelease: false
|
40
|
-
version_requirements:
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - '='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: 2.0.13
|
35
|
+
version_requirements: *70137780721920
|
46
36
|
- !ruby/object:Gem::Dependency
|
47
37
|
name: therubyracer
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirement: &70137780721380 !ruby/object:Gem::Requirement
|
49
39
|
none: false
|
50
40
|
requirements:
|
51
41
|
- - ! '>='
|
@@ -53,15 +43,10 @@ dependencies:
|
|
53
43
|
version: '0'
|
54
44
|
type: :runtime
|
55
45
|
prerelease: false
|
56
|
-
version_requirements:
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ! '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
46
|
+
version_requirements: *70137780721380
|
62
47
|
- !ruby/object:Gem::Dependency
|
63
48
|
name: bundler
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirement: &70137780720800 !ruby/object:Gem::Requirement
|
65
50
|
none: false
|
66
51
|
requirements:
|
67
52
|
- - ! '>='
|
@@ -69,15 +54,10 @@ dependencies:
|
|
69
54
|
version: '0'
|
70
55
|
type: :development
|
71
56
|
prerelease: false
|
72
|
-
version_requirements:
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
57
|
+
version_requirements: *70137780720800
|
78
58
|
- !ruby/object:Gem::Dependency
|
79
59
|
name: sqlite3
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirement: &70137780720300 !ruby/object:Gem::Requirement
|
81
61
|
none: false
|
82
62
|
requirements:
|
83
63
|
- - ! '>='
|
@@ -85,31 +65,21 @@ dependencies:
|
|
85
65
|
version: '0'
|
86
66
|
type: :development
|
87
67
|
prerelease: false
|
88
|
-
version_requirements:
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ! '>='
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: '0'
|
68
|
+
version_requirements: *70137780720300
|
94
69
|
- !ruby/object:Gem::Dependency
|
95
70
|
name: rspec-rails
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirement: &70137780713600 !ruby/object:Gem::Requirement
|
97
72
|
none: false
|
98
73
|
requirements:
|
99
|
-
- -
|
74
|
+
- - =
|
100
75
|
- !ruby/object:Gem::Version
|
101
76
|
version: 2.11.0
|
102
77
|
type: :development
|
103
78
|
prerelease: false
|
104
|
-
version_requirements:
|
105
|
-
none: false
|
106
|
-
requirements:
|
107
|
-
- - '='
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: 2.11.0
|
79
|
+
version_requirements: *70137780713600
|
110
80
|
- !ruby/object:Gem::Dependency
|
111
81
|
name: capybara
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
82
|
+
requirement: &70137780713140 !ruby/object:Gem::Requirement
|
113
83
|
none: false
|
114
84
|
requirements:
|
115
85
|
- - ! '>='
|
@@ -117,12 +87,7 @@ dependencies:
|
|
117
87
|
version: '0'
|
118
88
|
type: :development
|
119
89
|
prerelease: false
|
120
|
-
version_requirements:
|
121
|
-
none: false
|
122
|
-
requirements:
|
123
|
-
- - ! '>='
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
90
|
+
version_requirements: *70137780713140
|
126
91
|
description: All Front-End all the Time
|
127
92
|
email:
|
128
93
|
- developers@bigbangtechnology.com
|
@@ -266,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
231
|
version: '0'
|
267
232
|
requirements: []
|
268
233
|
rubyforge_project:
|
269
|
-
rubygems_version: 1.8.
|
234
|
+
rubygems_version: 1.8.15
|
270
235
|
signing_key:
|
271
236
|
specification_version: 3
|
272
237
|
summary: Our Front-End CSS Framework/Theme
|