Skip to content

Commit 805cb9b

Browse files
committedMar 27, 2025
More tweaks
1 parent 6ad400b commit 805cb9b

File tree

9 files changed

+17
-15
lines changed

9 files changed

+17
-15
lines changed
 

‎lang/en/entities/aliases.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
'add' => 'Add an alias',
66
],
77
'create' => [
8+
'helper' => 'Create an alias for :name, which will make it findable in the global search and through :code mentions.',
89
'success' => 'Alias :name added to :entity.',
9-
'title' => 'Add an alias to :name',
10+
'title' => 'New alias',
1011
],
1112
'destroy' => [
1213
'success' => 'Alias :name removed.',

‎lang/en/entities/files.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
'premium' => 'Uploading more files requires a premium campaign.',
77
],
88
'create' => [
9-
'helper' => 'Add a file to this entity. The file will count towards your gallery storage limit.',
9+
'helper' => 'Add a file to :name. The file will count towards your gallery storage limit.',
1010
'success_plural' => '{1} File :name added.|[2,*] :count files added.',
11-
'title' => 'New file for :entity',
11+
'title' => 'New file',
1212
],
1313
'destroy' => [
1414
'success' => 'File :name removed.',

‎lang/en/entities/links.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
],
77
'call-to-action' => 'Add links to external resources on this entity, like to DnDBeyond, and they will display directly on the entity\'s overview.',
88
'create' => [
9+
'helper' => 'Add an external link to :name, for example to their DnDBeyond page.',
910
'success' => 'Link :name added to :entity.',
10-
'title' => 'Add a link to :name',
11+
'title' => 'New link',
1112
],
1213
'destroy' => [
1314
'success' => 'Link :name removed.',

‎public/build/assets/attributes-manager-P2cA_19c.js ‎public/build/assets/attributes-manager-CT5L_Rfl.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎public/build/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
]
128128
},
129129
"resources/js/attributes-manager.js": {
130-
"file": "assets/attributes-manager-P2cA_19c.js",
130+
"file": "assets/attributes-manager-CT5L_Rfl.js",
131131
"name": "attributes-manager",
132132
"src": "resources/js/attributes-manager.js",
133133
"isEntry": true,

‎resources/js/components/attributes/Manager.vue

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="flex gap-2 lg:gap-2 justify-end px-4 pt-4">
88
<input type="text" v-bind:placeholder="trans('actions.search')" class="grow md:flex-none md:w-80" v-model="searchTerm" />
99
<div class="relative">
10-
<a role="button" @click="toggleFilters()" class="btn2 btn-default btn-sm">
10+
<a role="button" @click="toggleFilters()" class="btn2 btn-outline btn-sm">
1111
<i class="fa-solid fa-bars-filter" aria-hidden="true" />
1212
<span v-html="trans('actions.filters')"></span>
1313
</a>
@@ -31,7 +31,7 @@
3131
<i class="fa-solid fa-lock-open" aria-hidden="true" />
3232
<span v-html="trans('actions.toggle')"></span>
3333
</a>
34-
<a role="button" class="btn2 md:ml-auto" @click="toggleTemplates()">
34+
<a role="button" class="btn2 btn-outline md:ml-auto" @click="toggleTemplates()">
3535
<i class="fa-regular fa-file-import" aria-hidden="true" />
3636
<span v-html="trans('actions.load')"></span>
3737
</a>
@@ -97,7 +97,7 @@
9797
<span class="sr-only">Close</span>
9898
</button>
9999
</header>
100-
<article>
100+
<article class="flex flex-col gap-4 p-4 md:p-6">
101101
<label for="template_id" v-html="trans('templates.template')"></label>
102102
<select v-model="template" class="w-full" id="template_id">
103103
<optgroup v-for="(group, key) in templates" v-bind:label="key">
@@ -214,7 +214,7 @@ const deleteClass = () => {
214214
if (!checked) {
215215
return 'btn2 btn-ghost'
216216
}
217-
return 'btn2 btn-error'
217+
return 'btn2 btn-error btn-outline'
218218
}
219219
220220
const deleteAll = () => {
@@ -236,7 +236,7 @@ const togglePrivateClass = () => {
236236
if (!checked) {
237237
return 'btn2 btn-ghost'
238238
}
239-
return 'btn2'
239+
return 'btn2 btn-outline'
240240
}
241241
const togglePrivate = () => {
242242
let selected = attributes.value.filter(attribute => attribute.is_checked);

‎resources/views/entities/pages/aliases/_form.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
@if (!isset($entityAsset))
44
<x-helper>
5-
{!! __('entities/aliases.helpers.primary', ['code' => '<code>@</code>']) !!}
5+
{!! __('entities/aliases.create.helper', ['name' => $entity->name, 'code' => '<code>@</code>']) !!}
66
</x-helper>
77
@endif
88

‎resources/views/entities/pages/files/_form.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<x-grid type="1/1">
44
@if(!isset($entityAsset))
55
<x-helper>
6-
{{ __('entities/files.create.helper') }}
6+
{{ __('entities/files.create.helper', ['name' => $entity->name]) }}
77
</x-helper>
88

99
<x-forms.field

‎resources/views/entities/pages/links/_form.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<x-grid type="1/1">
22
@if (!isset($entityAsset))
33
<x-helper>
4-
{{ __('entities/links.call-to-action') }}
4+
{{ __('entities/links.create.helper', ['name' => $entity->name]) }}
55
</x-helper>
66
@endif
77
<x-forms.field

0 commit comments

Comments
 (0)
Failed to load comments.