mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-29 15:44:41 +00:00
v1.7 beta.7
This commit is contained in:
@@ -17,7 +17,7 @@ class PlanResource extends JsonResource
|
|||||||
public function toArray($request)
|
public function toArray($request)
|
||||||
{
|
{
|
||||||
// Get subscribers
|
// Get subscribers
|
||||||
$subscriber_count = Subscription::where('stripe_plan', $this['plan']['id'])->get();
|
$subscriber_count = Subscription::where('stripe_plan', $this['plan']['id'])->where('stripe_status', 'active')->get();
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'data' => [
|
'data' => [
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -38,8 +38,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="toolbar-button-wrapper"
|
<div class="toolbar-button-wrapper" v-if="$checkPermission(['master', 'editor'])">
|
||||||
v-if="$checkPermission(['master', 'editor'])">
|
|
||||||
<ToolbarButton
|
<ToolbarButton
|
||||||
source="move"
|
source="move"
|
||||||
:class="{'is-inactive': canMoveInView}"
|
:class="{'is-inactive': canMoveInView}"
|
||||||
@@ -111,10 +110,15 @@
|
|||||||
]),
|
]),
|
||||||
hasCapacity() {
|
hasCapacity() {
|
||||||
|
|
||||||
if (! this.$store.getters.config.storageLimit) {
|
// Check if set storage limitation
|
||||||
|
if (! this.$store.getters.config.storageLimit)
|
||||||
return true
|
return true
|
||||||
}
|
|
||||||
|
|
||||||
|
// Check if is loaded user
|
||||||
|
if (! this.$store.getters.user )
|
||||||
|
return true
|
||||||
|
|
||||||
|
// Check if user has storage
|
||||||
return this.$store.getters.user.relationships.storage.data.attributes.used <= 100
|
return this.$store.getters.user.relationships.storage.data.attributes.used <= 100
|
||||||
},
|
},
|
||||||
directoryName() {
|
directoryName() {
|
||||||
|
|||||||
@@ -5,11 +5,11 @@
|
|||||||
<b v-if="! config.app_logo_horizontal" class="logo-text">{{ config.app_name }}</b>
|
<b v-if="! config.app_logo_horizontal" class="logo-text">{{ config.app_name }}</b>
|
||||||
</router-link>
|
</router-link>
|
||||||
<ul class="navigation-links">
|
<ul class="navigation-links">
|
||||||
<li>
|
<!-- <li>
|
||||||
<a href="/#pricing">
|
<a href="/#pricing">
|
||||||
{{ $t('page_index.menu.pricing') }}
|
{{ $t('page_index.menu.pricing') }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>-->
|
||||||
<li>
|
<li>
|
||||||
<router-link :to="{name: 'ContactUs'}">
|
<router-link :to="{name: 'ContactUs'}">
|
||||||
{{ $t('page_index.menu.contact_us') }}
|
{{ $t('page_index.menu.contact_us') }}
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
@include widget-card;
|
@include widget-card;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 35px;
|
left: 115px;
|
||||||
max-width: 225px;
|
max-width: 225px;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
|
|||||||
@@ -21,10 +21,6 @@
|
|||||||
display: block;
|
display: block;
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.action-button {
|
.action-button {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<PageTab class="form-fixed-width">
|
<PageTab v-if="user" class="form-fixed-width">
|
||||||
<PageTabGroup>
|
<PageTabGroup>
|
||||||
<FormLabel>{{ $t('user_box_delete.title') }}</FormLabel>
|
<FormLabel>{{ $t('user_box_delete.title') }}</FormLabel>
|
||||||
<InfoBox>
|
<InfoBox>
|
||||||
@@ -123,14 +123,4 @@
|
|||||||
.block-form {
|
.block-form {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media only screen and (max-width: 960px) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
|
|
||||||
legal: {!! isset($legal) ? $legal : 'undefined' !!},
|
legal: {!! isset($legal) ? $legal : 'undefined' !!},
|
||||||
|
|
||||||
installation: '{{ $installation }}',
|
installation: '{{ $installation ?? '' }}',
|
||||||
latest_upgrade: '{{ isset($settings->latest_upgrade) && $settings->latest_upgrade ? $settings->latest_upgrade : null }}',
|
latest_upgrade: '{{ isset($settings->latest_upgrade) && $settings->latest_upgrade ? $settings->latest_upgrade : null }}',
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user