Skip to content

Commit 490a722

Browse files
author
p01
committed
Fixed DFL-3644 - swap metadata ( image resolution & co ) and character encoding in the overview of the Resource Detail
1 parent 7a9d1bc commit 490a722

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resource-manager/resource_templates.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,12 @@ templates.resource_detail =
323323
ui_strings.S_RESOURCE_SENT_AND_GUESSED_TYPE
324324
.replace('%(SENT)',info.mimeType)
325325
.replace('%(GUESSED)',info.type)
326-
+(resource.data.meta?' ('+resource.data.meta+')':''),
326+
+(info.characterEncoding&&' '+ui_strings.S_RESOURCE_ENCODING.replace('%s',info.characterEncoding)),
327327
'class','resource-detail-overview-type'+(isError?' resource-detail-error':'')
328328
],
329329
['span',
330330
cls.ResourceUtil.bytes_to_human_readable(info.size)
331-
+(info.characterEncoding&&' '+ui_strings.S_RESOURCE_ENCODING.replace('%s',info.characterEncoding)),
331+
+(resource.data.meta?' ('+resource.data.meta+')':''),
332332
'data-tooltip','js-script-select',
333333
'data-tooltip-text',info.size+' bytes',
334334
'class','resource-detail-overview-size'

0 commit comments

Comments
 (0)