|
1 | 1 | <section> |
2 | 2 | <div class="header-wrap"> |
3 | 3 | <h4>{{ 'API' | translate }}</h4> |
4 | | - <mdl-button mdl-button-type="icon" (click)="askToRegenerateKeys()"> |
| 4 | + <mdl-button |
| 5 | + mdl-button-type="icon" |
| 6 | + mdl-tooltip-position="top" |
| 7 | + [mdl-tooltip]="'REGENERATE_KEYS' | translate" |
| 8 | + (click)="askToRegenerateKeys()" |
| 9 | + > |
5 | 10 | <mdl-icon>sync</mdl-icon> |
6 | 11 | </mdl-button> |
7 | 12 | </div> |
8 | 13 | <div class="section-container"> |
9 | 14 | <div class="settings-control"> |
10 | 15 | <div *loading="loading"> |
11 | | - <div> |
12 | | - <h5 [translate]="linkFields.apiUrl.title"></h5> |
13 | | - <a class="mdl-color-text--primary-dark" target="_blank" [href]="linkFields.apiUrl.href"> |
14 | | - {{ linkFields.apiUrl.href }} |
15 | | - </a> |
16 | | - </div> |
17 | | - |
18 | | - <div *ngIf="linkFields.apiDocLink.href"> |
19 | | - <h5 [translate]="linkFields.apiDocLink.title"></h5> |
20 | | - <a class="mdl-color-text--primary-dark" target="_blank" [href]="linkFields.apiDocLink.href"> |
21 | | - {{ linkFields.apiDocLink.href }} |
22 | | - </a> |
23 | | - </div> |
24 | | - |
25 | 16 | <div *ngIf="inputFields.apiKey.value"> |
26 | 17 | <h5 [translate]="inputFields.apiKey.title"></h5> |
27 | 18 | <cs-input-group> |
@@ -85,6 +76,20 @@ <h5 [translate]="inputFields.apiSecretKey.title"></h5> |
85 | 76 | {{ 'COPY' | translate }} |
86 | 77 | </mdl-tooltip> |
87 | 78 | </div> |
| 79 | + <div> |
| 80 | + <h5 [translate]="linkFields.apiUrl.title"></h5> |
| 81 | + <a class="mdl-color-text--primary-dark" target="_blank" [href]="linkFields.apiUrl.href"> |
| 82 | + {{ linkFields.apiUrl.href }} |
| 83 | + </a> |
| 84 | + </div> |
| 85 | + |
| 86 | + <div *ngIf="linkFields.apiDocLink.href"> |
| 87 | + <h5 [translate]="linkFields.apiDocLink.title"></h5> |
| 88 | + <a class="mdl-color-text--primary-dark" target="_blank" [href]="linkFields.apiDocLink.href"> |
| 89 | + {{ linkFields.apiDocLink.href }} |
| 90 | + </a> |
| 91 | + </div> |
| 92 | + |
88 | 93 | </div> |
89 | 94 | </div> |
90 | 95 | </div> |
|
0 commit comments