cleanup inviter for more offical email

This commit is contained in:
Maxwell Salzberg 2011-08-05 17:45:39 -07:00
parent 3655ea22a6
commit a3104741c5
3 changed files with 21 additions and 30 deletions

View 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.

View file

@ -1,5 +1,6 @@
!!!
%html
-if @invs.count > 0
!!!
%html
%head
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
= render :partial => 'notifier/notifier_css'
@ -10,13 +11,12 @@
- @invs = @resource.invitations_to_me
%p
= t('devise.mailer.welcome', :email => @resource.email)
-if @invs.count > 0
= 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')
-else
= render :partial => 'batch_invites'