App Store Pre-Sale Feature
This commit is contained in:
46
resources/views/partials/modules/pre_sale.blade.php
Normal file
46
resources/views/partials/modules/pre_sale.blade.php
Normal file
@ -0,0 +1,46 @@
|
||||
<div class="col-md-3 no-padding-left">
|
||||
<div class="box box-success">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><a href="{{ url('apps/' . $module->slug) }}">{{ $module->name }}</a></h3>
|
||||
|
||||
<span class="module-installed">
|
||||
<small class="label bg-red">{{ trans('modules.badge.pre_sale') }}</small>
|
||||
</span>
|
||||
<!-- /.box-tools -->
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
|
||||
<div class="box-body text-center">
|
||||
<a href="{{ url('apps/' . $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="item-image">
|
||||
@endif
|
||||
@endforeach
|
||||
</a>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
|
||||
<div class="box-footer">
|
||||
<div class="pull-left">
|
||||
{{ trans('modules.pre_sale') }}
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
@if ($module->price == '0.0000')
|
||||
{{ trans('modules.free') }}
|
||||
@else
|
||||
{!! $module->price_prefix !!}
|
||||
@if (isset($module->special_price))
|
||||
<del>{{ $module->price }}</del>
|
||||
{{ $module->special_price }}
|
||||
@else
|
||||
{{ $module->price }}
|
||||
@endif
|
||||
{!! $module->price_suffix !!}
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box-footer -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</div>
|
Reference in New Issue
Block a user