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> </h3>
<hr/> <hr/>
<p> <p>
There {Pluralize('is', this.props.event_count)} {<div There {Pluralize('is', this.props.event_count)} {
className={'badge badge-primary'}>{this.props.event_count}</div>} <div className={'badge badge-primary'}>{this.props.event_count}</div>
{Pluralize('event', this.props.event_count)} associated } {Pluralize('event', this.props.event_count)} associated with this finding. {
with this finding. <div className={'badge badge-primary'}>
{<div className={'badge badge-primary'}> {this.props.latest_events.length + this.props.oldest_events.length}
{this.props.latest_events.length + this.props.oldest_events.length} </div>
</div>} {Pluralize('is', this.props.event_count)} displayed below. } {Pluralize('is', this.props.event_count)} displayed below. All events can be exported using the Export button.
All events can be exported to json.
</p> </p>
{this.props.event_count > 5 ? this.renderButtons() : null} {this.props.event_count > 5 ? this.renderButtons() : null}
<EventsTimeline events={this.props.oldest_events}/> <EventsTimeline events={this.props.oldest_events}/>