mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
refactor
This commit is contained in:
parent
0996c14449
commit
0096f9dc14
3 changed files with 3 additions and 5 deletions
|
@ -12,8 +12,7 @@ class ZipExportsController < ApplicationController
|
|||
end
|
||||
end
|
||||
|
||||
def file_expired
|
||||
end
|
||||
def file_expired; end
|
||||
|
||||
private
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="row">
|
||||
<div class="col-xs-3 col-md-1">
|
||||
<span style="display: none;" data-hook="user-notification-list-item"></span>
|
||||
<% if notification.type_of == 'recent_changes' %>
|
||||
<% if notification.type_of == 'recent_changes' %>
|
||||
<div class="text-center">
|
||||
<%= image_tag avatar_path(notification.generator_user, :icon_small), class: 'avatar img-circle' %>
|
||||
</div>
|
||||
|
@ -18,7 +18,6 @@
|
|||
<span class="system-message"><i class="glyphicon glyphicon-tower" aria-hidden="true"></i></span>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<% if notification.type_of == 'deliver' %>
|
||||
<div class="text-center">
|
||||
<span class="deliver"><%= fa_icon 'truck' %></span>
|
||||
|
|
|
@ -1544,7 +1544,7 @@ en:
|
|||
zip_export:
|
||||
notification_title: 'Your package is ready to be exported!'
|
||||
expired_title: 'The required file was expired!'
|
||||
expired_description: 'The downloadable file expires in 3 days after is created.'
|
||||
expired_description: 'The downloadable file expires in 3 days after its creation.'
|
||||
# This section contains general words that can be used in any parts of
|
||||
# application.
|
||||
|
||||
|
|
Loading…
Reference in a new issue