diff options
Diffstat (limited to 'web/src/js/components/ContentView/ContentViewOptions.jsx')
-rw-r--r-- | web/src/js/components/ContentView/ContentViewOptions.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/js/components/ContentView/ContentViewOptions.jsx b/web/src/js/components/ContentView/ContentViewOptions.jsx index 6bc66db2..1ec9013e 100644 --- a/web/src/js/components/ContentView/ContentViewOptions.jsx +++ b/web/src/js/components/ContentView/ContentViewOptions.jsx @@ -12,13 +12,13 @@ ContentViewOptions.propTypes = { function ContentViewOptions({ flow, message, uploadContent, readonly, contentViewDescription }) { return ( <div className="view-options"> - <ViewSelector message={message}/> + {readonly ? <ViewSelector message={message}/> : <span><b>View:</b> edit</span>} <DownloadContentButton flow={flow} message={message}/> {!readonly && <UploadContentButton uploadContent={uploadContent}/> } - <span>{contentViewDescription}</span> + {readonly && <span>{contentViewDescription}</span>} </div> ) } |