mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:54:31 -04:00
Show change password button in self host install
This commit is contained in:
parent
cd2599fe58
commit
c5985ce6c4
@ -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')) !!}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user