1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Hide contact us until registered

This commit is contained in:
Hillel Coren 2017-06-04 11:52:29 +03:00
parent 39733381e4
commit 59d2fe173a

View File

@ -392,10 +392,13 @@
@include('partials.navigation_option', ['option' => 'reports'])
@endif
@include('partials.navigation_option', ['option' => 'settings'])
<li style="width:100%;"> <div class="nav-footer">
<a href="javascript:showContactUs()" title="{{ trans('texts.contact_us') }}">
<i class="fa fa-envelope"></i>
</a>
<li style="width:100%;">
<div class="nav-footer">
@if (Auth::user()->registered)
<a href="javascript:showContactUs()" title="{{ trans('texts.contact_us') }}">
<i class="fa fa-envelope"></i>
</a>
@endif
<a href="{{ url(NINJA_FORUM_URL) }}" target="_blank" title="{{ trans('texts.support_forum') }}">
<i class="fa fa-list-ul"></i>
</a>