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

fix spacing between sidebar icons and link text

This commit is contained in:
David Bomba 2019-07-23 09:25:53 +10:00
parent 1823a23b2d
commit f237bd958d
3 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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;
}

View File

@ -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