mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Search improvements.
This commit is contained in:
@@ -217,7 +217,27 @@ return [
|
||||
// search
|
||||
'search' => 'Search',
|
||||
'search_query' => 'Query',
|
||||
'search_found_transactions' => 'Number of transactions found:',
|
||||
'search_found_transactions' => 'Firefly III found :count transaction(s) 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_modifier_amount_is' => 'Amount is exactly :value',
|
||||
'search_modifier_amount' => 'Amount is exactly :value',
|
||||
'search_modifier_amount_max' => 'Amount is at most :value',
|
||||
'search_modifier_amount_min' => 'Amount is at least :value',
|
||||
'search_modifier_amount_less' => 'Amount is less than :value',
|
||||
'search_modifier_amount_more' => 'Amount is more than :value',
|
||||
'search_modifier_source' => 'Source account is :value',
|
||||
'search_modifier_destination' => 'Destination account is :value',
|
||||
'search_modifier_category' => 'Category is :value',
|
||||
'search_modifier_budget' => 'Budget is :value',
|
||||
'search_modifier_bill' => 'Bill is :value',
|
||||
'search_modifier_type' => 'Transaction type is :value',
|
||||
'search_modifier_date' => 'Transaction date is :value',
|
||||
'search_modifier_date_before' => 'Transaction date is before :value',
|
||||
'search_modifier_date_after' => 'Transaction date is after :value',
|
||||
'search_modifier_on' => 'Transaction date is :value',
|
||||
'search_modifier_before' => 'Transaction date is before :value',
|
||||
'search_modifier_after' => 'Transaction date is after :value',
|
||||
'modifiers_applies_are' => 'The following modifiers are applied to the search as well:',
|
||||
'general_search_error' => 'An error occured while searching. Please check the log files for more information.',
|
||||
'search_box' => 'Search',
|
||||
'search_box_intro' => 'Welcome to the search function of Firefly III. Enter your search query in the box. Make sure you check out the help file because the search is pretty advanced.',
|
||||
|
||||
@@ -20,7 +20,8 @@
|
||||
<div class="form-group">
|
||||
<label for="query" class="col-sm-1 control-label">{{ 'search_query'|_ }}</label>
|
||||
<div class="col-sm-10">
|
||||
<input autocomplete="off" type="text" name="q" id="query" value="{{ fullQuery }}" class="form-control" placeholder="{{ fullQuery }}">
|
||||
<input autocomplete="off" type="text" name="q" id="query" value="{{ fullQuery }}" class="form-control"
|
||||
placeholder="{{ fullQuery }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@@ -29,6 +30,17 @@
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<p>
|
||||
{{ trans('firefly.search_for_query', {query: query})|raw}}
|
||||
</p>
|
||||
{% if modifiers|length > 0 %}
|
||||
<p>{{ trans('firefly.modifiers_applies_are') }}</p>
|
||||
<ul>
|
||||
{% for modifier in modifiers %}
|
||||
<li>{{ trans('firefly.search_modifier_'~modifier.type, {value: modifier.value}) }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -44,11 +56,7 @@
|
||||
<p class="search_ongoing text-center" style="margin-top:70px;">
|
||||
{{ 'search_searching'|_ }}
|
||||
</p>
|
||||
<p class="search_count" style="display: none;">
|
||||
{{ 'search_found_transactions'|_ }} <span class="search_count"></span>
|
||||
</p>
|
||||
<div class="search_results" style="display: none;">
|
||||
</div>
|
||||
<div class="search_results" style="display: none;"></div>
|
||||
{# loading indicator #}
|
||||
<div class="overlay">
|
||||
<i class="fa fa-refresh fa-spin"></i>
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
<p>
|
||||
<p class="search_count">
|
||||
{{ trans('firefly.search_found_transactions', {count: transactions.count, time: searchTime}) }}
|
||||
</p>
|
||||
|
||||
<table class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr class="ignore">
|
||||
|
||||
Reference in New Issue
Block a user