diff options
author | Christian Klinger | 2016-06-17 11:37:43 +0200 |
---|---|---|
committer | Christian Klinger | 2016-06-17 11:37:43 +0200 |
commit | 052eb9ae59e7e7008d5223984c0c41ef7730150f (patch) | |
tree | 52acc3589262b40b9505e9691b61bc265d383d3d /modules-available/exams | |
parent | Merge branch 'modularization' of git.openslx.org:openslx-ng/slx-admin into mo... (diff) | |
download | slx-admin-052eb9ae59e7e7008d5223984c0c41ef7730150f.tar.gz slx-admin-052eb9ae59e7e7008d5223984c0c41ef7730150f.tar.xz slx-admin-052eb9ae59e7e7008d5223984c0c41ef7730150f.zip |
Added translation for messages.
Diffstat (limited to 'modules-available/exams')
-rw-r--r-- | modules-available/exams/lang/de/messages.json | 6 | ||||
-rw-r--r-- | modules-available/exams/lang/en/messages.json | 6 | ||||
-rw-r--r-- | modules-available/exams/templates/page-exams.html | 36 |
3 files changed, 34 insertions, 14 deletions
diff --git a/modules-available/exams/lang/de/messages.json b/modules-available/exams/lang/de/messages.json new file mode 100644 index 00000000..2eb9dbc3 --- /dev/null +++ b/modules-available/exams/lang/de/messages.json @@ -0,0 +1,6 @@ +{ + "exam-added-success": "Klausurzeitraum erfolgreich hinzugef\u00fcgt", + "exam-deleted-success": "Klausurzeitraum erfolgreich gel\u00f6scht", + "exam-not-added": "Klausurzeitraum konnte nicht hinzugef\u00fcgt werden", + "exam-not-deleted-error": "Klausurzeitraum konnte nicht gel\u00f6scht werden" +}
\ No newline at end of file diff --git a/modules-available/exams/lang/en/messages.json b/modules-available/exams/lang/en/messages.json new file mode 100644 index 00000000..83db3414 --- /dev/null +++ b/modules-available/exams/lang/en/messages.json @@ -0,0 +1,6 @@ +{ + "exam-added-success": "Exam period successfully added", + "exam-deleted-success": "Exam period successfully deleted", + "exam-not-added": "Exam period was not added", + "exam-not-deleted-error": "Exam period was not deleted" +}
\ No newline at end of file diff --git a/modules-available/exams/templates/page-exams.html b/modules-available/exams/templates/page-exams.html index 9da3578c..0cc4cb8a 100644 --- a/modules-available/exams/templates/page-exams.html +++ b/modules-available/exams/templates/page-exams.html @@ -1,15 +1,16 @@ <div class="container-fluid"> <h1>{{lang_allExamPeriods}}</h1> - <table class="table"> - <tr> - <th>{{lang_id}}</th> - <th>{{lang_locations}}</th> - <th>{{lang_begin}}</th> - <th>{{lang_end}}</th> - <th>{{lang_actions}}</th> - </tr> - {{#exams}} + <div class="row"> + <table class="table"> + <tr> + <th>{{lang_id}}</th> + <th>{{lang_locations}}</th> + <th>{{lang_begin}}</th> + <th>{{lang_end}}</th> + <th>{{lang_actions}}</th> + </tr> + {{#exams}} <tr> <td>{{examid}}</td> <td>{{locationnames}} </td> @@ -19,17 +20,24 @@ <form method="POST" action="?do=exams&action=delete" onsubmit="return confirm('{{lang_deleteConfirmation}}');"> <input type="hidden" name="token" value="{{token}}"/> <input type="hidden" name="examid" value="{{examid}}"/> - <input type="submit" value="{{lang_delete}}" class="btn btn-sm" /> + <input type="submit" value="{{lang_delete}}" class="btn btn-default btn-sm" /> </form> </td> </tr> - {{/exams}} + {{/exams}} - </table> - <a href="?do=exams&action=add" class="btn btn-success">{{lang_addExam}}</a> + </table> + <div class="btn-toolbar" role="toolbar"> + <div class="btn-group" role="group"> + <a href="?do=exams&action=add" class="btn btn-success">{{lang_addExam}}</a> + </div> + </div> + </div> - <div class="block" id="timeline"> </div> + <div class="row" style="margin-top: 2em"> + <div id="timeline"></div> + </div> </div> <script type="application/javascript"><!-- |