Skip to content

Commit

Permalink
Easy unlock icon
Browse files Browse the repository at this point in the history
  • Loading branch information
picman committed Jul 16, 2024
1 parent 8d88c68 commit a776c42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/helpers/dmsf_queries_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def column_value(column, item, value)
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)
Expand All @@ -45,7 +45,7 @@ def column_value(column, item, value)
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) +
Expand Down
2 changes: 1 addition & 1 deletion assets/stylesheets/easy_dmsf.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a776c42

Please sign in to comment.