Skip to content

Commit

Permalink
Apply v-pre attribute in every Blade view where description of earnin…
Browse files Browse the repository at this point in the history
…gs, spendings and recurrings are used
  • Loading branch information
range-of-motion committed Dec 21, 2021
1 parent faca322 commit 38e01f2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/views/earnings/show.blade.php
Expand Up @@ -4,7 +4,7 @@

@section('body')
<div class="wrapper my-3">
<h2>{{ $earning->description }}</h2>
<h2 v-pre>{{ $earning->description }}</h2>
@include('partials.attachments', ['payload' => $earning])
</div>
@endsection
2 changes: 1 addition & 1 deletion resources/views/recurrings/index.blade.php
Expand Up @@ -18,7 +18,7 @@
<div class="box__section row">
<div class="row__column">
<div class="color-dark">
<a href="/recurrings/{{ $recurring->id }}">{{ $recurring->description }}</a>
<a href="/recurrings/{{ $recurring->id }}" v-pre>{{ $recurring->description }}</a>
</div>
<div class="row mt-1">
<div class="row__column row__column--compact" style="font-size: 14px; font-weight: 600;">{!! $currency !!} {{ \App\Helper::formatNumber($recurring->amount / 100) }}</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/recurrings/show.blade.php
Expand Up @@ -2,7 +2,7 @@

@section('body')
<div class="wrapper my-3">
<h2>{{ $recurring->description }}</h2>
<h2 v-pre>{{ $recurring->description }}</h2>
<div class="row my-3">
<div class="row__column row__column--compact">
@if ($recurring->status)
Expand Down
2 changes: 1 addition & 1 deletion resources/views/spendings/show.blade.php
Expand Up @@ -4,7 +4,7 @@

@section('body')
<div class="wrapper my-3">
<h2>{{ $spending->description }}</h2>
<h2 v-pre>{{ $spending->description }}</h2>
@include('partials.attachments', ['payload' => $spending])
</div>
@endsection
2 changes: 1 addition & 1 deletion resources/views/transactions/index.blade.php
Expand Up @@ -36,7 +36,7 @@
@foreach ($transactions as $transaction)
<div class="box__section row row--responsive">
<div class="row__column row__column--middle row row--middle">
<div>{{ $transaction->description }}</div>
<div v-pre>{{ $transaction->description }}</div>
<a href="/{{ get_class($transaction) === 'App\Models\Earning' ? 'earnings' : 'spendings' }}/{{ $transaction->id }}">
<i class="fas fa-info-circle fa-xs c-light ml-1"></i>
</a>
Expand Down

0 comments on commit 38e01f2

Please sign in to comment.