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