*** menesis has quit IRC | 01:27 | |
*** replaceafill has quit IRC | 02:19 | |
*** alga has quit IRC | 03:36 | |
*** replaceafill has joined #schooltool | 04:37 | |
*** aks has joined #schooltool | 05:27 | |
*** replaceafill has quit IRC | 06:04 | |
*** replaceafill has joined #schooltool | 06:54 | |
*** th1a has quit IRC | 07:40 | |
*** replaceafill has quit IRC | 09:29 | |
*** alga has joined #schooltool | 11:37 | |
*** menesis has joined #schooltool | 11:41 | |
*** alga has quit IRC | 13:00 | |
*** aks has quit IRC | 13:26 | |
*** alga has joined #schooltool | 13:30 | |
*** yvl has quit IRC | 13:56 | |
*** menesis has quit IRC | 14:05 | |
*** menesis has joined #schooltool | 14:54 | |
*** replaceafill has joined #schooltool | 16:04 | |
*** Aiste has quit IRC | 16:23 | |
*** th1a has joined #schooltool | 16:46 | |
*** alga has quit IRC | 18:07 | |
*** alga has joined #schooltool | 18:08 | |
*** alga has quit IRC | 18:17 | |
*** alga has joined #schooltool | 18:19 | |
replaceafill | aelkner, you around? | 19:55 |
---|---|---|
aelkner | replaceafill, hey | 20:07 |
replaceafill | just reminding you to sort using the ICollator adapter in your ReportReferenceView class :) | 20:08 |
replaceafill | return [row for category, title, row in sorted(sortable_rows)] | 20:08 |
aelkner | how would it look? | 20:10 |
replaceafill | you create the collator adapting the request: | 20:11 |
replaceafill | collator = ICollator(self.request.locale) | 20:11 |
replaceafill | then you can use its methods in sorting: | 20:11 |
replaceafill | key=lambda a: collator.key(a.first_name) | 20:11 |
replaceafill | a is a student there | 20:11 |
aelkner | why do we need this? | 20:13 |
replaceafill | so you can sort appropriately when you're using more letters than A-Z | 20:15 |
replaceafill | Á, É, Í, Ó, Ú | 20:15 |
replaceafill | for example | 20:15 |
replaceafill | category and titles can be translated, correct? | 20:16 |
replaceafill | and please, please, dont do: return '%s %s' % (self.category, _('Reports')) | 20:17 |
replaceafill | that doesn't work | 20:17 |
replaceafill | use _('${category} Reports', mapping={'category': self.category}) | 20:18 |
replaceafill | it seems like a lot of work, but we people who use more than A-Z thank you :P | 20:19 |
aelkner | ah, ok, will do | 20:19 |
*** alga has quit IRC | 20:59 | |
*** menesis has quit IRC | 21:07 | |
*** alga has joined #schooltool | 21:41 | |
*** menesis has joined #schooltool | 22:31 | |
replaceafill | th1a, u around? | 22:56 |
th1a | I am. | 22:56 |
replaceafill | question | 22:56 |
replaceafill | i'm working on cambodia, and it's starting to seem like the user has to go to a lot of places to manage a single class | 22:56 |
replaceafill | it's because we use groups and sections | 22:57 |
replaceafill | so i was thinking, could i create a custom mega view to do it all? | 22:57 |
replaceafill | it's not going to be reusable i think | 22:57 |
replaceafill | and it's like saying "this schooltool default views dont work for me..." | 22:57 |
replaceafill | so i'm not sure if i should do it | 22:57 |
th1a | I'm not against it if you have a good idea. | 23:00 |
replaceafill | one of the things that i find most difficult in the current setup, is assigning teachers to a grade | 23:00 |
replaceafill | it's a lot of clicks | 23:00 |
replaceafill | if you could do it from the class (1A) that would be faster | 23:01 |
replaceafill | it could even use the same defaullt views (relationship views) just from a single place | 23:01 |
th1a | Feel free to give it a shot. | 23:02 |
replaceafill | great, thanks | 23:02 |
th1a | Usually these things are more widely applicable, at least in the part, than you guys think at the time. | 23:02 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!