Approval workflow icon class
This commit is contained in:
parent
e39d4fcc5a
commit
0743213ea3
@ -37,7 +37,7 @@
|
||||
<% else %>
|
||||
<%= link_to('', assign_dmsf_workflow_path(:id => container.project.id, :project_id => container.project.id,
|
||||
:attachment_id => i + 1), :title => l(:label_dmsf_wokflow_action_assign),
|
||||
:remote => true, :class => 'icon-only icon-wf-none') %>
|
||||
:remote => true, :class => 'modify-upload icon-only icon-wf-none') %>
|
||||
<% end %>
|
||||
</span>
|
||||
<% end %>
|
||||
@ -54,7 +54,7 @@
|
||||
:method => 'delete', :remote => true, :class => 'remove-upload icon-only icon-del') %>
|
||||
<% wf = container.saved_dmsf_links_wfs[dmsf_link.id] %>
|
||||
<% if wf %>
|
||||
<a href="javascript:void(0);" title="<%= l(:title_assigned) %>" class="icon-only icon-wf-assigned"></a>
|
||||
<a href="javascript:void(0);" title="<%= l(:title_assigned) %>" class="modify-upload icon-only icon-wf-assigned"></a>
|
||||
<%= hidden_field_tag("dmsf_links_wfs[#{dmsf_link.id}]", wf.id) if wf %>
|
||||
<% else %>
|
||||
<%= render(:partial => 'dmsf_files/approval_workflow_button',
|
||||
|
||||
@ -36,7 +36,7 @@ function dmsfAddLink(linksSpan, linkId, linkName, title, project, awf) {
|
||||
if(awf) {
|
||||
|
||||
var iconWf = $('<a>').attr({href: "/dmsf_workflows/" + project + "/assign?dmsf_link_id=" + linkId,
|
||||
'class': 'icon-only icon-wf-none', 'data-remote': 'true', 'title': title});
|
||||
'class': 'modify-upload icon-only icon-wf-none', 'data-remote': 'true', 'title': title});
|
||||
|
||||
linkSpan.append(iconWf);
|
||||
}
|
||||
@ -76,7 +76,7 @@ function dmsfAddFile(inputEl, file, eagerUpload) {
|
||||
if($(inputEl).data('awf')) {
|
||||
|
||||
var iconWf = $('<a>').attr({href: '/dmsf_workflows/' + $(inputEl).attr(
|
||||
'data-project') + "/assign?attachment_id=" + attachmentId, 'class': 'icon-only icon-wf-none',
|
||||
'data-project') + "/assign?attachment_id=" + attachmentId, 'class': 'modify-upload icon-only icon-wf-none',
|
||||
'data-remote': 'true'});
|
||||
|
||||
fileSpan.append(iconWf);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user