Sha256: 68139b6922e2f947b37a95a5cc047602aa2cbfeb40672cf0a80b6a1d50b1fa65

Contents?: true

Size: 384 Bytes

Versions: 7

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true

if @parent
  json.selector "li.entry.directory[data-content=\"#{@parent.id}\"]"
  json.html render partial: 'scribo/shared/entry', layout: false, formats: [:html], locals: { site: @site, content: @parent, state: 'open' }
else
  json.selector '.tree-view'
  json.html render partial: 'scribo/shared/tree-view', layout: false, locals: { site: @site }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
scribo-1.0.44 app/views/scribo/admin/sites/contents/upload.json.jbuilder
scribo-1.0.43 app/views/scribo/admin/sites/contents/upload.json.jbuilder
scribo-1.0.42 app/views/scribo/admin/sites/contents/upload.json.jbuilder
scribo-1.0.41 app/views/scribo/admin/sites/contents/upload.json.jbuilder
scribo-1.0.40 app/views/scribo/admin/sites/contents/upload.json.jbuilder
scribo-1.0.39 app/views/scribo/admin/sites/contents/upload.json.jbuilder
scribo-1.0.38 app/views/scribo/admin/sites/contents/upload.json.jbuilder