Browse Source

Change version + replace supported with icons

pull/308/head 2.1.7
Chris 6 years ago
parent
commit
44621a1a61
  1. 2
      config/app.php
  2. 2
      resources/views/item.blade.php

2
config/app.php

@ -14,7 +14,7 @@ return [
*/ */
'name' => env('APP_NAME', 'Heimdall'), 'name' => env('APP_NAME', 'Heimdall'),
'version' => '2.1.6', 'version' => '2.1.7',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

2
resources/views/item.blade.php

@ -1,7 +1,7 @@
<section class="item-container{{ $app->droppable }}" data-id="{{ $app->id }}"> <section class="item-container{{ $app->droppable }}" data-id="{{ $app->id }}">
<div class="item" style="background-color: {{ $app->colour }}"> <div class="item" style="background-color: {{ $app->colour }}">
@if($app->icon) @if($app->icon)
<img class="app-icon" src="{{ asset('/storage/'.$app->icon) }}" /> <img class="app-icon" src="{{ asset('/storage/'.str_replace('supportedapps', 'icons', $app->icon)) }}" />
@else @else
<img class="app-icon" src="{{ asset('/img/heimdall-icon-small.png') }}" /> <img class="app-icon" src="{{ asset('/img/heimdall-icon-small.png') }}" />
@endif @endif

Loading…
Cancel
Save