From: declerambaul Date: Sun, 29 Apr 2012 22:54:59 +0000 (-0400) Subject: Only show export button in dev mode for now. X-Git-Url: http://git.less.ly:3516/?a=commitdiff_plain;h=9ff1daf5be99a482e93643d382d9a83720592157;p=limn-bak.git Only show export button in dev mode for now. --- diff --git a/lib/template/graph-display.jade b/lib/template/graph-display.jade index 15651e7..61d43ec 100644 --- a/lib/template/graph-display.jade +++ b/lib/template/graph-display.jade @@ -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