cleanup inviter for more offical email
This commit is contained in:
parent
3655ea22a6
commit
a3104741c5
3 changed files with 21 additions and 30 deletions
0
app/views/devise/mailer/_batch_invites.html.erb
Normal file
0
app/views/devise/mailer/_batch_invites.html.erb
Normal file
|
|
@ -1,9 +0,0 @@
|
|||
%p
|
||||
You have been invited to Diaspora, an open social web. We are building an interface to the social web that keeps sharing intuitive while putting it in context, making it easy to know who you are sharing with.
|
||||
%p
|
||||
We are elated to offer you a first glimpse of our Alpha release.
|
||||
There still are bugs and missing features, but we are excited by the progress we have made in these short months.
|
||||
%p
|
||||
We would love your feedback, as it is the users of Diaspora who must drive what it becomes.
|
||||
%p
|
||||
For suggestions, feature requests, or bug reports, please use the "Feedback" link found on the left side of the page.
|
||||
|
|
@ -1,22 +1,22 @@
|
|||
!!!
|
||||
%html
|
||||
%head
|
||||
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
|
||||
= render :partial => 'notifier/notifier_css'
|
||||
%body
|
||||
%header
|
||||
= image_tag AppConfig[:pod_url] + 'images/logo_caps.png'
|
||||
#container
|
||||
- @invs = @resource.invitations_to_me
|
||||
%p
|
||||
= t('devise.mailer.welcome', :email => @resource.email)
|
||||
-if @invs.count > 0
|
||||
= render :partial => 'inviters'
|
||||
-if @invs.count > 0
|
||||
!!!
|
||||
%html
|
||||
%head
|
||||
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
|
||||
= render :partial => 'notifier/notifier_css'
|
||||
%body
|
||||
%header
|
||||
= image_tag AppConfig[:pod_url] + 'images/logo_caps.png'
|
||||
#container
|
||||
- @invs = @resource.invitations_to_me
|
||||
%p
|
||||
= t('devise.mailer.welcome', :email => @resource.email)
|
||||
= render :partial => 'inviters'
|
||||
|
||||
-else
|
||||
= render :partial => 'batch_invites'
|
||||
%p= link_to t('.accept'), accept_invitation_url(@resource, :invitation_token => @resource.invitation_token), :class => "large_text"
|
||||
%p.small
|
||||
= t('.ignore')
|
||||
%br/
|
||||
= t('.no_account_till')
|
||||
%p= link_to t('.accept'), accept_invitation_url(@resource, :invitation_token => @resource.invitation_token), :class => "large_text"
|
||||
%p.small
|
||||
= t('.ignore')
|
||||
%br/
|
||||
= t('.no_account_till')
|
||||
-else
|
||||
= render :partial => 'batch_invites'
|
||||
|
|
|
|||
Loading…
Reference in a new issue