<tr>
<th>{translate('branch')}</th>
<th className="thin nowrap text-right">{translate('status')}</th>
- <th className="thin nowrap text-right">
+ <th className="thin nowrap text-right big-spacer-left">
{translate('branches.last_analysis_date')}
</th>
<th className="thin nowrap text-right">{translate('actions')}</th>
)}
</td>
<td className="thin nowrap text-right">
- <BranchStatus branchLike={branchLike} />
+ <BranchStatus branchLike={branchLike} helpTooltipClassName="table-cell-doc" />
</td>
- <td className="thin nowrap text-right">
+ <td className="thin nowrap text-right big-spacer-left">
{branchLike.analysisDate && <DateFromNow date={branchLike.analysisDate} />}
</td>
{this.renderActions()}
"name": "master",
}
}
+ helpTooltipClassName="table-cell-doc"
/>
</td>
<td
- className="thin nowrap text-right"
+ className="thin nowrap text-right big-spacer-left"
/>
<td
className="thin nowrap text-right"
"title": "Feature PR",
}
}
+ helpTooltipClassName="table-cell-doc"
/>
</td>
<td
- className="thin nowrap text-right"
+ className="thin nowrap text-right big-spacer-left"
/>
<td
className="thin nowrap text-right"
"type": "SHORT",
}
}
+ helpTooltipClassName="table-cell-doc"
/>
</td>
<td
- className="thin nowrap text-right"
+ className="thin nowrap text-right big-spacer-left"
>
<DateFromNow
date="2017-09-27T00:05:19+0000"
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import * as React from 'react';
+import * as classNames from 'classnames';
import StatusIndicator from './StatusIndicator';
import Level from '../ui/Level';
import BugIcon from '../icons-components/BugIcon';
interface Props {
branchLike: BranchLike;
concise?: boolean;
+ helpTooltipClassName?: string;
}
-export default function BranchStatus({ branchLike, concise = false }: Props) {
+export default function BranchStatus({ branchLike, concise = false, helpTooltipClassName }: Props) {
if (isShortLivingBranch(branchLike) || isPullRequest(branchLike)) {
if (!branchLike.status) {
return null;
</li>
{shouldDisplayHelper && (
<HelpTooltip
- className="spacer-left"
+ className={classNames('spacer-left', helpTooltipClassName)}
overlay={translateWithParameters(
'branches.short_lived.quality_gate.description',
totalIssues