- Timestamp:
- 14 Jun 2016, 17:50:49 (9 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/fileupload.pt
r13936 r13938 23 23 <div class="btn btn-default btn-file" i18n:translate=""> 24 24 Select new file… 25 <input type="file" tal:attributes="name viewlet/input_name" /> 25 <input i18n:name="input_name" 26 type="file" tal:attributes="name viewlet/input_name" /> 26 27 </div> 27 28 </div> -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r13936 r13938 3090 3090 3091 3091 def label(self): 3092 session = academic_sessions_vocab.getTerm(3093 self.current_academic_session).title3094 3092 return '%s tickets in academic session %s' % ( 3095 self.context.code, se ssion)3093 self.context.code, self.session_title) 3096 3094 3097 3095 def _searchCatalog(self, session): … … 3133 3131 self.redirect(self.url(self.context)) 3134 3132 return 3133 self.session_title = academic_sessions_vocab.getTerm( 3134 self.current_academic_session).title 3135 3135 self.tickets = self._searchCatalog(self.current_academic_session) 3136 3136 editable_tickets = [ … … 3184 3184 'updated (only integers are allowed): %s.' % error.strip(', ')), 3185 3185 type="danger") 3186 return 3187 self.flash(_('You successfully updated course results.')) 3186 3188 return 3187 3189 -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/editscorespage.pt
r13936 r13938 3 3 You can either update scores by importing a csv file 4 4 (press 'Help' for further information) or by 5 changing score values in the table below. Only scores of students 6 in state 'courses validated' and current academic session 5 changing score values in the table below. Only scores 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> … … 38 40 aria-hidden="true">×</button> 39 41 <h4 class="modal-title" id="myModalLabel" i18n:translate=""> 40 Instructions for File Upload42 Step-by-step instructions 41 43 </h4> 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 -->
Note: See TracChangeset for help on using the changeset viewer.