Skip to content

Commit

Permalink
fix(images): delete old content_warning.png (url convention is dash)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScuffedNewt committed Oct 4, 2024
1 parent ad814df commit 90b4910
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion config/lorekeeper/image_files.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@
'content_warning' => [
'name' => 'Content Warning Thumbnail',
'description' => 'Thumbnail used for characters and gallery submissions with a set content warning. PNG format, size of masterlist thumbnails.',
'filename' => 'content_warning.png',
'filename' => 'content-warning.png',
],
];
Binary file removed public/images/content_warning.png
Binary file not shown.
2 changes: 1 addition & 1 deletion resources/views/character/_image_info.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<i class="fas fa-times" aria-hidden="true"></i>
</a>
</span>
<img src="{{ asset('images/content_warning.png') }}" class="mb-1" alt="Content Warning" style="height: 10vh;" />
<img src="{{ asset('images/content-warning.png') }}" class="mb-1" alt="Content Warning" style="height: 10vh;" />
<h5>
<i class="fa fa-exclamation-triangle mr-2"></i>Character Warnings<i class="fa fa-exclamation-triangle ml-2"></i>
</h5>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/character/bank.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@endsection

@section('meta-img')
{{ $character->image->content_warnings ? asset('images/content_warning.png') : $character->image->thumbnailUrl }}
{{ $character->image->content_warnings ? asset('images/content-warning.png') : $character->image->thumbnailUrl }}
@endsection

@section('profile-content')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/character/character.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@endsection

@section('meta-img')
{{ $character->image->content_warnings ? asset('images/content_warning.png') : $character->image->thumbnailUrl }}
{{ $character->image->content_warnings ? asset('images/content-warning.png') : $character->image->thumbnailUrl }}
@endsection

@section('profile-content')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/character/character_logs.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@endsection

@section('meta-img')
{{ $character->image->content_warnings ? asset('images/content_warning.png') : $character->image->thumbnailUrl }}
{{ $character->image->content_warnings ? asset('images/content-warning.png') : $character->image->thumbnailUrl }}
@endsection

@section('profile-content')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/character/currency_logs.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@endsection

@section('meta-img')
{{ $character->image->content_warnings ? asset('images/content_warning.png') : $character->image->thumbnailUrl }}
{{ $character->image->content_warnings ? asset('images/content-warning.png') : $character->image->thumbnailUrl }}
@endsection

@section('profile-content')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/character/edit_profile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@endsection

@section('meta-img')
{{ $character->image->content_warnings ? asset('images/content_warning.png') : $character->image->thumbnailUrl }}
{{ $character->image->content_warnings ? asset('images/content-warning.png') : $character->image->thumbnailUrl }}
@endsection

@section('profile-content')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/character/gallery.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@endsection

@section('meta-img')
{{ $character->image->content_warnings ? asset('images/content_warning.png') : $character->image->thumbnailUrl }}
{{ $character->image->content_warnings ? asset('images/content-warning.png') : $character->image->thumbnailUrl }}
@endsection

@section('profile-content')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/character/images.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@endsection

@section('meta-img')
{{ $character->image->content_warnings ? asset('images/content_warning.png') : $character->image->thumbnailUrl }}
{{ $character->image->content_warnings ? asset('images/content-warning.png') : $character->image->thumbnailUrl }}
@endsection

@section('profile-content')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/character/ownership_logs.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@endsection

@section('meta-img')
{{ $character->image->content_warnings ? asset('images/content_warning.png') : $character->image->thumbnailUrl }}
{{ $character->image->content_warnings ? asset('images/content-warning.png') : $character->image->thumbnailUrl }}
@endsection

@section('profile-content')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/character/profile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@endsection

@section('meta-img')
{{ $character->image->content_warnings ? asset('images/content_warning.png') : $character->image->thumbnailUrl }}
{{ $character->image->content_warnings ? asset('images/content-warning.png') : $character->image->thumbnailUrl }}
@endsection

@section('profile-content')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/character/submission_logs.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@endsection

@section('meta-img')
{{ $character->image->content_warnings ? asset('images/content_warning.png') : $character->image->thumbnailUrl }}
{{ $character->image->content_warnings ? asset('images/content-warning.png') : $character->image->thumbnailUrl }}
@endsection

@section('profile-content')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/character/transfer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@endsection

@section('meta-img')
{{ $character->image->content_warnings ? asset('images/content_warning.png') : $character->image->thumbnailUrl }}
{{ $character->image->content_warnings ? asset('images/content-warning.png') : $character->image->thumbnailUrl }}
@endsection

@section('profile-content')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/character/update_form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@endsection

@section('meta-img')
{{ $character->image->content_warnings ? asset('images/content_warning.png') : $character->image->thumbnailUrl }}
{{ $character->image->content_warnings ? asset('images/content-warning.png') : $character->image->thumbnailUrl }}
@endsection

@section('profile-content')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/user/_profile_content.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
<div class="col-md-3 col-6 text-center">
<div>
@if ((Auth::check() && Auth::user()->settings->content_warning_visibility == 0 && isset($character->character_warning)) || (isset($character->character_warning) && !Auth::check()))
<a href="{{ $character->url }}"><img src="{{ asset('images/content_warning.png') }}" class="img-thumbnail" alt="Content Warning - {{ $character->fullName }}" /></a>
<a href="{{ $character->url }}"><img src="{{ asset('images/content-warning.png') }}" class="img-thumbnail" alt="Content Warning - {{ $character->fullName }}" /></a>
@else
<a href="{{ $character->url }}"><img src="{{ $character->image->thumbnailUrl }}" class="img-thumbnail" alt="{{ $character->fullName }}" /></a>
@endif
Expand Down
2 changes: 1 addition & 1 deletion resources/views/widgets/_gallery_thumb.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@if (isset($submission->content_warning))
<img class="img-thumbnail" src="{{ asset('images/content_warning.png') }}" alt="Content Warning" />
<img class="img-thumbnail" src="{{ asset('images/content-warning.png') }}" alt="Content Warning" />
@elseif(isset($submission->hash))
<img class="img-thumbnail" src="{{ $submission->thumbnailUrl }}" alt="Submission thumbnail" />
@else
Expand Down

0 comments on commit 90b4910

Please sign in to comment.