Author: jan
Date: Tue Mar 17 11:52:57 2009
New Revision: 755205

URL: http://svn.apache.org/viewvc?rev=755205&view=rev
Log:
show group=true notice only when view results are shown

Modified:
    couchdb/trunk/share/www/database.html
    couchdb/trunk/share/www/script/futon.browse.js
    couchdb/trunk/share/www/style/layout.css

Modified: couchdb/trunk/share/www/database.html
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/share/www/database.html?rev=755205&r1=755204&r2=755205&view=diff
==============================================================================
--- couchdb/trunk/share/www/database.html [utf-8] (original)
+++ couchdb/trunk/share/www/database.html [utf-8] Tue Mar 17 11:52:57 2009
@@ -192,8 +192,8 @@
           </tr>
         </tbody>
       </table>
-      <p>
-        Views with a reduce function will return a single row of reduced 
values.
+      <p id="grouptruenotice">
+        <strong>Note</strong>: Views with a reduce function will return a 
single row of reduced values.
         If you are looking for the same results that you can see here in Futon,
         add a <code>?group=true</code> parameter to your view query. Futon does
         this automatically.

Modified: couchdb/trunk/share/www/script/futon.browse.js
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/futon.browse.js?rev=755205&r1=755204&r2=755205&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/futon.browse.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/futon.browse.js [utf-8] Tue Mar 17 11:52:57 
2009
@@ -199,12 +199,14 @@
             }
             $("#language").change(updateDirtyState);
           });
+          $("#grouptruenotice").show();
         } else if (viewName == "_temp_view") {
           page.viewLanguage = $.cookies.get(db.name + ".language", 
page.viewLanguage);
           page.updateViewEditor(
             $.cookies.get(db.name + ".map", templates[page.viewLanguage]),
             $.cookies.get(db.name + ".reduce", "")
           );
+        $("#grouptruenotice").show();
         }
         page.populateLanguagesMenu();
         if (this.isTempView) {

Modified: couchdb/trunk/share/www/style/layout.css
URL: 
http://svn.apache.org/viewvc/couchdb/trunk/share/www/style/layout.css?rev=755205&r1=755204&r2=755205&view=diff
==============================================================================
--- couchdb/trunk/share/www/style/layout.css (original)
+++ couchdb/trunk/share/www/style/layout.css Tue Mar 17 11:52:57 2009
@@ -333,6 +333,7 @@
 #viewcode.collapsed table, #viewcode.collapsed .bottom { display: none; }
 
 #tempwarn { display: none; font-size: 90%; margin: 0 2em 1.5em; }
+#grouptruenotice { display: none; font-size: 90%; margin: 1ex 2em 1.5em; }
 
 /* Database table */
 


Reply via email to