Skip to content

Commit

Permalink
[BUGFIX] Add filetype to aria-label in news detail view (#367)
Browse files Browse the repository at this point in the history
The filetype has been added to the aria-label in news detail view
  • Loading branch information
hputzek authored and MattiasNilsson committed Dec 7, 2017
1 parent b782f9c commit 010ef6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h2>
<span class="news-related-files-link">
<f:if condition="{settings.detail.showRelatedFileIcon}">
<t3kit:render.svg
aria-label="{f:translate(key:'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_file.type')}"
aria-label="{f:translate(key:'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_file.type')}: {relatedFile.originalResource.extension}"
source="{f:uri.resource(path: 'Icons/FileIcons/{relatedFile.originalResource.extension}.svg', extensionName: 'theme_t3kit')}" />
</f:if>
<f:link.typolink parameter="{relatedFile.originalResource.publicUrl}"
Expand Down

0 comments on commit 010ef6a

Please sign in to comment.