radiant-users-extension 2.1.1 → 2.1.2
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.
@@ -0,0 +1,44 @@
|
|
1
|
+
- @page_title = @user.name + ' ' + t('preferences') + ' - ' + default_page_title
|
2
|
+
- body_classes << 'edit_personal_preferences'
|
3
|
+
|
4
|
+
- render_region :main do |main|
|
5
|
+
- main.edit_header do
|
6
|
+
%h1= t('personal_preferences')
|
7
|
+
|
8
|
+
- main.edit_form do
|
9
|
+
- form_for 'user', :url => admin_preferences_url, :html => { :method => :put, 'data-onsubmit_status' => "#{t('saving_preferences')}…" } do |f|
|
10
|
+
|
11
|
+
= render :partial => 'admin/users/avatar'
|
12
|
+
|
13
|
+
= render_region :form_top, :locals => {:f => f}
|
14
|
+
|
15
|
+
- render_region :form, :locals => {:f => f} do |form|
|
16
|
+
- form.edit_name do
|
17
|
+
%p
|
18
|
+
= f.label :name, t("name")
|
19
|
+
= f.text_field :name, :class => "textbox activate", :size => 32, :maxlength => 100
|
20
|
+
|
21
|
+
- form.edit_email do
|
22
|
+
%p
|
23
|
+
= f.label :email, t("email_address"), :class => "optional"
|
24
|
+
= f.text_field "email", :class => 'textbox', :size => 32, :maxlength => 255
|
25
|
+
|
26
|
+
- form.edit_username do
|
27
|
+
%p
|
28
|
+
= f.label :login, t("username")
|
29
|
+
= f.text_field "login", :class => "textbox", :size => 32, :maxlength => 40
|
30
|
+
|
31
|
+
- form.edit_password do
|
32
|
+
= render "admin/users/password_fields", :f => f
|
33
|
+
|
34
|
+
- form.edit_locale do
|
35
|
+
%p
|
36
|
+
= f.label :locale, t('language')
|
37
|
+
= f.select "locale", available_locales_select
|
38
|
+
|
39
|
+
- render_region :form_bottom, :locals => {:f => f} do |form_bottom|
|
40
|
+
- form_bottom.edit_buttons do
|
41
|
+
%p.buttons
|
42
|
+
= save_model_button @user
|
43
|
+
= t('or')
|
44
|
+
= link_to t('cancel'), admin_url
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{radiant-users-extension}
|
8
|
-
s.version = "2.1.
|
8
|
+
s.version = "2.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Dirk Kelly"]
|
12
|
-
s.date = %q{2011-01-
|
12
|
+
s.date = %q{2011-01-24}
|
13
13
|
s.description = %q{Makes Radiant better by adding users!}
|
14
14
|
s.email = ["dk@dirkkelly.com"]
|
15
15
|
s.extra_rdoc_files = [
|
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
"app/models/designer.rb",
|
27
27
|
"app/models/user.rb",
|
28
28
|
"app/models/visitor.rb",
|
29
|
+
"app/views/admin/preferences/edit.html.haml",
|
29
30
|
"app/views/admin/users/_fields.html.haml",
|
30
31
|
"app/views/admin/users/_form.html.haml",
|
31
32
|
"app/views/admin/users/remove.html.haml",
|
@@ -89,7 +90,7 @@ Gem::Specification.new do |s|
|
|
89
90
|
s.homepage = %q{http://github.com/dirkkelly/radiant-users-extension}
|
90
91
|
s.post_install_message = %q{
|
91
92
|
Add this to your radiant project with:
|
92
|
-
config.gem 'radiant-users-extension', :version => '2.1.
|
93
|
+
config.gem 'radiant-users-extension', :version => '2.1.2'
|
93
94
|
}
|
94
95
|
s.require_paths = ["lib"]
|
95
96
|
s.rubygems_version = %q{1.4.2}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-users-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 2
|
10
|
+
version: 2.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dirk Kelly
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-01-
|
18
|
+
date: 2011-01-24 00:00:00 +08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -69,6 +69,7 @@ files:
|
|
69
69
|
- app/models/designer.rb
|
70
70
|
- app/models/user.rb
|
71
71
|
- app/models/visitor.rb
|
72
|
+
- app/views/admin/preferences/edit.html.haml
|
72
73
|
- app/views/admin/users/_fields.html.haml
|
73
74
|
- app/views/admin/users/_form.html.haml
|
74
75
|
- app/views/admin/users/remove.html.haml
|
@@ -132,7 +133,7 @@ has_rdoc: true
|
|
132
133
|
homepage: http://github.com/dirkkelly/radiant-users-extension
|
133
134
|
licenses: []
|
134
135
|
|
135
|
-
post_install_message: "\n Add this to your radiant project with:\n config.gem 'radiant-users-extension', :version => '2.1.
|
136
|
+
post_install_message: "\n Add this to your radiant project with:\n config.gem 'radiant-users-extension', :version => '2.1.2'\n "
|
136
137
|
rdoc_options: []
|
137
138
|
|
138
139
|
require_paths:
|