-
Notifications
You must be signed in to change notification settings - Fork 284
/
products.html
45 lines (37 loc) · 1.66 KB
/
products.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<span page-title>{{ 'Products' | translate }}</span>
<div data-extend-template="layouts/nutupane.html">
<div data-block="header">
{{ 'Products' | translate }}
</div>
<div data-block="messages">
<div bst-alerts success-messages="successMessages" error-messages="errorMessages"></div>
<div bst-alert="success" ng-hide="productDeletionTaskId === undefined">
<button type="button" class="close" ng-click="unsetProductDeletionTaskId()">×</button>
<p translate>
Product delete operation has been initiated in the background. Click <a href="{{ taskUrl(productDeletionTaskId) }}">Here</a> to monitor the progress.
</p>
</div>
</div>
<div data-block="actions">
<button class="btn btn-default"
ng-show="permitted('edit_products') || permitted('destroy_products')"
ui-sref="products.bulk-actions.sync">
<i class="fa fa-group leading-icon"></i>
{{ "Bulk Actions" | translate }}
</button>
<button class="btn btn-default"
bst-feature-flag="custom_products"
ng-hide="denied('edit_products')"
ui-sref="products.discovery.scan">
<i class="fa fa-crosshairs"></i>
{{ "Repo Discovery" | translate }}
</button>
<button class="btn btn-primary" bst-feature-flag="custom_products" ui-sref="products.new.form" ng-hide="denied('create_products')">
<i class="fa fa-plus"></i>
{{ "New Product" | translate }}
</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>