Show change password button in self host install

This commit is contained in:
Hillel Coren 2016-01-05 20:53:23 +02:00
parent cd2599fe58
commit c5985ce6c4

View File

@ -71,17 +71,15 @@
</div> </div>
<center> <center>
@if (Utils::isNinja())
@if (Auth::user()->confirmed) @if (Auth::user()->confirmed)
{!! Button::primary(trans('texts.change_password')) {!! Button::primary(trans('texts.change_password'))
->appendIcon(Icon::create('lock')) ->appendIcon(Icon::create('lock'))
->large()->withAttributes(['onclick'=>'showChangePassword()']) !!} ->large()->withAttributes(['onclick'=>'showChangePassword()']) !!}
@elseif (Auth::user()->registered) @elseif (Auth::user()->registered && Utils::isNinja())
{!! Button::primary(trans('texts.resend_confirmation')) {!! Button::primary(trans('texts.resend_confirmation'))
->appendIcon(Icon::create('send')) ->appendIcon(Icon::create('send'))
->asLinkTo(URL::to('/resend_confirmation'))->large() !!} ->asLinkTo(URL::to('/resend_confirmation'))->large() !!}
@endif @endif
@endif
{!! Button::success(trans('texts.save')) {!! Button::success(trans('texts.save'))
->submit()->large() ->submit()->large()
->appendIcon(Icon::create('floppy-disk')) !!} ->appendIcon(Icon::create('floppy-disk')) !!}