Commit graph

184 commits

Author SHA1 Message Date
Gabriel Augendre d7a979dfeb Improve button wording in confirm danger 2018-06-14 00:22:30 +02:00
Gabriel Augendre f240dd8ded Fix responsiveness in confirm danger 2018-06-14 00:19:31 +02:00
Gabriel Augendre 73a5a2475a Fix confirm danger text emphasis 2018-06-14 00:19:21 +02:00
Gabriel Augendre cbbefd745d Fix icon in confirm list danger + add icon on button 2018-06-14 00:16:33 +02:00
Gabriel Augendre 3c19affff1 Moar icons 2018-06-14 00:12:01 +02:00
Gabriel Augendre efcee5b07f Use custom selects when possible. #30 2018-06-14 00:07:29 +02:00
Gabriel Augendre ef6a7db97a Display other_editor in admin. Fix #27 2018-06-10 22:15:58 +02:00
Gabriel Augendre 7b978c9389 Add help text 2018-06-10 20:15:06 +02:00
Gabriel Augendre 0563efb631 Display other editor if needed 2018-06-10 20:04:45 +02:00
Gabriel Augendre a4a8dd12ef Allow multiple levels for same book. Generate multiple books. Close #26 2018-06-10 20:03:00 +02:00
Gabriel Augendre 031027be0a Redirect to home view if teacher not found. Fix #24, fix #25 2018-06-07 07:57:45 +02:00
Gabriel Augendre f4881ecc77 Add "other editor" field with custom validation 2018-06-07 07:46:47 +02:00
Gabriel Augendre 1c01e4f7dc Use float for price field 2018-06-04 18:28:40 +02:00
Gabriel Augendre 651907682c Add "see_later" field in form 2018-06-04 18:24:09 +02:00
Gabriel Augendre 51be90baad Remove collection from table recap 2018-06-04 18:14:55 +02:00
Gabriel Augendre 9e862edb1b Fix form width. Close #21 2018-06-03 16:38:01 +02:00
Gabriel Augendre a41c987193 Remove has_confirmed_list from subscription page. Fix #23 2018-06-03 16:35:40 +02:00
Gabriel Augendre 0a93b93a7e Simplify list book and supplies view 2018-06-02 18:56:56 +02:00
Gabriel Augendre 21b99158ee Fix settings value 2018-06-02 18:56:56 +02:00
Gabriel Augendre d3d7c0b4a1 Add mail send when confirming. Closes #19 2018-06-02 18:57:02 +02:00
Gabriel Augendre 68de1aefea Implement teacher lists confirmation. #19 2018-06-02 18:56:56 +02:00
Gabriel Augendre f548eb711b Fix typo 2018-06-02 17:26:01 +02:00
Gabriel Augendre b7d50b16ea Allow item deletion. Close #18 2018-06-02 17:24:53 +02:00
Gabriel Augendre 975775b05f Make table responsive. 2018-06-02 16:58:29 +02:00
Gabriel Augendre 0d89adddcd Reduce form wideness. Close #20 2018-06-02 16:55:39 +02:00
Gabriel Augendre 97df728101 Fix comment field reference in admin. #11 2018-06-02 16:52:36 +02:00
Gabriel Augendre ef734d7c23 Reduce textareas height. Close #16 2018-06-02 16:52:17 +02:00
Gabriel Augendre 21e37ad5c2 Emphasize first paragraph of supplies info. Close #17 2018-06-02 16:43:08 +02:00
Gabriel Augendre dcb783095c Fix filters order. Close #15 2018-06-02 16:41:50 +02:00
Gabriel Augendre dc9634fb5f Fix columns order when exporting. Close #14 2018-06-02 16:40:36 +02:00
Gabriel Augendre 4395ee5428 Alphabetically sort editors and teachers. Close #13 2018-06-02 16:39:10 +02:00
Gabriel Augendre d28ce54bc8 Allow edit of done in admin. Close #12 2018-06-02 16:35:57 +02:00
Gabriel Augendre 1fe1db483d Display comment in admin. Close #11 2018-06-02 16:35:06 +02:00
Gabriel Augendre e294221748 Fix inheritance in forms 2018-06-02 16:34:15 +02:00
Gabriel Augendre 5876525b8e Rename "enseignant" to "coordonnateur". Close #9 2018-06-02 16:31:37 +02:00
Gabriel Augendre 17d9798394 Add €uro sign after price 2018-06-02 16:29:16 +02:00
Gabriel Augendre 50c4cebc96 Fix "already acquired" pictogram. Close #8 2018-06-02 16:29:06 +02:00
Gabriel Augendre 70efe386ec Add admin link for logged users or authorized teacher mails 2018-06-02 11:20:02 +02:00
Gabriel Augendre 46a3e18512 Bootstrap 4.0 -> 4.1 2018-06-02 10:59:59 +02:00
Gabriel Augendre 111987bdab Fix: old values are retrieved even when not present at page load 2018-06-02 10:11:32 +02:00
Gabriel Augendre 601179eba5 Retrieve old values when unchecking "no book for this class". 2018-06-02 09:59:15 +02:00
Gabriel Augendre 78cb528fe7 Use text inputs instead of text areas for title and authors. Close #7 2018-06-02 09:58:57 +02:00
Gabriel Augendre 2016948119 Don't try to listen to selector events if selector doesn't exist 2018-06-02 09:52:04 +02:00
Gabriel Augendre f21f8a8ac9 Improve editor selection in "no book" case. #4 2018-06-02 09:33:43 +02:00
Gabriel Augendre ddd1043113 Improve info message for supplies 2018-06-01 20:27:38 +02:00
Gabriel Augendre 90b9f9946f Edit warning 2018-06-01 20:23:40 +02:00
Gabriel Augendre 4cfda7cfc2 Clarify edit action 2018-06-01 20:21:28 +02:00
Gabriel Augendre 796d1874da Allow books and supplies editing + refactor. Close #1 2018-05-31 19:11:09 +02:00
Gabriel Augendre 8c54fce37e Allow no book for a level/field. Close #4 2018-05-31 08:16:22 +02:00
Gabriel Augendre b77384a8b5 Allow for empty comment 2018-05-31 08:15:20 +02:00
Gabriel Augendre ced070aca9 Add comment field. Close #5 2018-05-30 18:23:19 +02:00
Gabriel Augendre 120d4d94ef Add message about supplies. Close #6 2018-05-30 18:14:53 +02:00
Gabriel Augendre 1ec152f6c7 Add done field. Close #2 2018-05-30 18:06:40 +02:00
Gabriel Augendre eb88c5d4af Rename fields. Close #3 2018-05-30 18:01:49 +02:00
Gabriel Augendre 20ef3ce11d Allow multiple fields for supplies 2018-05-24 00:36:17 +02:00
Gabriel Augendre 70fa58fd46 Fix order of export fields and display in admin 2018-05-24 00:31:21 +02:00
Gabriel Augendre 35feb6178b Increase buttons verbosity 2018-05-24 00:22:35 +02:00
Gabriel Augendre cff3aef98c Increase length limits 2018-05-24 00:22:35 +02:00
Gabriel Augendre ee8f7807b4 Improve help text for ISBN 2018-05-24 00:22:35 +02:00
Gabriel Augendre 1dab5e1c8a Validate phone number against 10 digits 2018-05-24 00:22:35 +02:00
Gabriel Augendre 7330e5353f Add clickable link in mail 2018-05-24 00:22:35 +02:00
Gabriel Augendre 0f4d66342e Export editor name 2018-05-24 00:22:35 +02:00
Gabriel Augendre a6d1abf2af Remove collection from books 2018-05-24 00:22:35 +02:00
Gabriel Augendre b7d7e7098d Configure logging 2018-05-24 00:22:35 +02:00
Gabriel Augendre c0a1d0cbd7 Add field for supplies 2018-05-22 18:46:49 +02:00
Gabriel Augendre 35d7056c17 Fix teacher send action 2018-05-22 11:12:16 +02:00
Gabriel Augendre 4abc66d675 Add ability to export data 2018-05-22 11:10:09 +02:00
Gabriel Augendre 4499ee8c6b Protect foreign keys 2018-05-22 10:52:03 +02:00
Gabriel Augendre a562f7587a Add missing migration 2018-05-22 10:27:02 +02:00
Gabriel Augendre 2791b27729 Allow to send mail via admin interface 2018-05-22 10:24:21 +02:00
Gabriel Augendre 7709be0701 Add supplies management + fix "previously acquired" 2018-05-22 10:13:51 +02:00
Gabriel Augendre 53285953ad Add created_at and updated_at to all models + improve book admin 2018-05-22 01:50:41 +02:00
Gabriel Augendre a9f050ba77 Improve admin 2018-05-22 01:43:39 +02:00
Gabriel Augendre f97f54b337 Use model for editor 2018-05-22 01:35:05 +02:00
Gabriel Augendre d88693b4b4 Enforce email address uniqueness 2018-05-22 00:55:14 +02:00
Gabriel Augendre c16d0db8ca Send link via email 2018-05-22 00:45:54 +02:00
Gabriel Augendre bcd7f6dc18 Add "logout" view 2018-05-21 23:46:47 +02:00
Gabriel Augendre 1e1eefcab0 Add warning messages and try to retrieve teacher automatically 2018-05-21 23:40:56 +02:00
Gabriel Augendre 2d14beb303 Use UUID for teacher creation 2018-05-21 23:23:43 +02:00
Gabriel Augendre 63b67e9a9a Wrapping up 2018-05-21 23:12:35 +02:00
Gabriel Augendre 5a5eefa134 Display book form 2018-05-21 22:23:53 +02:00
Gabriel Augendre 63fd65fb5e Save teacher and redirect to teacher page 2018-05-21 22:04:29 +02:00
Gabriel Augendre 8776e6a8af Add home page 2018-05-21 21:03:08 +02:00
Gabriel Augendre fe0e88496e Add working django 2018-05-21 19:28:36 +02:00