close #1579 Fixed: Pre-Sale app page broken
This commit is contained in:
		@@ -1,22 +1,25 @@
 | 
			
		||||
<div class="col-md-3">
 | 
			
		||||
    <div class="card">
 | 
			
		||||
        <div class="card-header py-2">
 | 
			
		||||
            <div class="float-left ml--3">
 | 
			
		||||
                <h4 class="mb-0"><a href="{{ route('apps.app.show', $module->slug) }}">{{ $module->name }}</a></h4>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="float-right mr--3">
 | 
			
		||||
                <span class="badge badge-pill badge-danger">{{ trans('modules.badge.pre_sale') }}</span>
 | 
			
		||||
            </div>
 | 
			
		||||
            <h4 class="ml--3 mb-0 float-left">
 | 
			
		||||
                <a href="{{ route('apps.app.show', $module->slug) }}">{{ $module->name }}</a>
 | 
			
		||||
            </h4>
 | 
			
		||||
 | 
			
		||||
            <span class="mr--3 float-right">
 | 
			
		||||
                <span class="badge bg-danger text-white">{{ trans('modules.badge.pre_sale') }}</span>
 | 
			
		||||
            </span>
 | 
			
		||||
        </div>
 | 
			
		||||
        <a href="{{ route('apps.app.show', [module->slug) }}">
 | 
			
		||||
 | 
			
		||||
        <a href="{{ route('apps.app.show', $module->slug) }}">
 | 
			
		||||
            @foreach ($module->files as $file)
 | 
			
		||||
                @if (($file->media_type == 'image') && ($file->pivot->zone == 'thumbnail'))
 | 
			
		||||
                    <img src="{{ $file->path_string }}" alt="{{ $module->name }}"  class="card-img-top card-border">
 | 
			
		||||
                    <img src="{{ $file->path_string }}" alt="{{ $module->name }}" class="card-img-top border-radius-none">
 | 
			
		||||
                @endif
 | 
			
		||||
            @endforeach
 | 
			
		||||
        </a>
 | 
			
		||||
 | 
			
		||||
        <div class="card-footer py-2">
 | 
			
		||||
            <div class="float-left ml--3 mt-1">
 | 
			
		||||
            <div class="float-left ml--3 mt--1">
 | 
			
		||||
                <small class="text-sm">
 | 
			
		||||
                    {{ trans('modules.pre_sale') }}
 | 
			
		||||
                </small>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user