Back to Super Productivity

@if (issueProviderKey | issueIcon; as icon) { } @else { extension } {{ (isEdit ? T.F.ISSUE.DIALOG.EDIT_TITLE : T.F.ISSUE.DIALOG.SETUP_TITLE) | translate: { title: title } }}

src/app/features/issue/dialog-edit-issue-provider/dialog-edit-issue-provider.component.html

18.4.42.3 KB
Original Source

@if (issueProviderKey | issueIcon; as icon) { } @else { extension } {{ (isEdit ? T.F.ISSUE.DIALOG.EDIT_TITLE : T.F.ISSUE.DIALOG.SETUP_TITLE) | translate: { title: title } }}

@if (configFormSection?.help || configFormSection?.helpArr) { @if (configFormSection?.help) {

} @if (configFormSection?.helpArr) { @for (helpSection of configFormSection?.helpArr; track helpSection) { @if (helpSection.h) { {{ helpSection.h | translate }} } @if (helpSection.p) {

} @if (helpSection.p2) {

} @if (helpSection.p3) {

} @if (helpSection.p4) {

} } } } @if (isEdit) { {{ T.G.ENABLED | translate }} } @if (model.isEnabled) { @if (issueProviderKey === ICAL_TYPE) { @if (d.calendarContextInfoTarget === 'GOOGLE') {

How to get the iCal url for Google Calendar (view only)?

} @if (d.calendarContextInfoTarget === 'OUTLOOK365') {

How to get the iCal url for Outlook 365 (ICS)?

} } @if (issueProviderKey === 'JIRA' && IS_WEB_EXTENSION_REQUIRED_FOR_JIRA) {

} @for (btn of oauthButtons; track btn.label) { @if (isOAuthConnected()) { link_off {{ T.F.ISSUE.DIALOG.DISCONNECT | translate }} check_circle {{ T.F.ISSUE.DIALOG.CONNECTED | translate }} } @else { login {{ btn.label }} } } @if (showLoadOptionsButton) { @switch (optionsLoadState()) { @case ('loading') { sync {{ T.F.ISSUE.DIALOG.LOADING_OPTIONS | translate }} } @case ('loaded') { refresh {{ T.F.ISSUE.DIALOG.RELOAD_OPTIONS | translate }} check_circle {{ T.F.ISSUE.DIALOG.OPTIONS_LOADED | translate }} } @case ('failed') { refresh {{ T.F.ISSUE.DIALOG.LOAD_OPTIONS | translate }} error {{ T.F.ISSUE.DIALOG.LOAD_OPTIONS_FAILED | translate }} } @default { cloud_download {{ T.F.ISSUE.DIALOG.LOAD_OPTIONS | translate }} } } } @if (!isAgendaView) { } @switch (issueProviderKey) { @case ('JIRA') { } @case ('OPEN_PROJECT') { } @case ('TRELLO') { } @case ('NEXTCLOUD_DECK') { } } } {{ T.G.CANCEL | translate }} @if (isEdit) { content_copy {{ T.G.DUPLICATE | translate }} delete_forever {{ T.G.DELETE | translate }} } @else { @if (isConnectionWorks()) { check } @else { online_prediction {{ T.F.ISSUE.DIALOG.TEST_CONNECTION | translate }} } } save {{ T.G.SAVE | translate }}