KITAITI Makoto
null+****@clear*****
Fri Sep 18 18:20:41 JST 2015
KITAITI Makoto 2015-09-18 18:20:41 +0900 (Fri, 18 Sep 2015) New Revision: 6c4d243135cc8bc62ff3b5f13148ebc83ee748d5 https://github.com/ranguba/epub-searcher/commit/6c4d243135cc8bc62ff3b5f13148ebc83ee748d5 Message: Show query words in title only when results exist Modified files: app/views/index.haml Modified: app/views/index.haml (+1 -1) =================================================================== --- app/views/index.haml 2015-09-18 18:02:07 +0900 (8562489) +++ app/views/index.haml 2015-09-18 18:20:41 +0900 (4e0373e) @@ -3,7 +3,7 @@ %div{:class => 'page-header'} %h2= link_to 'EPUB Searcher', url_for(:index) - %h1= t'search_results', query_words: @query_words + %h1= t'search_results', query_words: @query_words if @results = partial 'form_search' -------------- next part -------------- HTML����������������������������... Download