Sha256: 55251f104daa6037ffba04cc44c88536a121896897ea86a1947bc534fa4ddc4d

Contents?: true

Size: 1.92 KB

Versions: 1

Compression:

Stored size: 1.92 KB

Contents

<p bst-alert="info" ng-show="table.rows.length === 0 && !table.working">
  <span translate>
    You currently don't have any Content Views, you can create Content View using the button on the right.
  </span>
</p>

<table class="table table-striped table-bordered"  
       bst-table="table" 
       ng-class="{'table-mask': table.working}"
       ng-show="table.rows.length > 0">

  <thead>
    <tr bst-table-head>
      <th bst-table-column><span translate>Name</span></th>
      <th bst-table-column><span translate>Composite View?</span></th>
      <th bst-table-column><span translate>Last Published</span></th>
      <th bst-table-column><span translate>Environments</span></th>
      <th bst-table-column><span translate>Repositories</span></th>
    </tr>
  </thead>

  <tbody>
    <tr bst-table-row ng-repeat="contentView in table.rows">
      <td bst-table-cell>
        <a ui-sref="content-views.details.versions({contentViewId: contentView.id})">
          {{ contentView.name }}
        </a>
      </td>
      <td bst-table-cell>
        <span ng-show="contentView.composite" translate>Yes</span>
        <span ng-hide="contentView.composite" translate>No</span>
      </td>
      <td bst-table-cell>
        <span ng-show="contentView.last_published">{{ contentView.last_published | date:"medium" }}</span>
        <span ng-hide="contentView.last_published" translate>
          Not yet published
        </span>
      </td>
      <td bst-table-cell>
        <span ng-show="contentView.environments.length !== 0"
              ng-repeat="environment in contentView.environments" ng-if="environment.permissions.readable">
          {{ environment.name }}<span ng-if="!$last">, </span>
        </span>
        <span ng-show="contentView.environments.length === 0" translate>
          Not yet published
        </span>
      </td>
      <td bst-table-cell class="number-cell">{{ contentView.repositories.length }}</td>
    </tr>
  </tbody>

</table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
katello-2.2.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/views/content-views-table-full.html