Fix some whitespace issues in the events modal

This commit is contained in:
Shay Nehmad 2020-06-25 10:54:59 +03:00
parent da58ea7250
commit 27c50fdc55
1 changed files with 7 additions and 8 deletions

View File

@ -26,14 +26,13 @@ export default class EventsModal extends AuthComponent {
</h3>
<hr/>
<p>
There {Pluralize('is', this.props.event_count)} {<div
className={'badge badge-primary'}>{this.props.event_count}</div>}
{Pluralize('event', this.props.event_count)} associated
with this finding.
{<div className={'badge badge-primary'}>
{this.props.latest_events.length + this.props.oldest_events.length}
</div>} {Pluralize('is', this.props.event_count)} displayed below.
All events can be exported to json.
There {Pluralize('is', this.props.event_count)} {
<div className={'badge badge-primary'}>{this.props.event_count}</div>
} {Pluralize('event', this.props.event_count)} associated with this finding. {
<div className={'badge badge-primary'}>
{this.props.latest_events.length + this.props.oldest_events.length}
</div>
} {Pluralize('is', this.props.event_count)} displayed below. All events can be exported using the Export button.
</p>
{this.props.event_count > 5 ? this.renderButtons() : null}
<EventsTimeline events={this.props.oldest_events}/>