incorporated design feedback

pull/21833/head
Zoe 2020-03-26 13:47:32 +00:00
parent 9c392ce8bb
commit 04849f7f0d
3 changed files with 6 additions and 6 deletions

View File

@ -661,11 +661,10 @@ div.mx_EventTile_notSent.mx_EventTile_redacted .mx_UnknownBody {
.mx_EventTile_tileError {
color: red;
text-align: center;
.mx_EventTile_line span {
padding: 4px 8px;
border-radius: 11px;
box-shadow: 0px 0px 3px red inset;
}
a {

View File

@ -57,10 +57,10 @@ export default class TileErrorBoundary extends React.Component {
return (<div className={classNames(classes)}>
<div className="mx_EventTile_line">
<span>
{_t("An error occurred while rendering this event.")}
{ mxEvent && ` [${mxEvent.getType()}]` }
{_t("Can't load this message")}
{ mxEvent && ` (${mxEvent.getType()})` }
<a onClick={this._onBugReport} href="#">
{_t("Submit debug logs")}
{_t("Submit logs")}
</a>
</span>
</div>

View File

@ -1294,7 +1294,8 @@
"You are about to be taken to a third-party site so you can authenticate your account for use with %(integrationsUrl)s. Do you wish to continue?": "You are about to be taken to a third-party site so you can authenticate your account for use with %(integrationsUrl)s. Do you wish to continue?",
"Edited at %(date)s. Click to view edits.": "Edited at %(date)s. Click to view edits.",
"edited": "edited",
"An error occurred while rendering this event.": "An error occurred while rendering this event.",
"Can't load this message": "Can't load this message",
"Submit logs": "Submit logs",
"Removed or unknown message type": "Removed or unknown message type",
"Message removed by %(userId)s": "Message removed by %(userId)s",
"Message removed": "Message removed",