Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

PDF export: Add warning that feature is beta #923

Merged
merged 7 commits into from
Oct 29, 2018
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Unit-specific comments. [#761](https://github.com/geli-lms/geli/issues/761)
- Simple E2E test for login. [#795](https://github.com/geli-lms/geli/pull/795)
- Checkboxes for accepting our terms of use and privacy declarations while registering. [#778](https://github.com/geli-lms/geli/issues/778)
- PDF course content download functionality. [#720](https://github.com/geli-lms/geli/pull/720)
- PDF course content download functionality. [#720](https://github.com/geli-lms/geli/pull/720), [#923](https://github.com/geli-lms/geli/pull/923)
- User data deletion functionality for EU-GDPR compliance. [#775](https://github.com/geli-lms/geli/issues/775)
- Personal data export functionality for EU-GDPR compliance. [#805](https://github.com/geli-lms/geli/issues/805)
- Guided dialog for adding a whitelist. [#727](https://github.com/geli-lms/geli/issues/727) [#509](https://github.com/geli-lms/geli/issues/509)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class CourseDetailComponent implements OnInit, OnDestroy {
this.tabs = [{path: 'overview', label: t['common.content'], img: 'school'},
{path: 'fileview', label: t['common.documents'], img: 'insert_drive_file'},
{path: 'videoview', label: t['common.videos'], img: 'video_library'},
{path: 'download', label: t['common.download'], img: 'get_app'}];
{path: 'download', label: t['common.download'] + ' (Beta)', img: 'get_app'}];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would appreciate if 'Beta' is in the languages File. Or do you have a special reason to put this at this point here?

});
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<div *ngIf="this.checkForEmptyLectures()">
<mat-card class="dl-card">
<mat-card-content>
<p class="beta-warning">{{ 'course.text.downloadBetaWarning' | translate }} <a href="https://github.com/geli-lms/geli/issues" target="_blank">https://github.com/geli-lms/geli/issues</a></p>
</mat-card-content>
<mat-card-content>
<ng-container *ngIf="!this.checkForEmptyLectures()">{{'common.text.downloadNoFiles' | translate}}</ng-container>
<mat-list>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,8 @@
.radio-buttons .radio-button:nth-child(n+2){
margin-left: 20px;
}

.beta-warning {
color: red;
font-weight: bolder;
}
65 changes: 33 additions & 32 deletions app/webFrontend/src/assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"back": "Zurück",
"cancel": "Abbrechen",
"cheatSheetYouFind": "Einen Spickzettel finden Sie hier.",
"close" : "Schließen",
"close": "Schließen",
"continue": "Weiter",
"content": "Inhalt",
"course": "Kurs",
Expand All @@ -97,19 +97,19 @@
"folder": "Ordner",
"fullscreenMode": "Vollbildmodus",
"geli": "geli",
"general" : "Allgemein",
"general": "Allgemein",
"here": "hier",
"legalnotice": "Impressum",
"infobox": "Infobox",
"login": "Login",
"name": "Name",
"notifications": "Benachrichtigungen",
"media" : "Medien",
"members" : "Mitglieder",
"media": "Medien",
"members": "Mitglieder",
"misc": "Sonstiges",
"ok": "OK",
"open" : "Öffnen",
"openInTab" : "Im neuen Tab öffnen",
"open": "Öffnen",
"openInTab": "Im neuen Tab öffnen",
"password": "Passwort",
"privacy": "Datenschutz",
"profile": "Profil",
Expand All @@ -122,7 +122,7 @@
"question": "Frage",
"register": "Registrieren",
"reset": "Zurücksetzen",
"rename" : "Umbenennen",
"rename": "Umbenennen",
"role": "Rolle",
"roles": {
"student": "Student",
Expand All @@ -133,7 +133,7 @@
"settings": "Einstellungen",
"statistics": "Statistik",
"submit": "Absenden",
"teachers" : "Lehrer",
"teachers": "Lehrer",
"theme": "Design",
"tooltip": {
"quitFullscreenMode": "Vollbildmodus beenden",
Expand Down Expand Up @@ -174,10 +174,11 @@
"canSeenByStudents": "Kurs ist für Studenten sichtbar.",
"downloadHelpText": "Wähle die Units oder Files aus die als zip heruntergeladen werden sollen.",
"downloadNoFiles": "No Coursematerial aviable for download!",
"IndividualPDF":"individuelle PDFs",
"IndividualPDFExplanation":"eine PDF pro Unit",
"SinglePDF":"eine PDF",
"SinglePDFExplanation":"eine PDF mit allem ausgewählten",
"downloadBetaWarning": "Achtung! Der PDF export befindet sich noch in der Entwicklung. Für die meisten Kurse funktioniert der Export bereits. Ein paar Sonderfälle müssen aber noch gelöst werden. Wenn du einen Fehler findest, dann melde diesen bitte unter",
"IndividualPDF": "individuelle PDFs",
"IndividualPDFExplanation": "eine PDF pro Unit",
"SinglePDF": "eine PDF",
"SinglePDFExplanation": "eine PDF mit allem ausgewählten",
"editCourse": "Kurs bearbeiten",
"enterAccessKey": "Bitte geben Sie den Einschreibeschlüssel dieses Kurses ein.",
"enterAccessKeyForStudents": "Geben Sie einen Einschreibeschlüssel für die Studenten ein.",
Expand Down Expand Up @@ -211,20 +212,20 @@
"whitelistNotReadable": "Die Whitelist-Datei konnte nicht gelesen werden. Haben Sie die richtige Datei ausgewählt?",
"whitelistNoStudents": "In der Whitelist-Datei sind keine Stundenten, die importiert werden können."
},
"tooltip" : {
"tooltip": {
"add": "Kurs hinzufügen",
"addUserToWhitelist": "Benutzer zu Freigabeliste hinzufügen",
"download" : "Kurs herunterladen",
"download": "Kurs herunterladen",
"enroll": "Einschreiben",
"keyRequired" : "Zugangscode benötigt",
"keyRequired": "Zugangscode benötigt",
"leave": "Verlassen",
"noKeyRequired" : "Frei zugänglich"
"noKeyRequired": "Frei zugänglich"
}
},
"cookie": {
"text" : {
"moreInformation" : "Weitere Informationen",
"cookieHint" : "Geli verwendet Cookies, um Ihnen den bestmöglichen Service zu gewährleisten. Wenn Sie auf der Seite weitersurfen, stimmen Sie der Cookie-Nutzung zu, wie im Impressum beschrieben."
"text": {
"moreInformation": "Weitere Informationen",
"cookieHint": "Geli verwendet Cookies, um Ihnen den bestmöglichen Service zu gewährleisten. Wenn Sie auf der Seite weitersurfen, stimmen Sie der Cookie-Nutzung zu, wie im Impressum beschrieben."
}
},
"dashboard": {
Expand All @@ -239,9 +240,9 @@
"teacherCourses": "Meine Lehrveranstaltungen"
},
"errorPage": {
"text" : {
"pageNotFound" : "Seite nicht gefunden :(",
"pageNotFoundHint" : "Vielleicht suchen Sie nach einer Seite, die leider nicht mehr existiert."
"text": {
"pageNotFound": "Seite nicht gefunden :(",
"pageNotFoundHint": "Vielleicht suchen Sie nach einer Seite, die leider nicht mehr existiert."
}
},
"file": {
Expand All @@ -253,17 +254,17 @@
"addFile": "Datei hinzufügen",
"filename": "Dateiname",
"filesize": "Dateigröße",
"filesSelected" : "Dateien ausgewählt",
"filesSelected": "Dateien ausgewählt",
"fileRemove": "Datei löschen",
"infoDropAddFiles": "Dateien hier hinziehen oder hier klicken, um Dateien hochzuladen.",
"noVideo": "Kein Video verfügbar.",
"noFiles" : "Keine Dateien vorhanden",
"noFiles": "Keine Dateien vorhanden",
"progress": "Fortschritt",
"removeFromQueue": "Datei aus der Schlange löschen.",
"selectAll" : "Alle auswählen",
"selectAll": "Alle auswählen",
"takePicture": "Bild aufnehmen"
},
"tooltip":{
"tooltip": {
"selectFile": "Datei auswählen",
"uploadFile": "Datei hochladen"
}
Expand All @@ -273,7 +274,7 @@
},
"lecture": {
"noUnits": "Keine Unterkapitel angelegt!",
"text":{
"text": {
"add": "Kapitel hinzufügen",
"import": "Kapitel importieren",
"noLecture": "Noch kein Kapitel hinzugefügt."
Expand All @@ -290,9 +291,9 @@
"Update": "Aktualisieren"
}
},
"mail":{
"mail": {
"send": "Sende Mail",
"tooltip":{
"tooltip": {
"sendToMembers": "Mail an ausgewählte Mitglieder senden."
}
},
Expand Down Expand Up @@ -367,7 +368,7 @@
"delete": "Lerneinheit löschen",
"deleteAnswer": "Antwort löschen",
"deleteQuestion": "Frage löschen",
"deleteTask" : "Aufgabe löschen",
"deleteTask": "Aufgabe löschen",
"download": "Diese Lerneinheit downloaden",
"downloadUnits": "Lerneinheiten downloaden",
"duplicate": "Diese Lerneinheit kopieren",
Expand All @@ -381,9 +382,9 @@
"notSignedIn": "Nicht eingetragen",
"signedIn": "Eingetragen"
},
"tooltip":{
"tooltip": {
"deleteUsers": "Ausgewählte Mitglieder entfernen.",
"toggleMembers" : "Alle Benutzer auswählen",
"toggleMembers": "Alle Benutzer auswählen",
"doesNotExist": "Nutzer existiert nicht"
}
}
Expand Down
17 changes: 9 additions & 8 deletions app/webFrontend/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"misc": "Misc.",
"ok": "OK",
"open": "Open",
"openInTab" : "Open in new Tab",
"openInTab": "Open in new Tab",
"password": "Password",
"privacy": "Privacy",
"profile": "Profile",
Expand All @@ -122,7 +122,7 @@
"question": "Question",
"register": "Register",
"reset": "Reset",
"rename" : "Rename",
"rename": "Rename",
"role": "Role",
"roles": {
"student": "Student",
Expand Down Expand Up @@ -174,10 +174,11 @@
"canSeenByStudents": "Course can be seen by students.",
"downloadHelpText": "Select units or files which you want to download in a zip",
"downloadNoFiles": "Für diesen Kurs steht kein Material zum herunterladen bereit!",
"IndividualPDF":"Individual PDFs",
"IndividualPDFExplanation":"One PDF per Unit",
"SinglePDF":"Single PDF",
"SinglePDFExplanation":"One PDF with everything you selected",
"downloadBetaWarning": "Heads up! The download feature is still in development. We assume that for most lectures the export works quite well but there are some corner cases where the export might not work as you expect. If you find a mistake please report it back to",
"IndividualPDF": "Individual PDFs",
"IndividualPDFExplanation": "One PDF per Unit",
"SinglePDF": "Single PDF",
"SinglePDFExplanation": "One PDF with everything you selected",
"editCourse": "Edit course",
"enterAccessKey": "Please enter the course's access key.",
"enterAccessKeyForStudents": "Enter an access key for the students.",
Expand Down Expand Up @@ -254,13 +255,13 @@
"filename": "File name",
"filesize": "File size",
"fileRemove": "Remove File",
"filesSelected" : "File selected",
"filesSelected": "File selected",
"infoDropAddFiles": "Drop files here or click here to upload files.",
"noVideo": "No video available.",
"noFiles": "No files available.",
"progress": "Progress",
"removeFromQueue": "Remove file from queue.",
"selectAll" : "Select all",
"selectAll": "Select all",
"takePicture": "Take picture"
},
"tooltip": {
Expand Down