app/views/footnotes/index.html.slim
- breadcrumb :footnotes, @workbench, @referential, @line
- content_for :page_header_actions do
- if resource_policy.edit_all?
= link_to(t('actions.edit'), edit_all_workbench_referential_line_footnotes_path(@workbench, @referential, @line), class: 'btn btn-primary')
.page_content
.container-fluid
.row
- if @footnotes.any?
- @footnotes.each do |footnote|
.col-lg-4.col-md-4.col-sm-6.col-xs-12
.panel.panel-default
.panel-heading = footnote.code
.panel-body
p = footnote.label
.panel-footer.text-right
div
p.text-muted.small = Chouette::Footnote.human_attribute_name(:checksum)
p.text-muted.small = footnote.checksum
p.text-muted
em.small = "Dernière mise à jour le #{l(footnote.updated_at)}"
- else
= replacement_msg 'Aucune note ne correspond à votre recherche'