Only show export button in dev mode for now.
authordeclerambaul <fabian.kaelin@gmail.com>
Sun, 29 Apr 2012 22:54:59 +0000 (18:54 -0400)
committerdeclerambaul <fabian.kaelin@gmail.com>
Sun, 29 Apr 2012 22:54:59 +0000 (18:54 -0400)
lib/template/graph-display.jade

index 15651e7..61d43ec 100644 (file)
@@ -17,9 +17,10 @@ section.graph-display.graph(id=view.id)
     .graph-details-row.row
         .span6.offset1.graph-permalink 
                 input.span6(value="#{model.toPermalink()}", readonly="readonly")
-        .span1.a.export-button.btn(href="#")
-            i.icon-file
-            |  Export
+        if ENV == 'dev'
+            .span1.a.export-button.btn(href="#")
+                i.icon-file
+                |  Export
 
     .graph-details-row.row
         .span6.offset1.graph-notes