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

Clarify that reports require a pro plan

This commit is contained in:
Hillel Coren 2017-03-07 20:48:01 +02:00
parent 03255f33dd
commit 9f56791e3a
2 changed files with 9 additions and 0 deletions

View File

@ -2395,6 +2395,7 @@ $LANG = array(
'create_project' => 'Create project', 'create_project' => 'Create project',
'create_vendor' => 'Create vendor', 'create_vendor' => 'Create vendor',
'create_expense_category' => 'Create category', 'create_expense_category' => 'Create category',
'pro_plan_reports' => ':link to enable reports by joining the Pro Plan',
); );

View File

@ -21,6 +21,14 @@
@section('content') @section('content')
@if (!Utils::isPro())
<div class="alert alert-warning" style="font-size:larger;">
<center>
{!! trans('texts.pro_plan_reports', ['link'=>'<a href="javascript:showUpgradeModal()">' . trans('texts.pro_plan_remove_logo_link') . '</a>']) !!}
</center>
</div>
@endif
<script type="text/javascript"> <script type="text/javascript">
$(function() { $(function() {