- @page_title = _('Notes') %table.notes-list %thead %tr %th= _('Content') %th= admin_order_by_link _('SFW'), 'sfw' %th= admin_order_by_link _('Pub.'), 'published' %th= admin_order_by_link _('Lock.'), 'locked' %th= admin_order_by_link _('Skip hist.'), 'hidden_in_history' %th= admin_order_by_link _('Published at'), 'published_at' %th= _('User') %th= _('License') %th= _('Language') %th= _('Projects') %th= _('Tags') %th %tbody - @notes.each do |note| %tr.note %td= note.content[0...100] %td.is-icon= colored_good_or_bad_icon_tag note.sfw %td.is-icon= colored_good_or_bad_icon_tag note.published %td.is-icon= colored_good_or_bad_icon_tag note.locked, 'lock', 'unlock', true %td.is-icon= boolean_icon_tag value: note.hidden_in_history %td= medium_datetime note.published_at %td= note.user.username %td= note.license.name %td= note.language.name %td.relations - note.projects.each do |p| %span.project= p.name %td.relations - note.tags.each do |t| %span.tag= t.name %td.actions .btn-group = admin_action_links 'note', note = paginate @notes