New icons
This commit is contained in:
parent
20efe84ad1
commit
0627c8d286
@ -63,7 +63,8 @@ module DmsfHelper
|
|||||||
else
|
else
|
||||||
cls = Redmine::MimeType.css_class_of(filename)
|
cls = Redmine::MimeType.css_class_of(filename)
|
||||||
end
|
end
|
||||||
cls + ' dmsf-icon-file'
|
cls << ' dmsf-icon-file' if cls
|
||||||
|
cls
|
||||||
end
|
end
|
||||||
|
|
||||||
def plugin_asset_path(plugin, asset_type, source)
|
def plugin_asset_path(plugin, asset_type, source)
|
||||||
|
|||||||
@ -81,7 +81,7 @@
|
|||||||
:data => {:confirm => l(:text_are_you_sure)},
|
:data => {:confirm => l(:text_are_you_sure)},
|
||||||
:title => l(:title_delete),
|
:title => l(:title_delete),
|
||||||
:method => :delete,
|
:method => :delete,
|
||||||
:class => 'icon-only icon-delete') %>
|
:class => 'icon-only icon-del') %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@ -76,7 +76,7 @@
|
|||||||
:data => {:confirm => l(:text_are_you_sure)},
|
:data => {:confirm => l(:text_are_you_sure)},
|
||||||
:method => :delete,
|
:method => :delete,
|
||||||
:title => l(:title_delete),
|
:title => l(:title_delete),
|
||||||
:class => 'icon-only icon-delete') %>
|
:class => 'icon-only icon-del') %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
<td class="hol">1</td>
|
<td class="hol">1</td>
|
||||||
|
|||||||
@ -81,13 +81,13 @@
|
|||||||
<div class="fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix">
|
<div class="fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix">
|
||||||
<div class="dataTables_lenght">
|
<div class="dataTables_lenght">
|
||||||
<div class="dmsf_controls" style="float: right">
|
<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()",
|
"$('#revision_access-#{revision.id}').toggle()",
|
||||||
:title => l(:title_download_entries) %>
|
: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),
|
view_dmsf_file_path(@file, :download => revision),
|
||||||
:title => l(:title_title_version_version_download, :title => h(revision.title), :version => revision.version) %>
|
: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),
|
delete_revision_path(revision),
|
||||||
:data => {:confirm => l(:text_are_you_sure)},
|
:data => {:confirm => l(:text_are_you_sure)},
|
||||||
:title => l(:title_delete_revision) if @file_delete_allowed && (@file.dmsf_file_revisions.visible.count > 1) %>
|
: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 |
@ -199,9 +199,6 @@ div.dmsf_revision_inner_box .attribute .label {
|
|||||||
.icon-wf-none { background-image: url(../images/none.png); }
|
.icon-wf-none { background-image: url(../images/none.png); }
|
||||||
.icon-wf-waiting { background-image: url(../images/waiting_for_approval.png); }
|
.icon-wf-waiting { background-image: url(../images/waiting_for_approval.png); }
|
||||||
.icon-wf-assigned { background-image: url(../images/assigned.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-link { background-image: url(../../../images/link.png); }
|
||||||
.icon-approvalworkflows { background-image: url(../../../images/ticket_go.png); }
|
.icon-approvalworkflows { background-image: url(../../../images/ticket_go.png); }
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user