Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

QA

  • Loading branch information...
commit 9903c0bd7d90256a3a4bf792ab98545700bd4e1c 1 parent a7c664a
authored October 17, 2010
30  app/views/searches/search.html.haml
... ...
@@ -1,21 +1,21 @@
1  
-%h1.parent_title= "Searching for #{params[:search]}"
  1
+%h1.parent-title= "Searching for #{params[:search]}"
2 2
 
3  
-
4  
-%p
5  
-  I have found 
  3
+%p.search-counter
  4
+  We have found 
6 5
   = @total
7 6
   results for  
8 7
   = "\'#{params[:search]}\'"
9  
-  #all-templates
10  
-    %ul
11  
-      - @templates.each do |template|
12  
-        %li
13  
-          %section#left.rounded-all
14  
-            %h2= link_to template.title, template
15  
-            = simple_format template.description
16  
-          %section#right.rounded-all
17  
-            %p.download= pluralize(template.download_counter, "person has downloaded it", "people have downloaded it")
18  
-            %p.liked= pluralize(template.likes.count, "person like it", "people like it")
  8
+  
  9
+#all-templates
  10
+  %ul
  11
+    - @templates.each do |template|
  12
+      %li
  13
+        %section#left.rounded-all
  14
+          %h2= link_to template.title, template
  15
+          = simple_format template.description
  16
+        %section#right.rounded-all
  17
+          %p.download= pluralize(template.download_counter, "person has downloaded it", "people have downloaded it")
  18
+          %p.liked= like_counter(template)
19 19
 
20 20
 
21  
-    = will_paginate @templates
  21
+  = will_paginate @templates
2  public/stylesheets/application.css
@@ -651,6 +651,8 @@ body {
651 651
     body #all-templates .pagination .prev {
652 652
       text-indent: auto;
653 653
       background: none; }
  654
+  body .search-counter {
  655
+    margin: 0 0 10px 0; }
654 656
 
655 657
 #source_code.loading {
656 658
   height: 300px;
5  public/stylesheets/sass/application.sass
@@ -684,6 +684,11 @@ body
684 684
         text-indent: auto
685 685
         background: none
686 686
 
  687
+  // SEARCH
  688
+  .search-counter
  689
+    margin: 0 0 10px 0
  690
+    
  691
+
687 692
 // Loading Source Code ------------------
688 693
 #source_code.loading
689 694
   height: 300px

0 notes on commit 9903c0b

Please sign in to comment.
Something went wrong with that request. Please try again.