Easy unlock icon

This commit is contained in:
Karel Pičman 2024-07-16 13:49:58 +02:00
parent 8d88c6845f
commit a776c42c94
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ module DmsfQueriesHelper
content_tag(:span,
'',
title: l(:title_locked_by_user, user: file.locked_by),
class: 'icon icon-unlock')
class: 'icon icon-unlock dmsf-icon-unlock')
end
when 'folder'
folder = DmsfFolder.find_by(id: item.id)
@ -45,7 +45,7 @@ module DmsfQueriesHelper
content_tag(:span,
'',
title: l(:title_locked_by_user, user: folder.locked_by),
class: 'icon icon-unlock')
class: 'icon icon-unlock dmsf-icon-unlock')
end
end
content_tag(:span, val) +

View File

@ -30,7 +30,7 @@
.dmsf-tree.idnt-9 td.dmsf-title { padding-left: 5.5em; }
/* Unlock icon */
span.icon-unlock {
span.dmsf-icon-unlock {
margin-left: 4px;
}