diff options
| author | Tobias Spitzer | 2014-08-25 12:59:12 +0200 |
|---|---|---|
| committer | Tobias Spitzer | 2014-08-25 12:59:12 +0200 |
| commit | 393fe2056e4e750a8dcbc6176f230564dad04ef8 (patch) | |
| tree | 7b278068a1ca4c3f7020253e3cd006e4d8dad1de /Dozentenmodul/src/gui | |
| parent | Merge branch 'master' of ssh://git.openslx.org/openslx-ng/tutor-module (diff) | |
| download | tutor-module-393fe2056e4e750a8dcbc6176f230564dad04ef8.tar.gz tutor-module-393fe2056e4e750a8dcbc6176f230564dad04ef8.tar.xz tutor-module-393fe2056e4e750a8dcbc6176f230564dad04ef8.zip | |
Initialrechte für Veranstaltungen nun Verfügbar
Diffstat (limited to 'Dozentenmodul/src/gui')
| -rw-r--r-- | Dozentenmodul/src/gui/intro/Login_GUI.java | 4 | ||||
| -rw-r--r-- | Dozentenmodul/src/gui/intro/MainMenue_GUI.java | 2 | ||||
| -rw-r--r-- | Dozentenmodul/src/gui/lecture/CreateLectureLink_GUI.java | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/Dozentenmodul/src/gui/intro/Login_GUI.java b/Dozentenmodul/src/gui/intro/Login_GUI.java index 0abc6f34..ce878e44 100644 --- a/Dozentenmodul/src/gui/intro/Login_GUI.java +++ b/Dozentenmodul/src/gui/intro/Login_GUI.java @@ -301,11 +301,9 @@ public class Login_GUI extends JFrame { person.verantwortlicher.setEMail(user.eMail); person.verantwortlicher.setHochschule(hochschule); - //Sp�ter �ber result.getRole zum Beispiel die Rolle holen - person.verantwortlicher.setRole("Student"); //Sp�ter �ber result.getRole zum Beispiel die Rolle holen - person.verantwortlicher.setRole("Admin"); + person.verantwortlicher.setRole("Dozent"); try { diff --git a/Dozentenmodul/src/gui/intro/MainMenue_GUI.java b/Dozentenmodul/src/gui/intro/MainMenue_GUI.java index 5020ad07..abe5d4fa 100644 --- a/Dozentenmodul/src/gui/intro/MainMenue_GUI.java +++ b/Dozentenmodul/src/gui/intro/MainMenue_GUI.java @@ -172,7 +172,7 @@ public class MainMenue_GUI extends JFrame { JPanel panelImage = new JPanel(); panelImage.setBackground(SystemColor.menu); - panelImage.setBorder(new TitledBorder(null, "VL-Image", + panelImage.setBorder(new TitledBorder(null, "Image", TitledBorder.LEADING, TitledBorder.TOP, null, null)); panelImage.setBounds(10, 146, 270, 170); contentPanel.add(panelImage); diff --git a/Dozentenmodul/src/gui/lecture/CreateLectureLink_GUI.java b/Dozentenmodul/src/gui/lecture/CreateLectureLink_GUI.java index 86a5a2e7..2eee9ae7 100644 --- a/Dozentenmodul/src/gui/lecture/CreateLectureLink_GUI.java +++ b/Dozentenmodul/src/gui/lecture/CreateLectureLink_GUI.java @@ -573,6 +573,7 @@ public class CreateLectureLink_GUI extends JFrame { person.verantwortlicher.getEMail(), person.verantwortlicher.getTel(), person.verantwortlicher.getFakultaet()); + client.writeLectureRights(Lecture.lecture.getName(), person.verantwortlicher.getUsername(), person.verantwortlicher.getName(), person.verantwortlicher.getVorname(), person.verantwortlicher.getEMail(), person.verantwortlicher.getHochschule(), person.verantwortlicher.getRole()); JOptionPane .showMessageDialog( null, @@ -626,6 +627,7 @@ public class CreateLectureLink_GUI extends JFrame { person.verantwortlicher.getEMail(), person.verantwortlicher.getTel(), person.verantwortlicher.getFakultaet()); + client.writeLectureRights(Lecture.lecture.getName(), person.verantwortlicher.getUsername(), person.verantwortlicher.getName(), person.verantwortlicher.getVorname(), person.verantwortlicher.getEMail(), person.verantwortlicher.getHochschule(), person.verantwortlicher.getRole()); JOptionPane .showMessageDialog( null, @@ -679,6 +681,7 @@ public class CreateLectureLink_GUI extends JFrame { person.verantwortlicher.getEMail(), person.verantwortlicher.getTel(), person.verantwortlicher.getFakultaet()); + client.writeLectureRights(Lecture.lecture.getName(), person.verantwortlicher.getUsername(), person.verantwortlicher.getName(), person.verantwortlicher.getVorname(), person.verantwortlicher.getEMail(), person.verantwortlicher.getHochschule(), person.verantwortlicher.getRole()); JOptionPane .showMessageDialog( null, |
