Changeset 13939 for main/waeup.aaue/trunk/src/waeup/aaue
- Timestamp:
- 14 Jun 2016, 17:53:45 (9 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r13937 r13939 26 26 from waeup.kofa.browser.layout import UtilityView 27 27 from waeup.kofa.widgets.datewidget import FriendlyDatetimeDisplayWidget 28 from waeup.kofa.interfaces import IKofaUtils 28 from waeup.kofa.interfaces import IKofaUtils, academic_sessions_vocab 29 29 from waeup.kofa.students.interfaces import IStudentsUtils, IStudent 30 30 from waeup.kofa.students.workflow import PAID, REGISTERED … … 572 572 self.redirect(self.url(self.context)) 573 573 return 574 self.session_title = academic_sessions_vocab.getTerm( 575 self.current_academic_session).title 574 576 self.tickets = self._searchCatalog(self.current_academic_session) 575 577 editable_tickets = [ … … 633 635 'Only integers are allowed.' % error.strip(', ')), 634 636 type="danger") 637 return 638 self.flash(_('You successfully updated course results.')) 635 639 return 636 640 -
main/waeup.aaue/trunk/src/waeup/aaue/students/browser_templates/editscorespage.pt
r13937 r13939 1 <p 1 <p i18n:domain="waeup.kofa" i18n:translate="edit_scores_info"> 2 2 This page helps you to update your students' course results. 3 3 You can either update scores and CAs by importing a csv file 4 4 (press 'Help' for further information) or by 5 5 changing score or CA values in the table below. Only scores and CAs 6 of students in state 'courses validated' and current academic session 6 of students in state 'courses validated' and current session 7 <span i18n:name="current_academic_session" 8 tal:replace="view/session_title"></span> 7 9 can be modified. 8 10 </p> … … 13 15 <div class="input-group-btn"> 14 16 <div class="btn btn-default btn-file" i18n:translate=""> 15 Select file…16 <input type="file" name="uploadfile:file" />17 Select csv file… 18 <input type="file" name="uploadfile:file" i18n:name="input_file"/> 17 19 </div> 18 20 </div> … … 42 44 </div> 43 45 <div class="modal-body" i18n:translate="lecturer_help"> 44 ... 46 <ol> 47 <li>Download csv file.</li> 48 <li>Open csv file in a text editor or in a spreadsheet 49 programme (Excel or Calc).</li> 50 <li>Edit course results only. Do not modify other entries. 51 Do not remove or add columns. Do not add rows.</li> 52 <li>Save file in same format (csv). 53 Do not switch to any other format (xls, xlsx or ods).</li> 54 <li>Select same file for upload and press the blue 'Update ...' 55 button.</li> 56 <li>The values in the table will be updated. Spot-check if 57 the values in the table correspond with the values in 58 your file.</li> 59 <li>Ready</li> 60 </ol> 61 <strong>Note:</strong> 62 Only course results of students which are in 63 state 'courses validated' and in current academic session 64 can be modified. Additional data will just be ignored. 45 65 </div> 46 66 </div><!-- /.modal-content --> … … 54 74 <tr> 55 75 <th i18n:translate="">Matric No.</th> 76 <th i18n:translate="">Reg. No.</th> 56 77 <th i18n:translate="">Fullname</th> 57 78 <th i18n:translate="">Status</th> … … 65 86 <tr tal:repeat="ticket view/tickets"> 66 87 <td tal:content="ticket/student/matric_number">MATRIC_NUMBER</td> 88 <td tal:content="ticket/student/reg_number">REG_NUMBER</td> 67 89 <td tal:content="ticket/student/display_fullname">FULLNAME</td> 68 90 <td tal:content="ticket/student/translated_state">STATE</td>
Note: See TracChangeset for help on using the changeset viewer.