chore: change payment filter text
This commit is contained in:
parent
4e86351e1c
commit
e0712d47bc
5 changed files with 68 additions and 53 deletions
|
|
@ -77,7 +77,7 @@ defmodule MvWeb.Components.PaymentFilterComponent do
|
|||
phx-target={@myself}
|
||||
>
|
||||
<.icon name="hero-users" class="h-4 w-4" />
|
||||
{gettext("All")}
|
||||
{gettext("All payment statuses")}
|
||||
</button>
|
||||
</li>
|
||||
<li role="none">
|
||||
|
|
@ -140,7 +140,7 @@ defmodule MvWeb.Components.PaymentFilterComponent do
|
|||
defp parse_filter(_), do: nil
|
||||
|
||||
# Get display label for current filter
|
||||
defp filter_label(nil), do: gettext("All")
|
||||
defp filter_label(nil), do: gettext("All payment statuses")
|
||||
defp filter_label(:paid), do: gettext("Paid")
|
||||
defp filter_label(:not_paid), do: gettext("Not paid")
|
||||
end
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ defmodule MvWeb.CustomFieldLive.IndexComponent do
|
|||
## Features
|
||||
- List all custom fields
|
||||
- Display type information (name, value type, description)
|
||||
- Show immutable and required flags
|
||||
- Show required flag
|
||||
- Create new custom fields
|
||||
- Edit existing custom fields
|
||||
- Delete custom fields with confirmation (cascades to all custom field values)
|
||||
|
|
@ -30,7 +30,7 @@ defmodule MvWeb.CustomFieldLive.IndexComponent do
|
|||
phx-click="new_custom_field"
|
||||
phx-target={@myself}
|
||||
>
|
||||
<.icon name="hero-plus" /> {gettext("New Custom field")}
|
||||
<.icon name="hero-plus" /> {gettext("New Custom Field")}
|
||||
</.button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue