+ client: add notice to the time interval input

This commit is contained in:
Ildar Kamalov 2019-08-28 15:32:06 +03:00
parent 6bce41bb0a
commit cac8149d47
2 changed files with 6 additions and 2 deletions

View File

@ -370,6 +370,7 @@
"interval_days": "{{count}} day",
"interval_days_plural": "{{count}} days",
"time_period": "Time period",
"time_period_desc": "If you decrease the interval value — some data will be lost",
"domain": "Domain",
"answer": "Answer",
"filter_added_successfully": "The filter has been successfully added"

View File

@ -37,12 +37,15 @@ const Form = (props) => {
<form onSubmit={handleSubmit}>
<div className="row">
<div className="col-12">
<label className="form__label" htmlFor="server_name">
<label className="form__label form__label--with-desc" htmlFor="server_name">
<Trans>time_period</Trans>
</label>
<div className="form__desc form__desc--top">
<Trans>time_period_desc</Trans>
</div>
</div>
<div className="col-12">
<div className="form__group">
<div className="form__group mt-2">
<div className="custom-controls-stacked">
{getIntervalFields(processing, t, handleChange, toNumber)}
</div>