projects
/
limn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f548d61
)
Only show export button in dev mode for now.
author
declerambaul
<fabian.kaelin@gmail.com>
Sun, 29 Apr 2012 22:54:59 +0000 (18:54 -0400)
committer
declerambaul
<fabian.kaelin@gmail.com>
Sun, 29 Apr 2012 22:54:59 +0000 (18:54 -0400)
lib/template/graph-display.jade
patch
|
blob
|
history
diff --git
a/lib/template/graph-display.jade
b/lib/template/graph-display.jade
index
15651e7
..
61d43ec
100644
(file)
--- 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