]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.html
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / datatable / table / table.component.html
index fc7b9f6e54ea291b86d3410521a8621dc6a6a1a9..01cc1fbc8d92d01995340e976e2661020ce001f6 100644 (file)
           </span>
 
           <ng-template #serverSideTpl>
-            {{ data?.length || 0 }} <ng-container i18n="X found">found</ng-container> /
-            {{ rowCount }} <ng-container i18n="X total">total</ng-container>
+            <span>
+              {{ data?.length || 0 }} <ng-container i18n="X found">found</ng-container> /
+              {{ rowCount }} <ng-container i18n="X total">total</ng-container>
+            </span>
           </ng-template>
         </div>
         <cd-table-pagination [page]="curPage"
   <span data-toggle="tooltip"
         [title]="value | cdDate">{{ value | relativeDate }}</span>
 </ng-template>
+
+<ng-template #pathTpl
+             let-value="value">
+  <span data-toggle="tooltip"
+        [title]="value"
+        class="font-monospace">{{ value | path }}
+    <cd-copy-2-clipboard-button *ngIf="value"
+                                [source]="value"
+                                [byId]="false"
+                                [showIconOnly]="true">
+    </cd-copy-2-clipboard-button>
+  </span>
+</ng-template>