Sha256: 87719dc4fca2f5a7f4ff3f6ebf7045a062787f2af1ff072655692be13d47e182

Contents?: true

Size: 1.37 KB

Versions: 3

Compression:

Stored size: 1.37 KB

Contents

<div class="org-browser" ng-controller="OrgBrowserCtrl"
  <%= %{data-current-id="#{@group.id}"}.html_safe if @group %> >
  <%= yield %>
  <ul class="collapsed-groups" >
    <li class='animate' ng-repeat="group in groups" >
      <div class="block actionable sideways"
        ng-click="moveUp(group)" >
        <label ng-show="selectMode" >
          <input type="radio" ng-checked="isSelected(group)"
            ng-disabled="group.disabled"/>
        </label>
        <span>
          {{ group.name }}
        </span>
      </div>
    </li>
  </ul>
  <ul class="expanded-groups" >
    <li ng-hide="selectMode">
      <div class="block" >
        <span>
        <a href="{{ current.url }}" >View {{ current.name }}</a>
        </span>
      </div>
    </li>
    <li ng-repeat="group in current.children" >
      <div class="block actionable"
        ng-click="moveDown(group)" >
        <label ng-show="selectMode" >
          <input type="radio" ng-checked="isSelected(group)"
            ng-disabled="group.disabled"/>
          <span>{{ group.name }}</span>
        </label>
        <label ng-show="!selectMode" >
          <a href="{{ group.url }}" ng-show="!isExpandable(group)">{{ group.name }}</a>
          <span ng-show="isExpandable(group)">{{ group.name }}</span>
        </label>
        <span class="arrow" ng-show="isExpandable(group)">〉</span>
      </div>
    </li>
  </ul>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
peoplefinder-0.1.1 app/views/peoplefinder/shared/_org_browser.html.erb
peoplefinder-0.1.0 app/views/peoplefinder/shared/_org_browser.html.erb
peoplefinder-0.0.2 app/views/peoplefinder/shared/_org_browser.html.erb