debian-mirror-gitlab/app/views/admin/broadcast_messages/edit.html.haml
2023-04-23 21:23:45 +05:30

16 lines
650 B
Text

- add_to_breadcrumbs _("Messages"), admin_broadcast_messages_path
- breadcrumb_title @broadcast_message.id
- page_title _("Broadcast Messages")
#js-broadcast-message{ data: {
id: @broadcast_message.id,
message: @broadcast_message.message,
broadcast_type: @broadcast_message.broadcast_type,
theme: @broadcast_message.theme,
dismissable: @broadcast_message.dismissable.to_s,
target_access_levels: @broadcast_message.target_access_levels,
target_path: @broadcast_message.target_path,
starts_at: @broadcast_message.starts_at,
ends_at: @broadcast_message.ends_at,
target_access_level_options: target_access_level_options.to_json,
} }