mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
fix spacing between sidebar icons and link text
This commit is contained in:
parent
1823a23b2d
commit
f237bd958d
@ -9,7 +9,7 @@
|
||||
* @license https://opensource.org/licenses/AAL
|
||||
*/
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
namespace App\Http\Controllers\ClientPortal;
|
||||
|
||||
use App\Filters\InvoiceFilters;
|
||||
use App\Jobs\Entity\ActionEntity;
|
||||
|
@ -52,8 +52,8 @@ class PortalComposer
|
||||
|
||||
$data = [];
|
||||
|
||||
$data[] = [ 'title' => ctrans('texts.dashboard'), 'url' => 'client.dashboard', 'icon' => 'fa fa-tachometer'];
|
||||
$data[] = [ 'title' => ctrans('texts.invoices'), 'url' => 'client.invoices.index', 'icon' => 'fa fa-file-excel-o'];
|
||||
$data[] = [ 'title' => ctrans('texts.dashboard'), 'url' => 'client.dashboard', 'icon' => 'fa fa-tachometer fa-fw fa-2x'];
|
||||
$data[] = [ 'title' => ctrans('texts.invoices'), 'url' => 'client.invoices.index', 'icon' => 'fa fa-file-pdf-o fa-fw fa-2x'];
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
@ -4,8 +4,8 @@
|
||||
<ul class="nav">
|
||||
@foreach($portal['sidebar'] as $row)
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link" href="{{ $row['url'] }}">
|
||||
<i class="{{$row['icon']}}"></i> {{ $row['title'] }}
|
||||
<a class="nav-link" href="{{ route($row['url']) }}">
|
||||
<span><i class="{{$row['icon']}}"></i></span> <span> {{ $row['title'] }} </span>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
|
Loading…
Reference in New Issue
Block a user