[Groonga-commit] ranguba/epub-searcher at 0319233 [master] Show query words in page title

Back to archive index

KITAITI Makoto null+****@clear*****
Fri Sep 18 17:26:12 JST 2015


KITAITI Makoto	2015-09-18 17:26:12 +0900 (Fri, 18 Sep 2015)

  New Revision: 031923328e0e69cf36b2147f4f6bbd0f0aac94fa
  https://github.com/ranguba/epub-searcher/commit/031923328e0e69cf36b2147f4f6bbd0f0aac94fa

  Message:
    Show query words in page title

  Modified files:
    app/locale/en.yml
    app/locale/ja.yml
    app/views/index.haml

  Modified: app/locale/en.yml (+1 -0)
===================================================================
--- app/locale/en.yml    2015-09-18 16:56:13 +0900 (f7bf9f9)
+++ app/locale/en.yml    2015-09-18 17:26:12 +0900 (cb2dac3)
@@ -1,4 +1,5 @@
 en:
+  search_results: "Search results for %{query_words}"
   form_search:
     button: Search
   books:

  Modified: app/locale/ja.yml (+1 -0)
===================================================================
--- app/locale/ja.yml    2015-09-18 16:56:13 +0900 (d3434eb)
+++ app/locale/ja.yml    2015-09-18 17:26:12 +0900 (02830df)
@@ -1,4 +1,5 @@
 ja:
+  search_results: "%{query_words}の検索結果"
   form_search:
     button: 検索
   books:

  Modified: app/views/index.haml (+2 -1)
===================================================================
--- app/views/index.haml    2015-09-18 16:56:13 +0900 (3af1db7)
+++ app/views/index.haml    2015-09-18 17:26:12 +0900 (cb25ff9)
@@ -1,7 +1,8 @@
 %div{:class => 'container'}
 
   %div{:class => 'page-header'}
-    %h1= link_to 'EPUB Searcher', url_for(:index)
+    %h2= link_to 'EPUB Searcher', url_for(:index)
+    %h1= t'search_results', query_words: @query_words
 
   = partial 'form_search'
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index