invite link when you get a webfinger error
This commit is contained in:
parent
72f99afe9c
commit
092f0ef7a8
4 changed files with 9 additions and 31 deletions
33
Gemfile.lock
33
Gemfile.lock
|
|
@ -63,15 +63,6 @@ GIT
|
||||||
carrierwave (0.5.0)
|
carrierwave (0.5.0)
|
||||||
activesupport (~> 3.0)
|
activesupport (~> 3.0)
|
||||||
|
|
||||||
GIT
|
|
||||||
remote: git://github.com/rsofaer/sprinkle.git
|
|
||||||
revision: 7c744ed158dda1f99a015e6a29d086e80bd8c635
|
|
||||||
specs:
|
|
||||||
sprinkle (0.3.1)
|
|
||||||
activesupport (>= 3.0.0beta4)
|
|
||||||
capistrano (>= 2.5.5)
|
|
||||||
highline (>= 1.4.0)
|
|
||||||
|
|
||||||
PATH
|
PATH
|
||||||
remote: vendor/gems/jasmine
|
remote: vendor/gems/jasmine
|
||||||
specs:
|
specs:
|
||||||
|
|
@ -126,12 +117,6 @@ GEM
|
||||||
bson_ext (1.1)
|
bson_ext (1.1)
|
||||||
builder (2.1.2)
|
builder (2.1.2)
|
||||||
bunny (0.6.0)
|
bunny (0.6.0)
|
||||||
capistrano (2.5.19)
|
|
||||||
highline
|
|
||||||
net-scp (>= 1.0.0)
|
|
||||||
net-sftp (>= 2.0.0)
|
|
||||||
net-ssh (>= 2.0.14)
|
|
||||||
net-ssh-gateway (>= 1.0.0)
|
|
||||||
capybara (0.3.9)
|
capybara (0.3.9)
|
||||||
culerity (>= 0.2.4)
|
culerity (>= 0.2.4)
|
||||||
mime-types (>= 1.16)
|
mime-types (>= 1.16)
|
||||||
|
|
@ -195,7 +180,7 @@ GEM
|
||||||
gherkin (2.2.9)
|
gherkin (2.2.9)
|
||||||
json (~> 1.4.6)
|
json (~> 1.4.6)
|
||||||
term-ansicolor (~> 1.0.5)
|
term-ansicolor (~> 1.0.5)
|
||||||
haml (3.0.23)
|
haml (3.0.24)
|
||||||
hashie (0.4.0)
|
hashie (0.4.0)
|
||||||
highline (1.6.1)
|
highline (1.6.1)
|
||||||
http_connection (1.4.0)
|
http_connection (1.4.0)
|
||||||
|
|
@ -208,9 +193,9 @@ GEM
|
||||||
configuration (>= 0.0.5)
|
configuration (>= 0.0.5)
|
||||||
rake (>= 0.8.1)
|
rake (>= 0.8.1)
|
||||||
linecache (0.43)
|
linecache (0.43)
|
||||||
mail (2.2.9.1)
|
mail (2.2.10)
|
||||||
activesupport (>= 2.3.6)
|
activesupport (>= 2.3.6)
|
||||||
i18n (>= 0.4.1)
|
i18n (~> 0.4.1)
|
||||||
mime-types (~> 1.16)
|
mime-types (~> 1.16)
|
||||||
treetop (~> 1.4.8)
|
treetop (~> 1.4.8)
|
||||||
mime-types (1.16)
|
mime-types (1.16)
|
||||||
|
|
@ -234,14 +219,7 @@ GEM
|
||||||
multi_json (0.0.5)
|
multi_json (0.0.5)
|
||||||
multipart-post (1.0.1)
|
multipart-post (1.0.1)
|
||||||
net-ldap (0.1.1)
|
net-ldap (0.1.1)
|
||||||
net-scp (1.0.4)
|
nokogiri (1.4.4)
|
||||||
net-ssh (>= 1.99.1)
|
|
||||||
net-sftp (2.0.5)
|
|
||||||
net-ssh (>= 2.0.9)
|
|
||||||
net-ssh (2.0.23)
|
|
||||||
net-ssh-gateway (1.0.1)
|
|
||||||
net-ssh (>= 1.99.1)
|
|
||||||
nokogiri (1.4.3.1)
|
|
||||||
oa-basic (0.1.6)
|
oa-basic (0.1.6)
|
||||||
multi_json (~> 0.0.2)
|
multi_json (~> 0.0.2)
|
||||||
nokogiri (~> 1.4.2)
|
nokogiri (~> 1.4.2)
|
||||||
|
|
@ -350,7 +328,7 @@ GEM
|
||||||
eventmachine (>= 0.12.6)
|
eventmachine (>= 0.12.6)
|
||||||
rack (>= 1.0.0)
|
rack (>= 1.0.0)
|
||||||
thor (0.14.4)
|
thor (0.14.4)
|
||||||
treetop (1.4.8)
|
treetop (1.4.9)
|
||||||
polyglot (>= 0.3.1)
|
polyglot (>= 0.3.1)
|
||||||
twitter (0.9.12)
|
twitter (0.9.12)
|
||||||
hashie (~> 0.4.0)
|
hashie (~> 0.4.0)
|
||||||
|
|
@ -405,7 +383,6 @@ DEPENDENCIES
|
||||||
rspec-instafail
|
rspec-instafail
|
||||||
rspec-rails (>= 2.0.0)
|
rspec-rails (>= 2.0.0)
|
||||||
ruby-debug
|
ruby-debug
|
||||||
sprinkle!
|
|
||||||
thin
|
thin
|
||||||
twitter
|
twitter
|
||||||
webmock
|
webmock
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
$('#loader').hide();
|
$('#loader').hide();
|
||||||
debug("got a " + obj['class']);
|
debug("got a " + obj['class']);
|
||||||
if(obj['status'] == 'fail'){
|
if(obj['status'] == 'fail'){
|
||||||
$('#request_result li:first').text(obj['response']).show();
|
$('#request_result li:first').show().$('#message').text(obj['response']).show();
|
||||||
}else{
|
}else{
|
||||||
processPerson(obj['html']);
|
processPerson(obj['html']);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,8 @@
|
||||||
#loader.hidden= image_tag 'ajax-loader.gif'
|
#loader.hidden= image_tag 'ajax-loader.gif'
|
||||||
%ul#request_result{:aspect_id => aspect.id}
|
%ul#request_result{:aspect_id => aspect.id}
|
||||||
%li.error.hidden
|
%li.error.hidden
|
||||||
= link_to t('.invite_someone'), "#invite_user_pane", :class => "invite_user_button", :title => t('.invite_someone')
|
#message
|
||||||
|
= link_to "Know their email address? You should invite them", "#invite_user_pane", :class => "invite_user_button"
|
||||||
%br
|
%br
|
||||||
.yo{ :style => "display:none;"}
|
.yo{ :style => "display:none;"}
|
||||||
#invite_user_pane
|
#invite_user_pane
|
||||||
|
|
|
||||||
|
|
@ -5,4 +5,4 @@
|
||||||
= form_for Request.new, :remote => true do |request|
|
= form_for Request.new, :remote => true do |request|
|
||||||
= request.hidden_field :into, :value => "changeme"
|
= request.hidden_field :into, :value => "changeme"
|
||||||
= request.hidden_field :to, :value => destination_handle
|
= request.hidden_field :to, :value => destination_handle
|
||||||
= request.submit '+', :class => 'add', :disable_with => "Sending..."
|
= request.submit '+', :class => 'add', :disable_with => "Sending"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue