mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 05:03:13 +00:00
Show excluded words in UI
This commit is contained in:
@@ -330,6 +330,7 @@ return [
|
||||
'search_found_transactions' => 'Firefly III found :count transaction in :time seconds.|Firefly III found :count transactions in :time seconds.',
|
||||
'search_found_more_transactions' => 'Firefly III found more than :count transactions in :time seconds.',
|
||||
'search_for_query' => 'Firefly III is searching for transactions with all of these words in them: <span class="text-info">:query</span>',
|
||||
'search_for_excluded_words' => 'Firefly III is searching for transactions with none of these words in them: <span class="text-info">:excluded_words</span>',
|
||||
'invalid_operators_list' => 'These search parameters are not valid and have been ignored.',
|
||||
|
||||
// old
|
||||
|
||||
@@ -43,6 +43,11 @@
|
||||
{{ trans('firefly.search_for_query', {query: query|escape})|raw }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if '' != excludedWords %}
|
||||
<p>
|
||||
{{ trans('firefly.search_for_excluded_words', {excluded_words: excludedWords|escape})|raw }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if invalidOperators|length > 0 %}
|
||||
<p>{{ trans('firefly.invalid_operators_list') }}</p>
|
||||
@@ -70,7 +75,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if query or operators|length > 0 %}
|
||||
{% if query or excludedWords or operators|length > 0 %}
|
||||
<div class="row result_row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<div class="box search_box">
|
||||
@@ -125,7 +130,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if query == "" and operators|length == 0 %}
|
||||
{% if query == "" and excludedWords == "" and operators|length == 0 %}
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<div class="box">
|
||||
|
||||
Reference in New Issue
Block a user