Skip to content

Commit ae777cc

Browse files
authored
Merge pull request ceph#56054 from rhcs-dashboard/open-swagger-new-tab
mgr/dashboard: open api swagger in new tab Reviewed-by: afreen23 <NOT@FOUND> Reviewed-by: Ankush Behl <[email protected]> Reviewed-by: Nizamudeen A <[email protected]>
2 parents 29008b1 + a1a093a commit ae777cc

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)