Enable renewing white label license
This commit is contained in:
parent
fd005112b8
commit
5d727490cf
1 changed files with 2 additions and 4 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue