radiant-reader-extension 3.0.31 → 3.0.32

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,7 @@
31
31
  - tbody.title_cell do
32
32
  %td{:class => reader.activated? ? 'name activated' : 'name inactive'}
33
33
  = link_to gravatar_for(reader, {:size => 32}, {:class => 'avatar avatar_32x32'}), edit_admin_reader_url(reader)
34
- = link_to reader.preferred_name, edit_admin_reader_url(reader), :class => reader.trusted? ? '' : 'untrusted'
34
+ = link_to reader.name, edit_admin_reader_url(reader), :class => reader.trusted? ? '' : 'untrusted'
35
35
  %span.info
36
36
  = "#{reader.nickname}"
37
37
  - unless reader.notes.blank?
@@ -8,6 +8,9 @@
8
8
  %td.name
9
9
  %h3
10
10
  = link_to reader.preferred_name, reader_url(reader)
11
+ - if reader.preferred_name != reader.name
12
+ %span.note
13
+ = reader.name
11
14
  %td.email
12
15
  %p
13
16
  = mail_to reader.email, nil, :encode => 'hex', :replace_at => " #{t('reader_extension.at')} "
data/lib/message_tags.rb CHANGED
@@ -45,7 +45,7 @@ module MessageTags
45
45
  tag.expand
46
46
  end
47
47
 
48
- [:name, :forename, :nickname, :preferred_name, :preferred_informal_name, :surname, :email, :description].each do |field|
48
+ [:name, :forename, :nickname, :preferred_name, :preferred_informal_name, :surname, :email, :description, :honorific].each do |field|
49
49
  desc %{
50
50
  Only for use in email messages. Displays the #{field} of the reader currently being emailed.
51
51
  <pre><code><r:recipient:#{field} /></code></pre>
@@ -1,5 +1,5 @@
1
1
  module RadiantReaderExtension
2
- VERSION = '3.0.31'
2
+ VERSION = '3.0.32'
3
3
  SUMMARY = %q{Reader/viewer/visitor registration, login and access-control for Radiant CMS}
4
4
  DESCRIPTION = %q{Provides reader/member/user registration and management functions including password-reminder, group-based page access control and administrative email.}
5
5
  URL = "http://radiant.spanner.org/reader"
data/lib/reader_tags.rb CHANGED
@@ -76,7 +76,7 @@ module ReaderTags
76
76
  tag.expand if tag.locals.reader = get_reader(tag)
77
77
  end
78
78
 
79
- [:name, :forename, :surname, :nickname, :preferred_name, :preferred_informal_name, :email, :description, :login].each do |field|
79
+ [:name, :forename, :surname, :nickname, :preferred_name, :preferred_informal_name, :email, :description, :login, :honorific].each do |field|
80
80
  desc %{
81
81
  Displays the #{field} field of the current reader.
82
82
  <pre><code><r:reader:#{field} /></code></pre>
Binary file
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: 57
4
+ hash: 71
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 31
10
- version: 3.0.31
9
+ - 32
10
+ version: 3.0.32
11
11
  platform: ruby
12
12
  authors:
13
13
  - William Ross
@@ -15,7 +15,8 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-03 00:00:00 Z
18
+ date: 2011-11-14 00:00:00 +00:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: radiant-layouts-extension
@@ -331,6 +332,7 @@ files:
331
332
  - public/stylesheets/sass/admin/reader.sass
332
333
  - public/stylesheets/sass/admin/reader_group.sass
333
334
  - public/stylesheets/sass/reader.sass
335
+ - radiant-reader-extension-3.0.31.gem
334
336
  - radiant-reader-extension.gemspec
335
337
  - Rakefile
336
338
  - reader_extension.rb
@@ -356,10 +358,11 @@ files:
356
358
  - spec/models/reader_spec.rb
357
359
  - spec/spec.opts
358
360
  - spec/spec_helper.rb
361
+ has_rdoc: true
359
362
  homepage: http://radiant.spanner.org/reader
360
363
  licenses: []
361
364
 
362
- post_install_message: "\n Add this to your radiant project with a line in your Gemfile:\n\n gem 'radiant-reader-extension', '~> 3.0.31'\n\n and if you haven't already, remember to enable ActionMailer in your\n project's config/environment.rb.\n "
365
+ post_install_message: "\n Add this to your radiant project with a line in your Gemfile:\n\n gem 'radiant-reader-extension', '~> 3.0.32'\n\n and if you haven't already, remember to enable ActionMailer in your\n project's config/environment.rb.\n "
363
366
  rdoc_options: []
364
367
 
365
368
  require_paths:
@@ -385,7 +388,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
385
388
  requirements: []
386
389
 
387
390
  rubyforge_project:
388
- rubygems_version: 1.8.10
391
+ rubygems_version: 1.5.3
389
392
  signing_key:
390
393
  specification_version: 3
391
394
  summary: Reader/viewer/visitor registration, login and access-control for Radiant CMS