1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Remove KB link if white labeled

This commit is contained in:
Hillel Coren 2017-03-09 11:24:24 +02:00
parent d72c199d0b
commit ab91f76bfe

View File

@ -68,12 +68,18 @@
@endif
<div class="row meta">
<div class="col-md-7 col-sm-12">
{!! link_to('/recover_password', trans('texts.recover_password')) !!}
</div>
<div class="col-md-5 col-sm-12">
{!! link_to(NINJA_WEB_URL.'/knowledgebase/', trans('texts.knowledge_base'), ['target' => '_blank']) !!}
</div>
@if (Utils::isWhiteLabel())
<center>
<br/>{!! link_to('/recover_password', trans('texts.recover_password')) !!}
</center>
@else
<div class="col-md-7 col-sm-12">
{!! link_to('/recover_password', trans('texts.recover_password')) !!}
</div>
<div class="col-md-5 col-sm-12">
{!! link_to(NINJA_WEB_URL.'/knowledgebase/', trans('texts.knowledge_base'), ['target' => '_blank']) !!}
</div>
@endif
</div>
{!! Former::close() !!}