<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -23,7 +23,10 @@ class GenericPages(webapp.RequestHandler):
     @secure
     def user_name(self, **kwargs):
         u = self.users.get_current_user()
-        return dict(valid=True, data=&quot;&lt;a onclick='destroy_cache();'&gt;Welcome&lt;/a&gt; &quot; + u.first_name+&quot; &quot;+u.last_name)
+        if int(self.request.get('version', 0)) &lt; 2:
+            return dict(valid=True, data=&quot;&lt;a onclick='destroy_cache();'&gt;Welcome&lt;/a&gt; &quot; + u.first_name+&quot; &quot;+u.last_name + &quot;.&lt;a onclick=\&quot;destroy_cache();\&quot;&gt;&lt;span class=\&quot;new_feature\&quot;&gt; New features have been added! To enable them, click here.&lt;/span&gt;&lt;/a&gt;&quot;)
+        else:
+            return dict(valid=True, data=&quot;&lt;a onclick='destroy_cache();'&gt;Welcome&lt;/a&gt; &quot; + u.first_name+&quot; &quot;+u.last_name)
     
     @secure
     def logout(self, **kwargs):</diff>
      <filename>controllers/__init__.py</filename>
    </modified>
    <modified>
      <diff>@@ -35,4 +35,10 @@ tr.even td {
 
 .clickable {
     cursor: hand;
+}
+
+.new_feature {
+  cursor: hand;
+  color: white;
+  background-color: red;
 }
\ No newline at end of file</diff>
      <filename>static/css/main.css</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,7 @@
   &quot;version&quot;: &quot;gears1.1&quot;,
   &quot;entries&quot;: [
       { &quot;url&quot;: &quot;/static/js/jquery.js&quot;},
+      { &quot;url&quot;: &quot;/static/js/main.js&quot;},
       { &quot;url&quot;: &quot;/static/js/jquery-ui.js&quot;},
       { &quot;url&quot;: &quot;/static/js/transaction.js&quot;},
       { &quot;url&quot;: &quot;/static/js/user_list.js&quot;},</diff>
      <filename>static/gears/manifest.json</filename>
    </modified>
    <modified>
      <diff>@@ -15,6 +15,7 @@ function destroy_cache(){
   }else{
 var localServer = google.gears.factory.create('beta.localserver');
 var store = localServer.removeManagedStore('sse-pos-store');
+window.location.reload();
 }
 }
 
@@ -27,4 +28,5 @@ function process_donation(){
         else
             alert(&quot;Server Error!&quot;);
     });
-}
\ No newline at end of file
+}
+CONST_VERSION = 2;
\ No newline at end of file</diff>
      <filename>static/js/main.js</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,7 @@
 		&lt;script type=&quot;text/javascript&quot;&gt;
 			$(document).ready(function(){
 			    enable_cache();
-				$.get('/user_name', function(data){
+				$.get('/user_name?version=' + CONST_VERSION, function(data){
 					data = eval('('+ data +')');
 					if (data.valid){
 						$('#welcome').html(data.data);</diff>
      <filename>templates/base.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4ca27d3186e1c382c78e1a9c3ededd96e4e952c3</id>
    </parent>
  </parents>
  <author>
    <name>Silas Snider</name>
    <email>ssnider@Proskurowski.local</email>
  </author>
  <url>http://github.com/swsnider/sse-pos/commit/bde4f874084de132fdeb15752e24e9e8b692c4c3</url>
  <id>bde4f874084de132fdeb15752e24e9e8b692c4c3</id>
  <committed-date>2009-10-28T21:06:20-07:00</committed-date>
  <authored-date>2009-10-28T21:06:20-07:00</authored-date>
  <message>fixed gears code so that it will prompt you to reload the gears cache if it's out of date</message>
  <tree>95622545a5323cbfeababd0badaac0be56f821bb</tree>
  <committer>
    <name>Silas Snider</name>
    <email>ssnider@Proskurowski.local</email>
  </committer>
</commit>
