diff --git a/src/main/webapp/app/exercise/exercise-details/exercise-details.component.ts b/src/main/webapp/app/exercise/exercise-details/exercise-details.component.ts index 2d54a2408df6b7d7204e9bebe0582941028c94bf..a2ea49e1a1fbd64e0fb723e25e05256b7bea45a2 100644 --- a/src/main/webapp/app/exercise/exercise-details/exercise-details.component.ts +++ b/src/main/webapp/app/exercise/exercise-details/exercise-details.component.ts @@ -2,8 +2,10 @@ import { HttpResponse } from '@angular/common/http'; import { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core'; import { Router } from '@angular/router'; import { faFolder } from '@fortawesome/free-solid-svg-icons'; -import { AccountService } from 'app/core/auth/account.service'; +import { ApplicationInfoService } from 'app/core/application/applicationInfo.service'; import { Account } from 'app/core/auth/account.model'; +import { AccountService } from 'app/core/auth/account.service'; +import { AlertService } from 'app/core/util/alert.service'; import { LikesService } from 'app/entities/likes/likes.service'; import { ExerciseService } from 'app/exercise/service/exercise.service'; import { SearchService } from 'app/search/service/search-service'; @@ -13,9 +15,7 @@ import { Person } from 'app/shared/model/person.model'; import { PluginActionInfo } from 'app/shared/model/search/search-result-dto.model'; import { PluginService } from 'app/shared/service/plugin-service'; import { WatchlistManager } from 'app/shared/watchlist/watchlist-manager'; -import { AlertService } from 'app/core/util/alert.service'; import { Subscription } from 'rxjs'; -import { ApplicationInfoService } from 'app/core/application/applicationInfo.service'; @Component({ selector: 'jhi-exercise-details', @@ -27,7 +27,6 @@ export class ExerciseDetailsComponent implements OnInit, OnDestroy { @Output() exerciseChangedEvent = new EventEmitter<Exercise>(); markDownExercise: Exercise | undefined; - actions = ['export to artemis', 'test', 'test2']; account: Account | null = null; authSubscription?: Subscription; hasLiked: Boolean | null = null; @@ -140,7 +139,10 @@ export class ExerciseDetailsComponent implements OnInit, OnDestroy { const recursion = this.downloadWithChildren ? 'WITH_DESCENDANTS' : 'JUST_PROJECT'; return this.searchService.exportProject(exerciseId, recursion).subscribe( (response: HttpResponse<Blob>) => { - this.jhiAlertService.addAlert({ type: 'success', translationKey: 'artemisApp.programmingExercise.export.successMessage' }); + this.jhiAlertService.addAlert({ + type: 'success', + translationKey: 'artemisApp.programmingExercise.export.successMessage', + }); // success('artemisApp.programmingExercise.export.successMessage'); if (response.body) { const zipFile = new Blob([response.body], { type: 'application/zip' }); diff --git a/src/main/webapp/i18n/de/oauth2.json b/src/main/webapp/i18n/de/oauth2.json index 67428aceb63ec3bf74af77f06ec6fd3bcc682a3a..fe67045d184efde86552547e0cc34f610fbc2c91 100644 --- a/src/main/webapp/i18n/de/oauth2.json +++ b/src/main/webapp/i18n/de/oauth2.json @@ -2,7 +2,7 @@ "oauth2": { "gitlabOidc": { "icon": "/content/img/gitLab.png", - "text": "Mit gitLab anmelden" + "text": "Mit GitLab anmelden" } } } diff --git a/src/main/webapp/i18n/en/oauth2.json b/src/main/webapp/i18n/en/oauth2.json index 2a6338b01f43e08fda9a59c84a9224d1a7182f52..ee4e11abb0c7c979f8061aba3678597e204bc713 100644 --- a/src/main/webapp/i18n/en/oauth2.json +++ b/src/main/webapp/i18n/en/oauth2.json @@ -2,7 +2,7 @@ "oauth2": { "gitlabOidc": { "icon": "/content/img/gitLab.png", - "text": "Login with gitLab" + "text": "Login with GitLab" } } }