Skip to content

Commit

Permalink
[frontend] Fix no history alignement (#1998)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Hassine committed Mar 30, 2022
1 parent c8479f3 commit 72eb4b0
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,15 @@ class StixCoreObjectExternalReferencesLinesContainer extends Component {
)}
</List>
) : (
<div style={{ display: 'table', height: '100%', width: '100%' }}>
<div
style={{
display: 'table',
height: '100%',
width: '100%',
paddingTop: 15,
paddingBottom: 15,
}}
>
<span
style={{
display: 'table-cell',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class StixCoreObjectOrStixCoreRelationshipLastReports extends Component {
textAlign: 'center',
}}
>
{t('No entities of this type has been found.')}
{t('No reports about this entity.')}
</span>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const styles = () => ({
paperHistory: {
height: '100%',
margin: '10px 0 0 0',
padding: '15px 15px 0 15px',
padding: 15,
borderRadius: 6,
},
});
Expand All @@ -34,7 +34,13 @@ class StixCoreObjectHistoryLinesComponent extends Component {
);
})
) : (
<div style={{ display: 'table', height: '100%', width: '100%' }}>
<div
style={{
display: 'table',
height: '100%',
width: '100%',
}}
>
<span
style={{
display: 'table-cell',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const styles = () => ({
paperHistory: {
height: '100%',
margin: '10px 0 0 0',
padding: '15px 15px 0 15px',
padding: 15,
borderRadius: 6,
},
});
Expand All @@ -34,7 +34,13 @@ class StixCoreRelationshipHistoryLinesComponent extends Component {
);
})
) : (
<div style={{ display: 'table', height: '100%', width: '100%' }}>
<div
style={{
display: 'table',
height: '100%',
width: '100%',
}}
>
<span
style={{
display: 'table-cell',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const styles = () => ({
paperHistory: {
height: '100%',
margin: '10px 0 0 0',
padding: '15px 15px 15px 15px',
padding: 15,
borderRadius: 6,
},
});
Expand Down
3 changes: 3 additions & 0 deletions opencti-platform/opencti-front/src/utils/Localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,8 @@ const i18n = {
'30 days': '30 jours',
'No entities were found for this search.':
"Aucune entité n'a été trouvée pour cette recherche.",
'No reports about this entity.':
'Aucun rapport à propos de cette entité.',
'API access': "Accès à l'API",
Example: 'Exemple',
'API key': "Clé d'API",
Expand Down Expand Up @@ -2327,6 +2329,7 @@ const i18n = {
'24 hours': '24小时',
'30 days': '30天',
'No entities were found for this search.': '未找到此搜索的实体。',
'No reports about this entity.': '没有关于此实体的报告。',
'API access': 'API访问',
Example: '示例',
'API key': 'API密钥',
Expand Down

0 comments on commit 72eb4b0

Please sign in to comment.