Small UI fixes for left pane dialogs
This commit is contained in:
parent
6c906d5da8
commit
f3715411c6
7 changed files with 298 additions and 226 deletions
|
@ -5,6 +5,8 @@ import React from 'react';
|
|||
|
||||
import { LocalizerType } from '../types/Util';
|
||||
|
||||
import { LeftPaneDialog } from './LeftPaneDialog';
|
||||
|
||||
type PropsType = {
|
||||
hasExpired: boolean;
|
||||
i18n: LocalizerType;
|
||||
|
@ -19,19 +21,17 @@ export const DialogExpiredBuild = ({
|
|||
}
|
||||
|
||||
return (
|
||||
<div className="LeftPaneDialog LeftPaneDialog--error">
|
||||
<div className="LeftPaneDialog__message">
|
||||
{i18n('expiredWarning')}{' '}
|
||||
<a
|
||||
className="LeftPaneDialog__action-text"
|
||||
href="https://signal.org/download/"
|
||||
rel="noreferrer"
|
||||
tabIndex={-1}
|
||||
target="_blank"
|
||||
>
|
||||
{i18n('upgrade')}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<LeftPaneDialog type="error">
|
||||
{i18n('expiredWarning')}{' '}
|
||||
<a
|
||||
className="LeftPaneDialog__action-text"
|
||||
href="https://signal.org/download/"
|
||||
rel="noreferrer"
|
||||
tabIndex={-1}
|
||||
target="_blank"
|
||||
>
|
||||
{i18n('upgrade')}
|
||||
</a>
|
||||
</LeftPaneDialog>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue