Show deprecation notice on Logs tab

Change-Id: Ie26305ee3c7df35cebf697b34adea87effe0b2bc
Closes-Bug: #1556244
This commit is contained in:
Nikolay Bogdanov 2016-04-07 15:15:14 +03:00 committed by Vitaly Kramskikh
parent 9589c5fb1a
commit 156d63fe30
3 changed files with 14 additions and 2 deletions

View File

@ -1110,6 +1110,12 @@ input[type=range] {
margin-top: 0;
.font-light;
font-size: @base-font-size + 12;
.help-block {
display: inline-block;
margin: 0 0 0 20px;
font-size: @base-font-size - 1;
color: @gray + 20%;
}
}
}
}

View File

@ -866,7 +866,8 @@
"message": "Message",
"bottom_text": "Some lines have been skipped. Show more lines.",
"all_logs": "All",
"no_log_text": "No log entries match current filters."
"no_log_text": "No log entries match current filters.",
"deprecation_note": "This tab is deprecated and will be removed in the upcoming release."
},
"healthcheck_tab": {
"title": "OpenStack Health Check",

View File

@ -126,7 +126,12 @@ var LogsTab = React.createClass({
render() {
return (
<div className='row'>
<div className='title'>{i18n('cluster_page.logs_tab.title')}</div>
<div className='title'>
{i18n('cluster_page.logs_tab.title')}
<div className='help-block'>
{i18n('cluster_page.logs_tab.deprecation_note')}
</div>
</div>
<div className='col-xs-12 content-elements'>
<LogFilterBar
{... _.pick(this.props, 'selectedLogs', 'changeLogSelection')}