The code powering m.abunchtell.com https://m.abunchtell.com
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

index.html.haml 726 B

12345678910111213141516171819202122
  1. - content_for :page_title do
  2. = t('admin.announcements.title')
  3. - content_for :heading_actions do
  4. = link_to t('admin.announcements.new.title'), new_admin_announcement_path, class: 'button'
  5. .filters
  6. .filter-subset
  7. %strong= t('admin.relays.status')
  8. %ul
  9. %li= filter_link_to t('generic.all'), published: nil, unpublished: nil
  10. %li= filter_link_to safe_join([t('admin.announcements.live'), "(#{number_with_delimiter(Announcement.published.count)})"], ' '), published: '1', unpublished: nil
  11. - if @announcements.empty?
  12. %div.muted-hint.center-text
  13. = t 'admin.announcements.empty'
  14. - else
  15. .announcements-list
  16. = render partial: 'announcement', collection: @announcements
  17. = paginate @announcements