mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Rename Message to Notification
This commit is contained in:
parent
5ba2170324
commit
8765baf319
32 changed files with 243 additions and 229 deletions
|
@ -4,12 +4,12 @@ xml.epp_head do
|
|||
xml.msg 'Command completed successfully; ack to dequeue'
|
||||
end
|
||||
|
||||
xml.tag!('msgQ', 'count' => current_user.queued_messages.count, 'id' => @message.id) do
|
||||
xml.qDate @message.created_at.try(:iso8601)
|
||||
xml.msg @message.body
|
||||
xml.tag!('msgQ', 'count' => current_user.queued_notifications.count, 'id' => @notification.id) do
|
||||
xml.qDate @notification.created_at.try(:iso8601)
|
||||
xml.msg @notification.body
|
||||
end
|
||||
|
||||
if @message.attached_obj_type == 'DomainTransfer'
|
||||
if @notification.attached_obj_type == 'DomainTransfer'
|
||||
xml.resData do
|
||||
xml << render('epp/domains/partials/transfer', builder: xml, dt: @object)
|
||||
end if @object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue