Skip to content

Commit a1a093a

Browse files
committed
mgr/dashboard: open api swagger in new tab
Fixes: https://tracker.ceph.com/issues/62350 Signed-off-by: Pedro Gonzalez Gomez <[email protected]>
1 parent 639d182 commit a1a093a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/pybind/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,18 @@
1010
</a>
1111
<div ngbDropdownMenu>
1212
<a ngbDropdownItem
13-
class="text-capitalize"
1413
[ngClass]="{'disabled': !docsUrl}"
1514
href="{{ docsUrl }}"
1615
target="_blank"
17-
i18n>documentation</a>
18-
<button ngbDropdownItem
19-
routerLink="/api-docs"
20-
target="_blank"
21-
i18n>API</button>
16+
i18n>Documentation
17+
<i class="fa fa-external-link"></i>
18+
</a>
19+
<a ngbDropdownItem
20+
routerLink="/api-docs"
21+
target="_blank"
22+
i18n>API
23+
<i class="fa fa-external-link"></i>
24+
</a>
2225
<button ngbDropdownItem
2326
(click)="openAboutModal()"
2427
i18n>About</button>

0 commit comments

Comments
 (0)