[Groonga-commit] ranguba/epub-searcher at 5610e4b [master] Show filtering condition

Back to archive index

KITAITI Makoto null+****@clear*****
Tue Sep 22 03:09:18 JST 2015


KITAITI Makoto	2015-09-22 03:09:18 +0900 (Tue, 22 Sep 2015)

  New Revision: 5610e4bfcc4015d1bb4faad53df58d7919524673
  https://github.com/ranguba/epub-searcher/commit/5610e4bfcc4015d1bb4faad53df58d7919524673

  Message:
    Show filtering condition

  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-22 03:07:56 +0900 (01247ed)
+++ app/locale/en.yml    2015-09-22 03:09:18 +0900 (188fb1d)
@@ -1,5 +1,6 @@
 en:
   search_results: "Search results for \"%{query_words}\"(%{hits})"
+  filtered_by_authors: "Filtered by \"%{authors}\""
   form_search:
     button: Search
   books:

  Modified: app/locale/ja.yml (+1 -0)
===================================================================
--- app/locale/ja.yml    2015-09-22 03:07:56 +0900 (4bea1ca)
+++ app/locale/ja.yml    2015-09-22 03:09:18 +0900 (dfde6e8)
@@ -1,5 +1,6 @@
 ja:
   search_results: "「%{query_words}」の検索結果(%{hits})"
+  filtered_by_authors: "「%{authors}」で絞り込み"
   form_search:
     button: 検索
   books:

  Modified: app/views/index.haml (+1 -0)
===================================================================
--- app/views/index.haml    2015-09-22 03:07:56 +0900 (0b4969b)
+++ app/views/index.haml    2015-09-22 03:09:18 +0900 (85fba45)
@@ -5,6 +5,7 @@
 
   %div{:class => 'page-header'}
     %h1= t'search_results', query_words: @query_words, hits: @hits if @results
+    %p{:class => 'filtered-by'}= t 'filtered_by_authors', authors: @authors.join(',') unles****@autho*****?
 
   = partial 'form_search'
 
-------------- next part --------------
HTML����������������������������...
Download 



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