Sha256: 6f671683a5e7810ad54b6fe1939de81579da81131cb47ad120cc6efc303e5112

Contents?: true

Size: 876 Bytes

Versions: 2

Compression:

Stored size: 876 Bytes

Contents

- @page_title = _('Tags list')

%table.tags-list
  %thead
    %tr
      %th= admin_order_by_link _('Name'), 'name'
      %th= admin_order_by_link _('Albums'), 'albums_count'
      %th= admin_order_by_link _('Articles'), 'articles_count'
      %th= admin_order_by_link _('Notes'), 'notes_count'
      %th= admin_order_by_link _('Projects'), 'projects_count'
      %th= admin_order_by_link _('Uploads'), 'uploads_count'
      %th

  %tbody
    - @tags.each do |tag|
      %tr.tag
        %td= tag.name
        %td.is-counter= tag.albums_count
        %td.is-counter= tag.articles_count
        %td.is-counter= tag.notes_count
        %td.is-counter= tag.projects_count
        %td.is-counter= tag.uploads_count
        %td.actions
          .btn-group
            = admin_show_online_link tag
            = admin_edit_link 'tag', tag
            = admin_destroy_link 'tag', tag

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
elabs-2.0.0 app/views/elabs/admin/tags/index.html.haml
elabs-2.0.0.pre app/views/elabs/admin/tags/index.html.haml