tkh_mailing_list 0.10.4 → 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/app/views/profiles/edit.html.erb +4 -4
- data/app/views/profiles/show.html.erb +4 -4
- data/lib/generators/tkh_mailing_list/create_or_update_migrations/create_or_update_migrations_generator.rb +1 -1
- data/lib/tkh_mailing_list/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcef8d93b8c6a00a140bbdc8cf6a305070fdb0d8
|
4
|
+
data.tar.gz: 692a650765ad08a5fb8e3645a8964e83818b76d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 277138d76688c54ba117f73a3486e81ec5c0807b5a851929b33ff44e08472f9cd2ec3660c2454abbe6b9afa193d4d0441772a5eb3a6f0a0a2de238c137678b42
|
7
|
+
data.tar.gz: 074ed0fa450012d75f9c32686ca235ab4bc473ad772c208d6cda058cdbe19d6719bc22d0ba026855ed4068f47d2721730c841da8b9bacbdaa4ab1d02fcd6d22c
|
data/CHANGELOG.md
CHANGED
@@ -16,10 +16,10 @@
|
|
16
16
|
<%= f.input :last_name, label: t('activerecord.attributes.users.last_name') %>
|
17
17
|
<%= f.input :other_name, label: render( 'shared/other_name_label') %>
|
18
18
|
<%= f.input :portrait %>
|
19
|
-
<%= f.input :website_url %>
|
20
|
-
<%= f.input :facebook_url %>
|
21
|
-
<%= f.input :twitter_handle %>
|
22
|
-
<%= f.input :google_plus_url, label: "Google+ url" %>
|
19
|
+
<%= f.input :website_url, hint: "DO include http:// or https://" %>
|
20
|
+
<%= f.input :facebook_url, hint: "DO include http:// or https://" %>
|
21
|
+
<%= f.input :twitter_handle, hint: "DO include http:// or https://" %>
|
22
|
+
<%= f.input :google_plus_url, label: "Google+ url", hint: "DO include http:// or https://" %>
|
23
23
|
|
24
24
|
<%= f.button :submit, :class => 'btn btn-primary' %>
|
25
25
|
<% end %>
|
@@ -35,10 +35,10 @@
|
|
35
35
|
<tr><td class="key">first name</td><td class="value"><%= @profile.first_name %></td></tr>
|
36
36
|
<tr><td class="key">last name</td><td class="value"><%= @profile.last_name %></td></tr>
|
37
37
|
<tr><td class="key"><%= render 'shared/other_name_label' %></td><td class="value"><%= @profile.other_name %></td></tr>
|
38
|
-
<tr><td class="key">website</td><td class="value"><%= link_to "#{URI(student.website_url).host}#{URI(student.website_url).path}#{URI(student.website_url).query}#{URI(student.website_url).fragment}", student.website_url, rel: 'nofollow' %></td></tr>
|
39
|
-
<tr><td class="key">facebook</td><td class="value"><%= link_to "#{URI(student.facebook_url).host}#{URI(student.facebook_url).path}#{URI(student.facebook_url).query}#{URI(student.facebook_url).fragment}", student.facebook_url, rel: 'nofollow' %></td></tr>
|
40
|
-
<tr><td class="key">twitter</td><td class="value"><%= link_to student.twitter_handle, "https://twitter.com/#{student.twitter_handle}", rel: 'nofollow' %></td></tr>
|
41
|
-
<tr><td class="key">google+</td><td class="value"><%= link_to "#{URI(student.google_plus_url).host}#{URI(student.google_plus_url).path}#{URI(student.google_plus_url).query}#{URI(student.google_plus_url).fragment}", student.google_plus_url, rel: 'nofollow' %></td></tr>
|
38
|
+
<tr><td class="key">website</td><td class="value"><%= link_to "#{URI(student.website_url).host}#{URI(student.website_url).path}#{URI(student.website_url).query}#{URI(student.website_url).fragment}", student.website_url, rel: 'nofollow' unless student.website_url.nil? %></td></tr>
|
39
|
+
<tr><td class="key">facebook</td><td class="value"><%= link_to "#{URI(student.facebook_url).host}#{URI(student.facebook_url).path}#{URI(student.facebook_url).query}#{URI(student.facebook_url).fragment}", student.facebook_url, rel: 'nofollow' unless student.facebook_url.nil? %></td></tr>
|
40
|
+
<tr><td class="key">twitter</td><td class="value"><%= link_to student.twitter_handle, "https://twitter.com/#{student.twitter_handle}", rel: 'nofollow' unless student.twitter_handle.nil? %></td></tr>
|
41
|
+
<tr><td class="key">google+</td><td class="value"><%= link_to "#{URI(student.google_plus_url).host}#{URI(student.google_plus_url).path}#{URI(student.google_plus_url).query}#{URI(student.google_plus_url).fragment}", student.google_plus_url, rel: 'nofollow' unless student.google_plus_url.nil? %></td></tr>
|
42
42
|
<%= render 'custom_public_profile_attributes', member: student %>
|
43
43
|
|
44
44
|
</tbody>
|
@@ -16,7 +16,7 @@ module TkhMailingList
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def copy_migrations
|
19
|
-
puts 'creating
|
19
|
+
puts 'creating teacher and profile migrations'
|
20
20
|
migration_template "add_teacher_status_to_users.rb", "db/migrate/add_teacher_status_to_users.rb"
|
21
21
|
migration_template "add_profile_fields_to_users.rb", "db/migrate/add_profile_fields_to_users.rb"
|
22
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tkh_mailing_list
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swami Atma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|