display CouchDB database name and app version
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 10 Jan 2013 23:18:27 +0000 (00:18 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 10 Jan 2013 23:18:27 +0000 (00:18 +0100)
app/drzb2013.html.ep
app/js/services.js.ep

index e58bb32..53bb577 100644 (file)
@@ -38,7 +38,7 @@
     <li><a href="#/list">list</a></li>
     <li class="divider-vertical"></li>
   </ul>
-  <div class="brand">DRZB v<span app-version></span></div>
+  <div class="brand"><span app-version></span></div>
  </div>
 </div>
 % }
index d72d3cd..337f3ab 100644 (file)
@@ -6,7 +6,7 @@
 // Demonstrate how to register services
 // In this case it is a simple value service.
 angular.module('myApp.services', [ 'ngResource' ]).
-       value('version', '<%= $VERSION %>').
+       value('version', '<%= $couchdb_database %> <%= $VERSION %>').
 
        factory('RegistrationTypes', function($log) {
                var types = [