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

View File

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