Skip to content

Commit

Permalink
Price min and max implemented as phrases.
Browse files Browse the repository at this point in the history
  • Loading branch information
agorshechnikov committed Apr 19, 2016
1 parent 2248d55 commit d593a4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -324,5 +324,7 @@
<phrase category="frontend" key="search_for_car">Search for a car</phrase>
<phrase category="frontend" key="tab_featured_cars">Featured cars</phrase>
<phrase category="frontend" key="tab_new_cars">Newly added cars</phrase>
<phrase category="frontend" key="as_price_min">Price min</phrase>
<phrase category="frontend" key="as_price_max">Price max</phrase>
</phrases>
</template>
4 changes: 2 additions & 2 deletions packages/autos/block.quicksearch.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
</select>
</div>
<div class="col-md-4">
<input class="form-control" type="text" name="price[f]" placeholder="Price min" value="{if isset($smarty.get.price[f])}{$smarty.get.price[f]}{else}{/if}">
<input class="form-control" type="text" name="price[f]" placeholder="{lang key='as_price_min'}" value="{if isset($smarty.get.price[f])}{$smarty.get.price[f]}{else}{/if}">
</div>
<div class="col-md-4">
<input class="form-control" type="text" name="price[t]" placeholder="Price max" value="{if isset($smarty.get.price[t])}{$smarty.get.price[t]}{else}{/if}">
<input class="form-control" type="text" name="price[t]" placeholder="{lang key='as_price_min'}" value="{if isset($smarty.get.price[t])}{$smarty.get.price[t]}{else}{/if}">
</div>
</div>
</div>
Expand Down

0 comments on commit d593a4a

Please sign in to comment.