close #1579 Fixed: Pre-Sale app page broken
This commit is contained in:
@ -12,24 +12,32 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<h3>{{ $module->name }}</h3>
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12">
|
||||
<div class="float-left">
|
||||
<h3>{{ $module->name }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="nav-wrapper">
|
||||
<div class="nav-wrapper pt-0">
|
||||
<ul class="nav nav-pills nav-fill flex-column flex-md-row" id="tabs-icons-text" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link mb-sm-2 mb-md-0 active" href="#description" data-toggle="tab" aria-selected="false">{{ trans('general.description') }}</a>
|
||||
<a class="nav-link mb-sm-2 mb-md-0 active" href="#description" data-toggle="tab" aria-selected="false">
|
||||
{{ trans('general.description') }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card shadow">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane fade show active" id="description">
|
||||
{!! $module->description !!}
|
||||
|
||||
@if ($module->screenshots || $module->video)
|
||||
<akaunting-carousel :name="'{{ $module->name }}'" :height="'430px'"
|
||||
<akaunting-carousel :name="'{{ $module->name }}'" :height="'430px'" arrow="always"
|
||||
@if ($module->video)
|
||||
@php
|
||||
if (strpos($module->video->link, '=') !== false) {
|
||||
@ -54,6 +62,7 @@
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div id="countdown-pre-sale"></div>
|
||||
|
||||
<div class="text-center">
|
||||
<strong>
|
||||
<div class="text-xl">
|
||||
@ -61,6 +70,7 @@
|
||||
{{ trans('modules.free') }}
|
||||
@else
|
||||
{!! $module->price_prefix !!}
|
||||
|
||||
@if (isset($module->special_price))
|
||||
<del class="text-danger">{{ $module->price }}</del>
|
||||
{{ $module->special_price }}
|
||||
@ -101,27 +111,27 @@
|
||||
<table class="table">
|
||||
<tbody>
|
||||
@if ($module->vendor_name)
|
||||
<tr>
|
||||
<th>{{ trans_choice('general.developers', 1) }}</th>
|
||||
<td class="text-right"><a href="{{ route('apps.vendors.show', $module->vendor->slug) }}">{{ $module->vendor_name }}</a></td>
|
||||
<tr class="row">
|
||||
<th class="col-5">{{ trans_choice('general.developers', 1) }}</th>
|
||||
<td class="col-7 text-right"><a href="{{ route('apps.vendors.show', $module->vendor->slug) }}">{{ $module->vendor_name }}</a></td>
|
||||
</tr>
|
||||
@endif
|
||||
@if ($module->version)
|
||||
<tr>
|
||||
<th>{{ trans('footer.version') }}</th>
|
||||
<td class="text-right">{{ $module->version }}</td>
|
||||
<tr class="row">
|
||||
<th class="col-5">{{ trans('footer.version') }}</th>
|
||||
<td class="col-7 text-right">{{ $module->version }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if ($module->created_at)
|
||||
<tr>
|
||||
<th>{{ trans('modules.added') }}</th>
|
||||
<td class="text-right">@date($module->created_at)</td>
|
||||
<tr class="row">
|
||||
<th class="col-5">{{ trans('modules.added') }}</th>
|
||||
<td class="col-7 text-right long-texts">@date($module->created_at)</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if ($module->updated_at)
|
||||
<tr>
|
||||
<th>{{ trans('modules.updated') }}</th>
|
||||
<td class="text-right">{{ Date::parse($module->updated_at)->diffForHumans() }}</td>
|
||||
<tr class="row">
|
||||
<th class="col-5">{{ trans('modules.updated') }}</th>
|
||||
<td class="col-7 text-right">{{ Date::parse($module->updated_at)->diffForHumans() }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if ($module->categories)
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
@section('new_button')
|
||||
<span><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm header-button-top"><span class="fa fa-key"></span> {{ trans('modules.api_key') }}</a></span>
|
||||
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm header-button-top"><span class="fa fa-user"></span> {{ trans('modules.my_apps') }}</a></span>
|
||||
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm header-button-top"><span class="fa fa-user"></span> {{ trans('modules.my_apps') }}</a></span>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
@ -73,9 +73,9 @@
|
||||
<div class="tab-pane fade show active" id="description">
|
||||
{!! $module->description !!}
|
||||
|
||||
@if($module->screenshots || $module->video)
|
||||
@if ($module->screenshots || $module->video)
|
||||
<akaunting-carousel :name="'{{ $module->name }}'" :height="'430px'" arrow="always"
|
||||
@if($module->video)
|
||||
@if ($module->video)
|
||||
@php
|
||||
if (strpos($module->video->link, '=') !== false) {
|
||||
$code = explode('=', $module->video->link);
|
||||
|
Reference in New Issue
Block a user