Sha256: c8eccfeb160d67f90e8c61e644938dd5eeef8e57a2d0aa842297011bbd95ef66

Contents?: true

Size: 341 Bytes

Versions: 27

Compression:

Stored size: 341 Bytes

Contents

%h1 Resource
name: #{@item.name}


%h2 Usage

- if @usages.empty?
  Not found

- @usages.each do |r|
  %b
    =r[:shortpath]
  - if r[:template_id]
    (#{link_to 'view template', cms.edit_template_path(r[:template_id]), target: '_blank'})
    %br

  %br
  -r[:hits].each do |hit|
    %pre
      #{'#'}#{hit[:line_ind]}: #{hit[:line]}

  %hr

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
optimacms-0.3.3 app/views/optimacms/admin/resources/usage.html.haml
optimacms-0.3.2 app/views/optimacms/admin/resources/usage.html.haml
optimacms-0.3.1 app/views/optimacms/admin/resources/usage.html.haml
optimacms-0.2.23 app/views/optimacms/admin/resources/usage.html.haml
optimacms-0.2.22 app/views/optimacms/admin/resources/usage.html.haml
optimacms-0.2.21 app/views/optimacms/admin/resources/usage.html.haml
optimacms-0.2.20 app/views/optimacms/admin/resources/usage.html.haml