Skip to content

Commit

Permalink
Minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoyigi committed Jul 14, 2021
1 parent 63f2976 commit 628a222
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/admin/language/en/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@
'label_delivery_condition' => 'Delivery Condition',

'error_no_zero_total' => 'The %s can not be a value zero on conditions other than \'on all orders\'.',
'alert_delivery_area' => 'Add at least one delivery area to allow your customers to find this location.',
'alert_delivery_area' => 'Add at least one delivery area to allow your customers find this location.',
'alert_set_default' => 'Location set as default',
'alert_missing_map_center' => 'Map is missing center coordinates, please enter an address then click save.',
'alert_missing_map_config' => 'Missing Google Maps Javascript Library, please provide your maps api key on the general system settings page.',
Expand Down
1 change: 1 addition & 0 deletions app/system/language/en/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@
'button_check' => '<i class="fa fa-refresh"></i>&nbsp;&nbsp;Check Again',
'button_updates' => '<i class="fa fa-refresh"></i>&nbsp;&nbsp;Updates',
'button_update' => '<i class="fa fa-check"></i>&nbsp;&nbsp;Update',
'button_marketplace' => 'Open TastyIgniter Marketplace&nbsp;&nbsp;<i class="fa fa-external-link-alt"></i>',

'help_carte_key' => 'A Carte key is required to add/update item from the TastyIgniter Marketplace. Get one by creating a site from your <a href="%s" target="_blank">TastyIgniter Account</a>, if you haven\'t already.',
],
Expand Down
31 changes: 20 additions & 11 deletions app/system/views/updates/search.blade.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
<div class="panel panel-search">
<div class="panel-body">
<div id="marketplace-search" class="form-group search-group has-feedback">
<input
type="text"
class="form-control search input-lg"
placeholder="{{ sprintf(lang('system::lang.updates.text_search'), str_plural($itemType)) }}"
data-search-type="{{ $itemType }}"
data-search-action="{{ $searchActionUrl }}"
data-search-ready="false"
>
<i class="form-control-feedback fa fa-search fa-icon"></i>
<i class="form-control-feedback fa fa-spinner fa-icon loading" style="display: none"></i>
<div class="d-flex flex-column flex-lg-row align-items-center">
<div id="marketplace-search" class="form-group search-group has-feedback flex-grow-1">
<input
type="text"
class="form-control search input-lg"
placeholder="{{ sprintf(lang('system::lang.updates.text_search'), str_plural($itemType)) }}"
data-search-type="{{ $itemType }}"
data-search-action="{{ $searchActionUrl }}"
data-search-ready="false"
>
<i class="form-control-feedback fa fa-search fa-icon"></i>
<i class="form-control-feedback fa fa-spinner fa-icon loading" style="display: none"></i>
</div>
<div class="ml-lg-4">
<a
class="btn btn-secondary"
href="https://tastyigniter.com/marketplace"
target="_blank"
><b>@lang('system::lang.updates.button_marketplace')</b></a>
</div>
</div>
</div>
</div>

0 comments on commit 628a222

Please sign in to comment.