radiant-reader-extension 1.3.12 → 1.3.13

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -23,6 +23,10 @@ Right now we are **not compatible with multi_site or the sites extension**: that
23
23
 
24
24
  Compatible with radiant 0.9.2, which isn't out yet. You can use radiant edge to try this out. Expect small changes in support of the new forum and group releases. Multi-site compatibility fixes are likely too.
25
25
 
26
+ ## Note on internationalisation and customisation
27
+
28
+ The locale strings here are generally defined in a functional rather than grammatical way. That is, they have labels like `activation_required_explanation` rather than being assembled out of smaller units. This is partly because for flexibility of translation, but also because it gives you an easy way to change the text on functional pages like reader-preferences and registration forms.
29
+
26
30
  ## Requirements
27
31
 
28
32
  Radiant 0.9.2 (or currently, edge). The [layouts](http://github.com/squaretalent/radiant-layouts-extension) and [mailer_layouts](http://github.com/spanner/radiant-mailer_layouts-extension) extensions.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.12
1
+ 1.3.13
@@ -57,7 +57,6 @@ class ReaderSessionsController < ReaderActionController
57
57
  else
58
58
  respond_to do |format|
59
59
  format.html {
60
- flash[:error] = t('login_unknown')
61
60
  render :action => :new
62
61
  }
63
62
  format.js {
@@ -75,7 +74,6 @@ class ReaderSessionsController < ReaderActionController
75
74
  session['user_id'] = nil
76
75
  current_user = nil
77
76
  end
78
- flash[:notice] = t('logout_message')
79
77
  redirect_to reader_login_url
80
78
  end
81
79
 
@@ -12,7 +12,7 @@ class ReadersController < ReaderActionController
12
12
  before_filter :require_password, :only => [:update]
13
13
 
14
14
  def index
15
- @readers = Reader.all.paginate(pagination_parameters.merge(:per_page => 60))
15
+ @readers = Reader.active.paginate(pagination_parameters.merge(:per_page => 60))
16
16
  end
17
17
 
18
18
  def show
@@ -16,9 +16,9 @@
16
16
  = @error
17
17
  %p
18
18
  = t('thanks_and_activation_instructions')
19
+
20
+ %p
19
21
  = link_to(t("resend_activation"), new_reader_activation_url) + '.'
20
- - unless current_reader
21
- = t('enter_email_for_reminder')
22
22
 
23
23
  - content_for :breadcrumbs do
24
24
  = link_to t('Home'), '/'
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-reader-extension}
8
- s.version = "1.3.12"
8
+ s.version = "1.3.13"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["spanner"]
12
- s.date = %q{2011-02-11}
12
+ s.date = %q{2011-02-16}
13
13
  s.description = %q{Centralises reader/member/user registration and management tasks for the benefit of other extensions}
14
14
  s.email = %q{will@spanner.org}
15
15
  s.extra_rdoc_files = [
data/reader_extension.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require_dependency 'application_controller'
2
2
 
3
3
  class ReaderExtension < Radiant::Extension
4
- version "1.3.12"
4
+ version "1.3.13"
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: 3
4
+ hash: 1
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 12
10
- version: 1.3.12
9
+ - 13
10
+ version: 1.3.13
11
11
  platform: ruby
12
12
  authors:
13
13
  - spanner
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-11 00:00:00 +00:00
18
+ date: 2011-02-16 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency