git add .
git commit "fix: city selection, comment user display, and back button bug"
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@extends('layouts.app')
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
<div class="card h-100 shadow-sm border-0 rounded-4 overflow-hidden">
|
||||
|
||||
<div class="position-relative">
|
||||
<div class="position-relative">
|
||||
|
||||
<img
|
||||
src="{{ getImageUrl($tour->image) }}"
|
||||
@@ -31,13 +31,13 @@
|
||||
>
|
||||
|
||||
<span class="position-absolute top-0 end-0 m-3 badge bg-primary">
|
||||
تور
|
||||
</span>
|
||||
تور
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card-body d-flex flex-column">
|
||||
<div class="card-body d-flex flex-column">
|
||||
|
||||
<h5 class="fw-bold mb-3">
|
||||
{{ $tour->title }}
|
||||
@@ -61,14 +61,6 @@
|
||||
|
||||
</strong>
|
||||
|
||||
|
||||
<a
|
||||
href="{{ route('index') }}"
|
||||
class="btn btn-outline-primary rounded-pill px-4"
|
||||
>
|
||||
برگشت
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -81,10 +73,18 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div class="mt-4 d-flex justify-content-center">
|
||||
<a
|
||||
href="{{ route('index') }}"
|
||||
class="btn btn-outline-primary rounded-pill px-4"
|
||||
>
|
||||
برگشت
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="mt-5 d-flex justify-content-center">
|
||||
<div class="mt-5 d-flex justify-content-center">
|
||||
|
||||
{{ $tours->links() }}
|
||||
{{$tours->links()}}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -199,9 +199,9 @@
|
||||
|
||||
<div class="d-flex justify-content-between">
|
||||
|
||||
<strong>
|
||||
{{ $comment->user?->name ?? 'کاربر مهمان' }}
|
||||
</strong>
|
||||
<strong>
|
||||
{{ $comment->user ? $comment->user->first_name . ' ' . $comment->user->last_name : 'کاربر مهمان' }}
|
||||
</strong>
|
||||
|
||||
|
||||
<small>
|
||||
|
||||
Reference in New Issue
Block a user