diff --git a/app/views/conversations/new.haml b/app/views/conversations/new.haml index 85262774b74148a3b571c2371ff064b4c43d8368..4589d3e7d505e2f96771f567bcd6f9f10cdefea7 100644 --- a/app/views/conversations/new.haml +++ b/app/views/conversations/new.haml @@ -47,6 +47,8 @@ .span-10.prepend-2.last = text_area_tag "conversation[text]", '', :rows => 5 + .clearfix + .bottom_submit_section - = submit_tag t('cancel'), :class => 'button', :type => :reset, :rel => "close" - = conversation.submit t('.send'), :disable_with => t('shared.publisher.posting'), :class => 'button' + = submit_tag t('cancel'), :class => 'button', :type => :reset, :rel => "close", :confirm => t('.abandon_changes') + = conversation.submit t('.send'), :disable_with => t('shared.publisher.posting'), :class => 'button creation' diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index d3ec11df47583da934c724c80ac0594369fa6ef0..dd352603bc0db7761543d10a6d95ea03a096616f 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -229,6 +229,7 @@ en: to: "to" subject: "subject" send: "Send" + abandon_changes: "Abandon changes?" helper: new_messages: zero: "No new messages"