Style changed
This commit is contained in:
parent
7a576469b3
commit
78f55e1596
@ -39,24 +39,26 @@
|
||||
<%= link_to l(:button_lock), lock_dmsf_files_path(id: @file),
|
||||
title: l(:title_lock_file), class: 'icon icon-lock' %>
|
||||
<% end %>
|
||||
<% if @file.notification %>
|
||||
<%= link_to l(:label_notifications_off),
|
||||
notify_deactivate_dmsf_files_path(id: @file),
|
||||
title: l(:title_notifications_active_deactivate),
|
||||
class: 'icon icon-email' %>
|
||||
<% else %>
|
||||
<%= link_to l(:label_notifications_on),
|
||||
notify_activate_dmsf_files_path(id: @file),
|
||||
title: l(:title_notifications_not_active_activate),
|
||||
class: 'icon icon-email-add' %>
|
||||
<%= actions_dropdown do %>
|
||||
<% if @file.notification %>
|
||||
<%= link_to l(:label_notifications_off),
|
||||
notify_deactivate_dmsf_files_path(id: @file),
|
||||
title: l(:title_notifications_active_deactivate),
|
||||
class: 'icon icon-email' %>
|
||||
<% else %>
|
||||
<%= link_to l(:label_notifications_on),
|
||||
notify_activate_dmsf_files_path(id: @file),
|
||||
title: l(:title_notifications_not_active_activate),
|
||||
class: 'icon icon-email-add' %>
|
||||
<% end %>
|
||||
<%= link_to l(:label_link_to),
|
||||
new_dmsf_link_path(project_id: @project.id, dmsf_folder_id: @file.dmsf_folder ? @file.dmsf_folder.id : nil, dmsf_file_id: @file.id, type: 'link_to'),
|
||||
title: l(:title_create_link),
|
||||
class: 'icon icon-link' %>
|
||||
<%= link_to "#{l(:button_copy)}/#{l(:button_move)}", copy_file_path(id: @file),
|
||||
title: l(:title_copy), class: 'icon icon-copy' %>
|
||||
<%= delete_link(dmsf_file_path(id: @file, details: true)) if @file_delete_allowed %>
|
||||
<% end %>
|
||||
<%= link_to l(:label_link_to),
|
||||
new_dmsf_link_path(project_id: @project.id, dmsf_folder_id: @file.dmsf_folder ? @file.dmsf_folder.id : nil, dmsf_file_id: @file.id, type: 'link_to'),
|
||||
title: l(:title_create_link),
|
||||
class: 'icon icon-link' %>
|
||||
<%= link_to "#{l(:button_copy)}/#{l(:button_move)}", copy_file_path(id: @file),
|
||||
title: l(:title_copy), class: 'icon icon-copy' %>
|
||||
<%= delete_link(dmsf_file_path(id: @file, details: true)) if @file_delete_allowed %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
@ -77,28 +79,28 @@
|
||||
<h3><%= l(:heading_revisions) %></h3>
|
||||
<% @file.dmsf_file_revisions.visible[@revision_pages.offset, @revision_pages.per_page].each do |revision| %>
|
||||
<div class="dmsf_revision_box">
|
||||
<div class="fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix">
|
||||
<div class="dataTables_lenght">
|
||||
<div id="dmsf_tag" class="dmsf_controls contextual">
|
||||
<%= actions_dropdown do %>
|
||||
<%= link_to_function l(:title_download_entries),
|
||||
"$('#revision_access-#{revision.id}').toggle()",
|
||||
class: 'icon icon-group' %>
|
||||
<%= link_to l(:title_download),
|
||||
view_dmsf_file_path(@file, download: revision),
|
||||
title: l(:title_title_version_version_download, title: h(revision.title), version: revision.version),
|
||||
class: 'icon icon-download' %>
|
||||
<%= link_to l(:title_obsolete_revision),
|
||||
obsolete_revision_path(revision),
|
||||
data: { confirm: l(:text_are_you_sure) },
|
||||
class: 'icon icon-close' if @file_manipulation_allowed && (revision.workflow == DmsfWorkflow::STATE_APPROVED) %>
|
||||
<%= link_to l(:button_delete),
|
||||
delete_revision_path(revision),
|
||||
data: { confirm: l(:text_are_you_sure) },
|
||||
title: l(:title_delete_revision),
|
||||
class: 'icon icon-del' if @file_delete_allowed && (@file.dmsf_file_revisions.visible.count > 1) %>
|
||||
<% end %>
|
||||
</div>
|
||||
<div id="dmsf_widget_header" class="fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix">
|
||||
<div class="dmsf_controls contextual">
|
||||
<%= actions_dropdown do %>
|
||||
<%= link_to_function l(:title_download_entries),
|
||||
"$('#revision_access-#{revision.id}').toggle()",
|
||||
class: 'icon icon-group' %>
|
||||
<%= link_to l(:title_download),
|
||||
view_dmsf_file_path(@file, download: revision),
|
||||
title: l(:title_title_version_version_download, title: h(revision.title), version: revision.version),
|
||||
class: 'icon icon-download' %>
|
||||
<%= link_to l(:title_obsolete_revision),
|
||||
obsolete_revision_path(revision),
|
||||
data: { confirm: l(:text_are_you_sure) },
|
||||
class: 'icon icon-close' if @file_manipulation_allowed && (revision.workflow == DmsfWorkflow::STATE_APPROVED) %>
|
||||
<%= link_to l(:button_delete),
|
||||
delete_revision_path(revision),
|
||||
data: { confirm: l(:text_are_you_sure) },
|
||||
title: l(:title_delete_revision),
|
||||
class: 'icon icon-del' if @file_delete_allowed && (@file.dmsf_file_revisions.visible.count > 1) %>
|
||||
<% end %>
|
||||
</div>
|
||||
<div id="dmsf_widget_header_text">
|
||||
<i><%= l(:info_revision, rev: revision.id) %></i>
|
||||
<%= (revision.source_revision.nil? ? l(:label_created) : l(:label_changed)).downcase %>
|
||||
<%= l(:info_changed_by_user, changed: format_time(revision.updated_at)) %>
|
||||
|
||||
@ -71,11 +71,7 @@
|
||||
}
|
||||
|
||||
.dmsf_revision_box {
|
||||
padding: 0 0 0 0;
|
||||
margin-bottom: 10px;
|
||||
background-color:#f6f6f6;
|
||||
color:#505050;
|
||||
line-height:1.5em;
|
||||
}
|
||||
|
||||
.dmsf_revision_inner_box {
|
||||
@ -114,13 +110,22 @@ div.dmsf_revision_inner_box .attribute .label {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.dmsf_log_header_box label{
|
||||
.dmsf_log_header_box label {
|
||||
font-weight: bold;
|
||||
margin-left: 0;
|
||||
margin-right: 3px;
|
||||
padding: 3px 0 3px 0;
|
||||
}
|
||||
|
||||
#dmsf_widget_header {
|
||||
font-weight: normal;
|
||||
padding: 0 10px 0 10px;
|
||||
}
|
||||
|
||||
#dmsf_widget_header_text {
|
||||
padding: 5px 0 0 0;
|
||||
}
|
||||
|
||||
/* Command icons */
|
||||
.icon-link { background-image: url(../../../images/link.png); }
|
||||
.icon-approvalworkflows { background-image: url(../../../images/ticket_go.png); }
|
||||
|
||||
@ -402,11 +402,11 @@ cs:
|
||||
|
||||
button_edit_content: Upravit obsah
|
||||
field_workflow: Workflow
|
||||
field_modified: Aktualizoval
|
||||
field_updated: Aktualizováno
|
||||
field_count: Stažebí/E-mail
|
||||
field_modified: Datum
|
||||
field_count: Stažení
|
||||
field_first_at: První
|
||||
field_last_at: Poslední
|
||||
field_size: Velikost
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -113,7 +113,7 @@ de:
|
||||
ID, %r - Revision). z.B.: %t_%v"
|
||||
title_save_preferences: Einstellungen speichern
|
||||
heading_revisions: Versionen
|
||||
title_download: Download
|
||||
title_download: Speichern
|
||||
title_delete_revision: Lösche Version
|
||||
title_obsolete_revision: Obsolete revision
|
||||
label_created: Erstellt
|
||||
@ -303,7 +303,7 @@ de:
|
||||
label_notifications_on: Benachrichtigungen ein
|
||||
label_notifications_off: Benachrichtigungen aus
|
||||
field_target_file: Quelldatei
|
||||
title_download_entries: Download entries
|
||||
title_download_entries: Speicherung
|
||||
label_external: Extern
|
||||
label_internal: Internal
|
||||
|
||||
@ -385,9 +385,9 @@ de:
|
||||
error_file_tmpdir_does_not_exist: "Temporary file path doesn't exist and can't be created"
|
||||
error_tmpfile_can_not_be_created: "Files can't be created in temporary file path directory"
|
||||
|
||||
label_email_from_override: From
|
||||
label_email_from_override: Von
|
||||
text_email_from_override: The user currently logged in
|
||||
label_email_reply_to: Reply-to
|
||||
label_email_reply_to: Antwort an
|
||||
|
||||
label_enable_cjk_ngrams: Enable generation of n-grams from CJK text
|
||||
text_enable_cjk_ngrams: "With this enabled, spans of CJK characters are split into unigrams and bigrams, with the
|
||||
@ -401,13 +401,13 @@ de:
|
||||
|
||||
label_inherited_permissions: Inherited permissions
|
||||
|
||||
button_edit_content: Edit content
|
||||
button_edit_content: Bearbeiten den Inhalt
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_modified: Datum
|
||||
field_count: Speicherung
|
||||
field_first_at: Erste
|
||||
field_last_at: Letzte
|
||||
field_size: Größe
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -402,11 +402,11 @@ en:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -402,11 +402,11 @@ es:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -402,11 +402,11 @@ fr:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -401,11 +401,11 @@ hu:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -402,11 +402,11 @@ it: # Italian strings thx 2 Matteo Arceci!
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -402,11 +402,11 @@ ja:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -396,11 +396,11 @@ ko:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -402,11 +402,11 @@ nl:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -402,11 +402,11 @@ pl:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -402,11 +402,11 @@ pt-BR:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -402,11 +402,11 @@ ru:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -402,11 +402,11 @@ sl:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -402,11 +402,11 @@ zh-TW:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
@ -402,11 +402,11 @@ zh:
|
||||
|
||||
button_edit_content: Edit content
|
||||
field_workflow: Workflow
|
||||
field_modified: Updated
|
||||
field_updated: Updated
|
||||
field_count: Downloads/Email
|
||||
field_modified: Date
|
||||
field_count: D/L
|
||||
field_first_at: First
|
||||
field_last_at: Last
|
||||
field_size: Size
|
||||
|
||||
easy_pages:
|
||||
modules:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user