Sha256: 86c739c2033267e222543070f1c9b4dd6dc009182007b8e3321eb39f0603da38

Contents?: true

Size: 985 Bytes

Versions: 19

Compression:

Stored size: 985 Bytes

Contents

.taxon-interactor.pointer click="interactWithTaxon"
  .view
    if isExpandable
      span class=isExpanded:hidden:visible
        i.fa.fa-caret-right
      span class=isExpanded:visible:hidden
        i.fa.fa-caret-down

    else
      span class=isSelected:hidden:visible
        i.fa.fa-square-o
      span class=isSelected:visible:hidden
        i.fa.fa-check-square-o
    
    span.taxon-name
      tr-span en=taxon.taxonName

  if adminModeReasonable
    .edit
      link-to "admin.taxon.edit" taxon.id
        i.fa.fa-edit
        tr-span en="edit"
    .delete.pointer click="killTaxon"
      i.fa.fa-times
      tr-span en="delete"

if adminMode
  .new-child-taxon
    link-to "admin.taxons.new" (query-params parent=taxon.id) class="taxon-interactor admin-mode"
      .view
        span.spacebar
          i.fa.fa-plus
        tr-span en="new child category"

if taxon.hasChildren
  if isExpanded
    tree-taxon-ul rootTaxon=taxon activeTaxons=activeTaxons adminMode=adminMode

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
cloudrider-0.3.20 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.3.0 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.18 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.15 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.14 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.12 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.11 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.10 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.9 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.8 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.7 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.6 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.5 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.4 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.3 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.2 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.1 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.2.0 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem
cloudrider-0.1.3 generica/app/assets/javascripts/templates/components/tree-taxon-li.emblem