New icons

This commit is contained in:
Karel Picman 2017-08-03 15:22:05 +02:00
parent 20efe84ad1
commit 0627c8d286
8 changed files with 7 additions and 9 deletions

View File

@ -63,7 +63,8 @@ module DmsfHelper
else
cls = Redmine::MimeType.css_class_of(filename)
end
cls + ' dmsf-icon-file'
cls << ' dmsf-icon-file' if cls
cls
end
def plugin_asset_path(plugin, asset_type, source)

View File

@ -81,7 +81,7 @@
:data => {:confirm => l(:text_are_you_sure)},
:title => l(:title_delete),
:method => :delete,
:class => 'icon-only icon-delete') %>
:class => 'icon-only icon-del') %>
<% end %>
<% end %>
</td>

View File

@ -76,7 +76,7 @@
:data => {:confirm => l(:text_are_you_sure)},
:method => :delete,
:title => l(:title_delete),
:class => 'icon-only icon-delete') %>
:class => 'icon-only icon-del') %>
<% end %>
</td>
<td class="hol">1</td>

View File

@ -81,13 +81,13 @@
<div class="fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix">
<div class="dataTables_lenght">
<div class="dmsf_controls" style="float: right">
<%= link_to_function image_tag('rev_downloads.png', :plugin => 'redmine_dmsf'),
<%= link_to_function image_tag('group.png'),
"$('#revision_access-#{revision.id}').toggle()",
:title => l(:title_download_entries) %>
<%= link_to image_tag('rev_download.png', :plugin => 'redmine_dmsf'),
<%= link_to image_tag('download.png'),
view_dmsf_file_path(@file, :download => revision),
:title => l(:title_title_version_version_download, :title => h(revision.title), :version => revision.version) %>
<%= link_to image_tag('rev_delete.png', :plugin => 'redmine_dmsf'),
<%= link_to image_tag('delete.png'),
delete_revision_path(revision),
:data => {:confirm => l(:text_are_you_sure)},
:title => l(:title_delete_revision) if @file_delete_allowed && (@file.dmsf_file_revisions.visible.count > 1) %>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 647 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 656 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 642 B

View File

@ -199,9 +199,6 @@ div.dmsf_revision_inner_box .attribute .label {
.icon-wf-none { background-image: url(../images/none.png); }
.icon-wf-waiting { background-image: url(../images/waiting_for_approval.png); }
.icon-wf-assigned { background-image: url(../images/assigned.png); }
.icon-delete { background-image: url(../images/rev_delete.png); }
.icon-download { background-image: url(../images/rev_download.png); }
.icon-downloads { background-image: url(../images/rev_downloads.png); }
.icon-link { background-image: url(../../../images/link.png); }
.icon-approvalworkflows { background-image: url(../../../images/ticket_go.png); }