1
0
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:
陈钦亮
2019-03-20 16:17:54 +08:00
committed by Daniel Pan
parent c61e6354d9
commit e72cee0ddb

View File

@@ -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">