radiant-reader-extension 1.3.11 → 1.3.12

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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.11
1
+ 1.3.12
@@ -1,32 +1,37 @@
1
- = render :partial => 'readers/flasher'
1
+ = render :partial => 'readers/standard_parts'
2
2
 
3
- - if current_reader && current_reader.activated?
4
- %p
5
- = t("activation_complete")
6
-
7
- - if session[:return_to]
8
- %p
9
- = link_to t("return_to_page"), session[:return_to]
10
-
11
- - content_for :title do
12
- = t('hello').titlecase
13
- = current_reader.name
14
-
15
- - else
16
- %div.activation
17
- - if @error
18
- %p.errornotice
19
- = @error
3
+ -content_for :instructions do
4
+ - if current_reader && current_reader.activated?
20
5
  %p
21
- = t('thanks_and_activation_instructions')
22
- = link_to(t("resend_activation"), new_reader_activation_url) + '.'
23
- - unless current_reader
24
- = t('enter_email_for_reminder')
6
+ = t("activation_complete")
25
7
 
26
- - content_for :title do
27
- = t('activation_sent')
8
+ - if session[:return_to]
9
+ %p
10
+ = link_to t("return_to_page"), session[:return_to]
11
+
12
+ - else
13
+ %div.activation
14
+ - if @error
15
+ %p.errornotice
16
+ = @error
17
+ %p
18
+ = t('thanks_and_activation_instructions')
19
+ = link_to(t("resend_activation"), new_reader_activation_url) + '.'
20
+ - unless current_reader
21
+ = t('enter_email_for_reminder')
28
22
 
29
23
  - content_for :breadcrumbs do
30
24
  = link_to t('Home'), '/'
31
25
  >
32
26
  = t('activate_account')
27
+
28
+ - content_for :title do
29
+ - if current_reader && current_reader.activated?
30
+ = t('hello').titlecase
31
+ = current_reader.name
32
+ - else
33
+ = t('activation_sent')
34
+
35
+
36
+
37
+ = yield :instructions
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-reader-extension}
8
- s.version = "1.3.11"
8
+ s.version = "1.3.12"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["spanner"]
@@ -1,7 +1,7 @@
1
1
  require_dependency 'application_controller'
2
2
 
3
3
  class ReaderExtension < Radiant::Extension
4
- version "1.3.11"
4
+ version "1.3.12"
5
5
  description "Provides reader/member/user registration and management functions"
6
6
  url "http://spanner.org/radiant/reader"
7
7
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-reader-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 11
10
- version: 1.3.11
9
+ - 12
10
+ version: 1.3.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - spanner