1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Enable renewing white label license

This commit is contained in:
Hillel Coren 2018-02-07 13:23:17 +02:00
parent fd005112b8
commit 5d727490cf

View File

@ -9,11 +9,12 @@
@if (! Utils::isNinja() && $company->hasActivePlan() && $company->daysUntilPlanExpires() <= 10 && $company->daysUntilPlanExpires() > 0)
<br/><b>{!! trans('texts.license_expiring', [
'count' => $company->daysUntilPlanExpires(),
'link' => '<a href="#" onclick="buyWhiteLabel()">' . trans('texts.click_here') . '</a>',
'link' => '<a href="#" onclick="showWhiteLabelModal()">' . trans('texts.click_here') . '</a>',
]) !!}</b>
@endif
@else
<a href="#" onclick="showWhiteLabelModal()">{{ trans('texts.white_label_link') }}</a>
@endif
<div class="modal fade" id="whiteLabelModal" tabindex="-1" role="dialog" aria-labelledby="whiteLabelModalLabel" aria-hidden="true">
<div class="modal-dialog">
@ -105,9 +106,6 @@
</div>
</div>
@endif
<script type="text/javascript">
function showWhiteLabelModal() {