ac324e064f82

Don't give away the repo filesystem path in the web UI footer.

Now that we have a read-only mode people might want to expose the web UI to
the world.  We shouldn't display sensitive data on the pages any more.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 27 Mar 2010 12:11:12 -0400
parents 6df093d9f238
children 048ef4889301
branches/tags (none)
files review/web_media/style.css review/web_templates/base.html

Changes

--- a/review/web_media/style.css	Sat Mar 27 12:04:57 2010 -0400
+++ b/review/web_media/style.css	Sat Mar 27 12:11:12 2010 -0400
@@ -41,6 +41,12 @@
     font-style: italic;
     padding-top: 1.5em;
 }
+div#footer a {
+    color: #fff;
+}
+div#footer a:hover {
+    text-decoration: underline;
+}
 
 /* Links. */
 a {
--- a/review/web_templates/base.html	Sat Mar 27 12:04:57 2010 -0400
+++ b/review/web_templates/base.html	Sat Mar 27 12:11:12 2010 -0400
@@ -52,7 +52,7 @@
             </div>
         </div>
         <div id="footer">
-            <p>reviewing: {{ datastore.target.root }}</p>
+            <p>reviewing {{ utils["basename"](datastore.target.root) }} with <a href="http://bitbucket.org/sjl/hg-review/">hg-review</a></p>
         </div>
     </body>
 </html>
\ No newline at end of file