[10770] | 1 | ## $Id: viewlets.py 10812 2013-11-29 09:22:16Z henrik $ |
---|
| 2 | ## |
---|
| 3 | ## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann |
---|
| 4 | ## This program is free software; you can redistribute it and/or modify |
---|
| 5 | ## it under the terms of the GNU General Public License as published by |
---|
| 6 | ## the Free Software Foundation; either version 2 of the License, or |
---|
| 7 | ## (at your option) any later version. |
---|
| 8 | ## |
---|
| 9 | ## This program is distributed in the hope that it will be useful, |
---|
| 10 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 11 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 12 | ## GNU General Public License for more details. |
---|
| 13 | ## |
---|
| 14 | ## You should have received a copy of the GNU General Public License |
---|
| 15 | ## along with this program; if not, write to the Free Software |
---|
| 16 | ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
| 17 | ## |
---|
| 18 | |
---|
[10804] | 19 | from waeup.kofa.students.viewlets import ( |
---|
| 20 | StudentsTab, AdmissionSlipActionButton, StudentManageClearanceLink, |
---|
[10812] | 21 | StudentManagePersonalLink, StudentManageAccommodationLink, |
---|
| 22 | AddBalancePaymentActionButton, |
---|
| 23 | AddPreviousPaymentActionButton) |
---|
[10770] | 24 | |
---|
[10772] | 25 | from kofacustom.ekodisco.interfaces import MessageFactory as _ |
---|
| 26 | |
---|
| 27 | class CustomStudentsTab(StudentsTab): |
---|
| 28 | """Students tab in primary navigation does not show up. |
---|
| 29 | """ |
---|
| 30 | |
---|
[10804] | 31 | #@property |
---|
| 32 | #def link_target(self): |
---|
| 33 | # return None |
---|
| 34 | |
---|
| 35 | class AdmissionSlipActionButton(AdmissionSlipActionButton): |
---|
| 36 | target = '' |
---|
| 37 | |
---|
| 38 | class StudentManageClearanceLink(StudentManageClearanceLink): |
---|
| 39 | link = '' |
---|
| 40 | |
---|
| 41 | class CustomStudentManagePersonalLink(StudentManagePersonalLink): |
---|
| 42 | link = '' |
---|
| 43 | |
---|
| 44 | class CustomStudentManageAccommodationLink(StudentManageAccommodationLink): |
---|
| 45 | link = '' |
---|
[10812] | 46 | |
---|
| 47 | class CustomAddBalancePaymentActionButton(AddBalancePaymentActionButton): |
---|
| 48 | target = '' |
---|
| 49 | |
---|
| 50 | class CustomAddPreviousPaymentActionButton(AddPreviousPaymentActionButton): |
---|
| 51 | target = '' |
---|