diff options
Diffstat (limited to 'app/views/admin/broadcast_messages/index.html.haml')
-rw-r--r-- | app/views/admin/broadcast_messages/index.html.haml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/app/views/admin/broadcast_messages/index.html.haml b/app/views/admin/broadcast_messages/index.html.haml index c05538a393c..dd9fe805820 100644 --- a/app/views/admin/broadcast_messages/index.html.haml +++ b/app/views/admin/broadcast_messages/index.html.haml @@ -1,10 +1,9 @@ -- page_title "Broadcast Messages" +- page_title "广播信息" %h3.page-title - Broadcast Messages + 广播信息 %p.light - Broadcast messages are displayed for every user and can be used to notify - users about scheduled maintenance, recent upgrades and more. + 广播信息会显示给所有用户,可以用于通知用户系统定期维护、近期计划升级等信息。 = render 'form' @@ -14,10 +13,10 @@ %table.table %thead %tr - %th Status - %th Preview - %th Starts - %th Ends + %th 状态 + %th 预览 + %th 开始 + %th 结束 %th %tbody - @broadcast_messages.each do |message| @@ -31,7 +30,7 @@ %td = message.ends_at %td - = link_to icon('pencil-square-o'), edit_admin_broadcast_message_path(message), title: 'Edit', class: 'btn btn-xs' - = link_to icon('times'), admin_broadcast_message_path(message), method: :delete, remote: true, title: 'Remove', class: 'js-remove-tr btn btn-xs btn-danger' + = link_to icon('pencil-square-o'), edit_admin_broadcast_message_path(message), title: '编辑', class: 'btn btn-xs' + = link_to icon('times'), admin_broadcast_message_path(message), method: :delete, remote: true, title: '删除', class: 'js-remove-tr btn btn-xs btn-danger' = paginate @broadcast_messages, theme: 'gitlab' |