headstart 0.5.2 → 0.5.3

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
- 0.5.2
1
+ 0.5.3
@@ -15,14 +15,5 @@ class HeadstartMailer
15
15
  GenericMailer.deliver_welcome(user)
16
16
  end
17
17
  end
18
-
19
- def self.deliver_confirmation(user)
20
- if MadMimiMailer.api_settings.present? && MadMimiMailer.api_settings[:username].present? && MadMimiMailer.api_settings[:api_key].present?
21
- MimiMailer.deliver_confirmation(user)
22
- else
23
- GenericMailer.deliver_confirmation(user)
24
- end
25
- end
26
-
27
18
 
28
19
  end
@@ -1 +1,7 @@
1
- Welcome
1
+ Welcome to <%= Settings.title %>. Thanks for registering and trying it out. Please <%= link_to "click here", new_user_confirmation_url(
2
+ :user_id => @user,
3
+ :token => @user.confirmation_token,
4
+ :encode => false) %> to confirm you received this email and activate your account.
5
+
6
+ Thank you,
7
+ Team <%= Settings.title %>
@@ -12,8 +12,8 @@
12
12
  <%= form.text_field :email %>
13
13
  </p>
14
14
  <p class="text_field">
15
- <%= form.label :password %></p>
16
- <%= form.password_field :password %></p>
15
+ <%= form.label :password %>
16
+ <%= form.password_field :password %>
17
17
  </p>
18
18
  <p class="password_field">
19
19
  <%= form.label :password_confirmation, "Confirm password" %>
@@ -1,7 +1,7 @@
1
1
  <%= render :partial => 'admin/admin_header' %>
2
2
  <div class="report">
3
3
  <h2>Users</h2>
4
- <%= link_to image_tag("/images/add.png", :border=>0)+" New user", {:action => :new}, {:style => "font-size:12px;"} %>
4
+ <%= link_to image_tag("/images/add.png", :border=>0)+" New user", {:action => :new}, {:style => "font-size:12px;text-decoration:none"} %>
5
5
 
6
6
 
7
7
  <%= will_paginate @users %>
@@ -233,10 +233,7 @@ module Headstart
233
233
  end
234
234
  end
235
235
  end
236
-
237
- def send_confirmation_email
238
- HeadstartMailer.deliver_confirmation self
239
- end
236
+
240
237
 
241
238
  end
242
239
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: headstart
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 2
10
- version: 0.5.2
9
+ - 3
10
+ version: 0.5.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bran Burridge
@@ -106,7 +106,6 @@ files:
106
106
  - app/models/impersonation.rb
107
107
  - app/models/mimi_mailer.rb
108
108
  - app/views/generic_mailer/change_password.html.erb
109
- - app/views/generic_mailer/confirmation.html.erb
110
109
  - app/views/generic_mailer/welcome.html.erb
111
110
  - app/views/impersonations/index.html.erb
112
111
  - app/views/passwords/edit.html.erb
@@ -1,5 +0,0 @@
1
-
2
- <%= new_user_confirmation_url(
3
- :user_id => @user,
4
- :token => @user.confirmation_token,
5
- :encode => false) %>