@@ -16,24 +24,22 @@ as |item index|>
- {{t 'routes.dc.peers.index.detail.imported.count'
+ {{t
+ "routes.dc.peers.index.detail.imported.count"
count=(format-number item.ImportedServiceCount)
}}
- {{t 'routes.dc.peers.index.detail.exported.count'
+ {{t
+ "routes.dc.peers.index.detail.exported.count"
count=(format-number item.ExportedServiceCount)
}}
@@ -43,42 +49,49 @@ as |item index|>
{{#if (can "delete peer" item=item)}}
-
+
{{#if (and (can "write peer" item=item) item.isDialer)}}
+
+ Regenerate token
+
+
+ {{/if}}
+
- Regenerate token
+ View
-{{/if}}
-
-
- Delete
-
-
-
-
- Confirm delete
-
-
-
- Are you sure you want to delete this peer?
-
-
-
-
- Delete
-
-
-
-
-
-
-{{/if}}
+
+
+ Delete
+
+
+
+
+ Confirm delete
+
+
+
+ Are you sure you want to delete this peer?
+
+
+
+
+ Delete
+
+
+
+
+
+
+ {{/if}}
-
-
+
\ No newline at end of file