مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-17 13:39:46 +00:00
initial commit from appmail
هذا الالتزام موجود في:
23
app/views/messages/attachments.html.haml
Normal file
23
app/views/messages/attachments.html.haml
Normal file
@@ -0,0 +1,23 @@
|
||||
- page_title << @server.name
|
||||
- page_title << "Messages"
|
||||
- page_title << "Message ##{@message.id}"
|
||||
- page_title << "Attachments"
|
||||
= render 'servers/sidebar', :active_server => @server
|
||||
= render 'servers/header', :active_nav => :messages
|
||||
= render 'header', :active_nav => @message.scope.to_sym
|
||||
= render 'message_header', :active_nav => :attachments
|
||||
.pageContent.pageContent--compact
|
||||
- if @message.attachments.empty?
|
||||
.noData.noData--clean.noData--wolf
|
||||
%h2.noData__title There are no attachments for this message.
|
||||
%p.noData__text
|
||||
This means that we no longer store the raw data for this e-mail
|
||||
or the e-mail just didn't have any attached files.
|
||||
- else
|
||||
%ul.largeList
|
||||
- @message.attachments.each_with_index do |attachment, i|
|
||||
%li.largeList__item
|
||||
= link_to attachment_organization_server_message_path(organization, @server, @message.id, :attachment => i), :class => 'largeList__link', :data => {:turbolinks => "false"} do
|
||||
%p.largeList__rightLabel= number_to_human_size attachment.body.to_s.bytesize
|
||||
%p= attachment.filename
|
||||
%p.largeList__subText= attachment.mime_type
|
||||
المرجع في مشكلة جديدة
حظر مستخدم