mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 01:12:03 +00:00
add published button (#3150)
This commit is contained in:
@@ -787,6 +787,15 @@ class Draft extends React.Component {
|
||||
{gettext('Publish')}
|
||||
</button>
|
||||
}
|
||||
{draftStatus == 'published' &&
|
||||
<button
|
||||
className='btn btn-success file-operation-btn'
|
||||
title={gettext('Published')}
|
||||
disabled
|
||||
>
|
||||
{gettext('Published')}
|
||||
</button>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
<div id="main" className="main" ref="main">
|
||||
|
Reference in New Issue
Block a user