[Groonga-commit] nroonga/norema [master] Output pager only if found

Back to archive index

Yoji SHIDARA null+****@clear*****
Tue Aug 21 15:52:32 JST 2012


Yoji SHIDARA	2012-08-21 15:52:32 +0900 (Tue, 21 Aug 2012)

  New Revision: 451479d3b3c765386865688ba9193ac17e969e6b
  https://github.com/nroonga/norema/commit/451479d3b3c765386865688ba9193ac17e969e6b

  Log:
    Output pager only if found

  Modified files:
    views/search.jade

  Modified: views/search.jade (+2 -2)
===================================================================
--- views/search.jade    2012-08-21 15:31:41 +0900 (5ecf65d)
+++ views/search.jade    2012-08-21 15:52:32 +0900 (112ec4e)
@@ -17,8 +17,8 @@ block content
 
   .row
     .span9
-      include pager
       if records.length > 0
+        include pager
         each record, index in records
           .record
             h2
@@ -32,7 +32,7 @@ block content
                   span  » 
 
             !{record.data.desc}
-      include pager
+        include pager
 
     .span3
       if pathFacets.length > 0
-------------- next part --------------
HTML����������������������������...
Descargar 



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