Skip to content

Commit

Permalink
Merge pull request #5122 from waldenraines/9839
Browse files Browse the repository at this point in the history
Fixes #9839: show no rows message if table isn't working BZ 1203851.
  • Loading branch information
Walden Raines committed Mar 23, 2015
2 parents 10a90ec + 1f133d2 commit 14367b0
Show file tree
Hide file tree
Showing 20 changed files with 28 additions and 36 deletions.
@@ -1,9 +1,3 @@
<p bst-alert="info" ng-show="table.rows.length === 0">
<span translate>
You currently don't have any Activation Keys, you can add Activation Keys using the button on the right.
</span>
</p>

<table class="table table-striped" ng-class="{'table-mask': table.working}" ng-show="table.rows.length > 0">
<thead>
<tr bst-table-head>
Expand Down
Expand Up @@ -13,4 +13,7 @@
</button>
</div>

<span data-block="no-rows-message" translate>
You currently don't have any Activation Keys, you can add Activation Keys using the button on the right.
</span>
</div>
Expand Up @@ -45,7 +45,7 @@
{{ "Loading..." | translate }}
</div>

<p bst-alert="info" ng-show="addSubscriptionsTable.rows.length === 0">
<p bst-alert="info" ng-show="addSubscriptionsTable.rows.length === 0 && !addSubscriptionsTable.working">
<span translate>
You currently don't have any Products to subscribe to, you can add Products after selecting 'Products' under 'Content' in the main menu.
</span>
Expand Down
Expand Up @@ -44,7 +44,7 @@
{{ "Loading..." | translate }}
</div>

<p bst-alert="info" ng-show="subscriptionsTable.rows.length === 0">
<p bst-alert="info" ng-show="subscriptionsTable.rows.length === 0 && !subscriptionsTable.working">
<span translate>
You currently don't have any Subscriptions associated with this Content Host, you can add Subscriptions after selecting the 'Add' tab.
</span>
Expand Down
@@ -1,4 +1,4 @@
<p bst-alert="info" ng-show="contentHostTable.rows.length === 0">
<p bst-alert="info" ng-show="contentHostTable.rows.length === 0 && !contentHostTable.working">
<span translate>
You currently don't have any Content Hosts, you can register Content Hosts using the button on the right.
</span>
Expand Down
Expand Up @@ -25,7 +25,7 @@ <h3 translate>Filters</h3>
</div>

<div data-block="table">
<p bst-alert="info" ng-show="detailsTable.rows.length === 0">
<p bst-alert="info" ng-show="detailsTable.rows.length === 0 && !detailsTable.working">
<span translate>
You currently don't have any Filters included in this Content View, you can add a new Filter by using the button on the right.
</span>
Expand Down
Expand Up @@ -22,7 +22,7 @@
</div>

<div data-block="table">
<p bst-alert="info" ng-show="detailsTable.rows.length === 0">
<p bst-alert="info" ng-show="detailsTable.rows.length === 0 && !detailsTable.working">
<span translate>
You currently don't have any Puppet Modules included in this Content View, you can add Puppet Modules using the button on the right.
</span>
Expand Down
@@ -1,4 +1,4 @@
<p bst-alert="info" ng-show="table.rows.length === 0">
<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>
Expand Down
@@ -1,6 +1,3 @@
<p bst-alert="info" ng-show="table.rows.length === 0">
<span translate>You currently don't have any Gpg keys, you can add Gpg keys using the button on the right.</span>
</p>
<table bst-table="table"
class="table table-striped"
ng-class="{'table-mask': table.working}"
Expand Down
Expand Up @@ -13,4 +13,8 @@
</button>
</div>

<span data-block="no-rows-message" translate>
You currently don't have any Gpg keys, you can add Gpg keys using the button on the right.
</span>

</div>
Expand Up @@ -46,7 +46,7 @@
{{ "Loading..." | translate }}
</div>

<p bst-alert="info" ng-show="addContentHostsTable.rows.length === 0">
<p bst-alert="info" ng-show="addContentHostsTable.rows.length === 0 && !addContentHostsTable.working">
<span translate>
You currently don't have any Content Hosts, you can create new Content Hosts by selecting Contents Host from main menu and then clicking the button on the right.
</span>
Expand Down
Expand Up @@ -45,7 +45,7 @@
{{ "Loading..." | translate }}
</div>

<p bst-alert="info" ng-show="contentHostsTable.rows.length === 0">
<p bst-alert="info" ng-show="contentHostsTable.rows.length === 0 && !contentHostsTable.working">
<span translate>
You currently don't have any Content Hosts in this Host Group, you can add Content Hosts after selecting the 'Add' tab.
</span>
Expand Down
@@ -1,9 +1,4 @@
<p bst-alert="info" ng-show="table.rows.length === 0">
<span translate>
You currently don't have any Host Collections, you can add Host Collections using the button on the right.
</span>
</p>
<table class="table table-striped"
<table class="table table-striped"
ng-class="{'table-mask': table.working}"
ng-show="table.rows.length > 0">
<thead>
Expand Down
Expand Up @@ -15,4 +15,7 @@
</button>
</div>

<span data-block="no-rows-message" translate>
You currently don't have any Host Collections, you can add Host Collections using the button on the right.
</span>
</div>
Expand Up @@ -145,7 +145,7 @@ <h4 translate>Repositories</h4>
</table>
</section>

<p bst-alert="info" ng-show="repositoriesTable.rows.length === 0">
<p bst-alert="info" ng-show="repositoriesTable.rows.length === 0 && !repositoriesTable.working">
<span translate>
You currently don't have any Repositories included in this Product, you can add Repositories using the button on the right.
</span>
Expand Down
@@ -1,9 +1,3 @@
<p bst-alert="info" ng-show="productTable.rows.length === 0">
<span translate>
You currently don't have any Products<span bst-feature-flag="custom_products">, you can add Products using the button on the right</span>.
</span>
</p>

<table class="table table-striped" ng-class="{'table-mask': productTable.working}" ng-show="productTable.rows.length > 0">
<thead>
<tr bst-table-head row-select>
Expand Down
Expand Up @@ -38,4 +38,8 @@
</button>
</div>

<span data-block="no-rows-message" translate>
You currently don't have any Products<span bst-feature-flag="custom_products">, you can add Products using the button on the right</span>.
</span>

</div>
@@ -1,8 +1,3 @@
<p bst-alert="info" ng-show="table.rows.length === 0">
<span translate>
You currently don't have any Subscriptions, you can add Subscriptions by importing a manifest using the button on the right labeled 'Manage Manifest'.
</span>
</p>
<table class="table table-striped" ng-class="{'table-mask': table.working}" ng-show="table.rows.length > 0">
<thead>
<tr bst-table-head>
Expand Down
Expand Up @@ -13,4 +13,7 @@
</button>
</div>

<span data-block="no-rows-message" translate>
You currently don't have any Subscriptions, you can add Subscriptions by importing a manifest using the button on the right labeled 'Manage Manifest'.
</span>
</div>
@@ -1,4 +1,4 @@
<p bst-alert="info" ng-show="syncPlanTable.rows.length === 0">
<p bst-alert="info" ng-show="syncPlanTable.rows.length === 0 && !syncPlanTable.working">
<span translate>
You currently don't have any Sync Plan, you can add Sync Plans using the button on the right.
</span>
Expand Down

0 comments on commit 14367b0

Please sign in to comment.