Skip to content

Commit

Permalink
Άνοιξε τους συνδέσμους σε νέο παράθυρο
Browse files Browse the repository at this point in the history
  • Loading branch information
parapente committed May 28, 2024
1 parent f6337c6 commit c471d16
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/views/admin/form/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class="btn btn-sm btn-primary me-2"
<div class="row">
<div class='col d-flex flex-column'>
<div class='flex-grow-1'>
<span class='pre-wrap'>{!! Str::of($form->notes)->markdown(['html_input' => 'strip']) !!}</span>
<span class='pre-wrap'>{!! Str::replace('<a ', '<a target="_blank" ', Str::of($form->notes)->markdown(['html_input' => 'strip'])) !!}</span>
</div>
<div class='pt-4'>
<div class='row'>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/admin/form/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<button class="btn btn-danger" type="submit" form="delete">@icon('fas fa-trash-alt') Διαγραφή</button>
</div>
<h1>{{$form->title}}</h1>
<h3>{!! Str::of($form->notes)->markdown(['html_input' => 'strip']) !!}</h3>
<h3>{!! Str::replace('<a ', '<a target="_blank" ', Str::of($form->notes)->markdown(['html_input' => 'strip'])) !!}</h3>
<hr/>
<div class="card">
<div class="card-header">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/report/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
@endif

<h1>{{ $form->title }}</h1>
<h3>{!! Str::of($form->notes)->markdown(['html_input' => 'strip']) !!}</h3>
<h3>{!! Str::replace('<a ', '<a target="_blank" ', Str::of($form->notes)->markdown(['html_input' => 'strip'])) !!}</h3>
<hr />
<div class="card">
<div class="card-header">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/report/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@foreach($forms as $form)
<div class="card card-body bg-light">
<h3><a href="{{ route('report.edit', $form->id) }}">{{$form->title}}</a></h3>
<div>{!! Str::of($form->notes)->markdown(['html_input' => 'strip']) !!}</div>
<div>{!! Str::replace('<a ', '<a target="_blank" ', Str::of($form->notes)->markdown(['html_input' => 'strip'])) !!}</div>
<small>Δημιουργήθηκε στις {{$form->created_at}}</small>

<div class="row align-items-center justify-content-start pt-4">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/report/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<a href="{{ route('report.index') }}" class="btn btn-secondary" role="button">Πίσω</a>
<form action="javascript:void(0);">
<h1>{{ $form->title }}</h1>
<h3>{!! Str::of($form->notes)->markdown(['html_input' => 'strip']) !!}</h3>
<h3>{!! Str::replace('<a ', '<a target="_blank" ', Str::of($form->notes)->markdown(['html_input' => 'strip'])) !!}</h3>
<hr />
<div class="card">
<div class="card-header">
Expand Down

0 comments on commit c471d16

Please sign in to comment.