Sha256: da4a80a9d036efb02cd1a04cd89ed24cf8da82032eaa23b3e3c5082af53914c5

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

- displayValue  = @display || @doc.get("display") || @doc.get("name")

- classes = ["document-tab"]
- classes.push @cls if @cls?
- classes.push("selectable") if @doc?
- classes.push("closable") if @closable and !@doc?.isSticky()
- classes.push("hideable") unless @index is 0
- classes.push("editable") if @doc? && !@doc?.isSticky()

div class="#{ classes.join(' ') }" data-document-cid="#{ @doc?.cid }"
  span.contents
    = displayValue

  small.close-anchor x

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
code_sync-0.6.7 lib/assets/javascripts/code_sync/editor/templates/document_manager_tab.jst.skim