Changeset 368 for trunk/examples/sara_nodes.py.in
- Timestamp:
- 10/22/18 12:16:12 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/sara_nodes.py.in
r367 r368 242 242 add_dict['date'] = None 243 243 244 elif len(note) == 1: 245 ## There is a note but not set by admin 246 add_dict['date'] = add_dict['date_add'] = add_dict['date_edit'] = add_dict['username'] = add_dict['ticket'] = '' 247 add_dict['note'] = ",".join(note) 244 248 else: 245 249 ## If there is no note, just set the variables with a empty string … … 308 312 w_ticket = 6 309 313 show_fields.append([w_ticket,'Ticket']) 314 if w_date > 0 or w_note > 0: 310 315 show_fields.append([w_note,'Note']) 311 316 … … 327 332 elif w_ticket > 0: 328 333 show_line_fields.append([w_ticket,'']) 334 if w_date > 0 or w_note > 0: 329 335 show_line_fields.append([w_note,line['note']]) 330 336
Note: See TracChangeset
for help on using the changeset viewer.