diff --git a/client/homebrew/sharePage/sharePage.jsx b/client/homebrew/sharePage/sharePage.jsx index 2ec45cb93..75e5c7736 100644 --- a/client/homebrew/sharePage/sharePage.jsx +++ b/client/homebrew/sharePage/sharePage.jsx @@ -25,6 +25,7 @@ var SharePage = React.createClass({ return(
' + this.props.sourceText + ''); + }, + + + renderInfo : function(){ if(!this.props.lastUpdated) return null; @@ -47,6 +55,14 @@ var Statusbar = React.createClass({ }, + renderSourceButton : function(){ + if(!this.props.sourceText) return null; + + return + View Source + + }, + renderNewButton : function(){ if(this.props.editId || this.props.shareId) return null; @@ -96,6 +112,7 @@ var Statusbar = React.createClass({