Fix page title

This commit is contained in:
Hillel Coren 2016-12-23 11:51:03 +02:00
parent 5960ab0e86
commit 75fe14d295

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{App::getLocale()}}"> <html lang="{{App::getLocale()}}">
<head> <head>
@if (isset($account) && $account instanceof \App\Models\Account && $account->hasFeature(FEATURE_WHITE_LABEL)) @if (!Utils::isNinja() && !Auth::check())
<title>{{ trans('texts.client_portal') }}</title> <title>{{ trans('texts.client_portal') }}</title>
@else @else
<title>{{ isset($title) ? ($title . ' | Invoice Ninja') : ('Invoice Ninja | ' . trans('texts.app_title')) }}</title> <title>{{ isset($title) ? ($title . ' | Invoice Ninja') : ('Invoice Ninja | ' . trans('texts.app_title')) }}</title>