show a whitelabel indicator icon in the forms list.

This commit is contained in:
fiatjaf 2018-09-17 01:37:36 +00:00 committed by Cole
parent 122f4825e4
commit 31fdd56071
1 changed files with 24 additions and 0 deletions

View File

@ -200,6 +200,30 @@ class FormItem extends React.Component {
</Link>
)}
</td>
{form.features.whitelabel && (
<td>
<Link
to={`/forms/${form.hashid}/whitelabel`}
className="no-underline"
>
{form.template ? (
<span
className="tooltip hint--top"
data-hint="Uses a custom email template."
>
<span className="ion-document-text" />
</span>
) : (
<span
className="tooltip hint--top"
data-hint="Doesn't use a custom email template."
>
<span className="ion-document" />
</span>
)}
</Link>
</td>
)}
<td>
<Link to={`/forms/${form.hashid}/settings`} className="no-underline">
<span className="ion-gear-b" />