mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Fix header on dashboard with certain languages
This commit is contained in:
parent
60e923217d
commit
0e530ba81a
@ -79,6 +79,8 @@ class DashboardController extends BaseController
|
||||
'tasks' => $tasks,
|
||||
'showBlueVinePromo' => $showBlueVinePromo,
|
||||
'showWhiteLabelExpired' => $showWhiteLabelExpired,
|
||||
'headerClass' => in_array(\App::getLocale(), ['lt', 'pl', 'cs', 'sl']) ? 'in-large' : 'in-thin',
|
||||
'footerClass' => in_array(\App::getLocale(), ['lt', 'pl', 'cs', 'sl']) ? '' : 'in-thin',
|
||||
];
|
||||
|
||||
if ($showBlueVinePromo) {
|
||||
|
2
public/css/built.css
vendored
2
public/css/built.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
5
resources/assets/css/style.css
vendored
5
resources/assets/css/style.css
vendored
@ -494,9 +494,12 @@ background-clip: padding-box;
|
||||
|
||||
.in-bold {
|
||||
font-size: 26px;
|
||||
font-weight: bold;;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.in-large {
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
.in-thin {
|
||||
font-size: 26px;
|
||||
|
@ -256,7 +256,7 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body revenue-panel">
|
||||
<div style="overflow:hidden">
|
||||
<div class="in-thin">
|
||||
<div class="{{ $headerClass }}">
|
||||
{{ trans('texts.total_revenue') }}
|
||||
</div>
|
||||
<div class="revenue-div in-bold pull-right" style="color:#337ab7">
|
||||
@ -277,7 +277,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="range-label-div in-thin pull-right" style="color:#337ab7;font-size:16px;display:none;">
|
||||
<div class="range-label-div {{ $footerClass }} pull-right" style="color:#337ab7;font-size:16px;display:none;">
|
||||
{{ trans('texts.last_30_days') }}
|
||||
</div>
|
||||
</div>
|
||||
@ -289,7 +289,7 @@
|
||||
<div class="panel-body expenses-panel">
|
||||
<div style="overflow:hidden">
|
||||
@if (count($expenses))
|
||||
<div class="in-thin">
|
||||
<div class="{{ $headerClass }}">
|
||||
{{ trans('texts.total_expenses') }}
|
||||
</div>
|
||||
<div class="expenses-div in-bold pull-right" style="color:#337ab7">
|
||||
@ -305,7 +305,7 @@
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="in-thin">
|
||||
<div class="{{ $headerClass }}">
|
||||
{{ trans('texts.average_invoice') }}
|
||||
</div>
|
||||
<div class="average-div in-bold pull-right" style="color:#337ab7">
|
||||
@ -327,7 +327,7 @@
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<div class="range-label-div in-thin pull-right" style="color:#337ab7;font-size:16px;display:none;">
|
||||
<div class="range-label-div {{ $footerClass }} pull-right" style="color:#337ab7;font-size:16px;display:none;">
|
||||
{{ trans('texts.last_30_days') }}
|
||||
</div>
|
||||
</div>
|
||||
@ -338,7 +338,7 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body outstanding-panel">
|
||||
<div style="overflow:hidden">
|
||||
<div class="in-thin">
|
||||
<div class="{{ $headerClass }}">
|
||||
{{ trans('texts.outstanding') }}
|
||||
</div>
|
||||
<div class="outstanding-div in-bold pull-right" style="color:#337ab7">
|
||||
@ -359,7 +359,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="range-label-div in-thin pull-right" style="color:#337ab7;font-size:16px;display:none;">
|
||||
<div class="range-label-div {{ $footerClass }} pull-right" style="color:#337ab7;font-size:16px;display:none;">
|
||||
{{ trans('texts.last_30_days') }}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user