Commit graph

200 commits

Author SHA1 Message Date
gregoirenovel
36bee67085 Add Procedure#brouillon? 2017-07-13 17:01:38 +02:00
gregoirenovel
9a7d5d1833 Add Procedure#publiee? 2017-07-13 15:44:18 +02:00
gregoirenovel
cfec05506a Rename Procedure#archived? -> #archivee? 2017-07-13 15:32:13 +02:00
Simon Lehericey
4ae9d8ef0d [Fix #592] Convert html_safe to sanitize 2017-07-13 10:14:16 +02:00
Mathieu Magnin
70c7c42e1f [Fix #430] Add delete procedure button 2017-07-04 14:34:26 +02:00
Simon Lehericey
48e881f9ec [FIX #491] Attestation: allow administrateur to change attestation template on a published procedure 2017-07-04 13:59:54 +02:00
Simon Lehericey
8aaf7df579 AttestationTemplate edit: id.nil => new_record? 2017-07-04 13:59:54 +02:00
gregoirenovel
38400cc2ce Fix a capitalization mistake 2017-07-03 10:19:45 +02:00
Simon Lehericey
3d99407495 [Fix #499] Attestation: add maxlength to footer 2017-06-27 13:35:01 +02:00
Simon Lehericey
81984d2883 Attestation: remove misleading footer placeholder 2017-06-27 13:34:49 +02:00
Simon Lehericey
c16c19f8e6 [Fix #499] Attestation: footer is now an text_field instead of a text_area 2017-06-27 13:14:47 +02:00
gregoirenovel
96dd853dbb [Fix #396] Don’t submit the publish form after a transfer 2017-06-26 10:51:28 +02:00
gregoirenovel
ed51c77895 Correctly display the success message when transfer was successful 2017-06-26 10:51:28 +02:00
gregoirenovel
12f61b490a Reformat transfer.js.erb 2017-06-26 10:51:28 +02:00
gregoirenovel
8d9ca18406 Improve spacing in _model_transfer.html.haml 2017-06-26 10:51:27 +02:00
gregoirenovel
0e3f431d7d Fix indentation in _modal_transfer.html.haml 2017-06-26 10:51:26 +02:00
gregoirenovel
bd2fcebf95 Change a silly title 2017-06-26 10:51:26 +02:00
Simon Lehericey
c0facbf679 [Fix #196] AttestionTemplate: add preview 2017-06-16 12:11:09 +02:00
Simon Lehericey
fdb4d15bcf [Fix #196] AttestationTemplate: add edition 2017-06-16 12:11:09 +02:00
gregoirenovel
07ad7b4c84 mails -> mail_templates 2017-06-08 12:22:46 +02:00
gregoirenovel
07ea0ceea1 Make MailTemplateConcern.slug a constant 2017-06-08 12:22:44 +02:00
gregoirenovel
5a59115df4 Refactor the TAGS management in MailTemplateConcern 2017-06-08 12:22:36 +02:00
Simon Lehericey
7ac6c81154 AdminProceduresInfoHaml: remove localtime to date 2017-05-29 13:53:14 +02:00
Simon Lehericey
cebb197994 Fix #171 : add localtime to a bunch of date 2017-05-11 15:10:49 +02:00
Mathieu Magnin
054afb40a4 [Fix #50, fix #239] Install chartkick the right way 2017-05-10 09:28:13 +02:00
gregoirenovel
3bd5e32dff Add a system to restrain the email templates tags to specific templates 2017-05-04 16:17:39 +02:00
gregoirenovel
43ae28de87 Make the email templates tags table occupy the whole width available
It improves the content formatting (no more ugly
line breaks splitting a tag on several lines)
2017-05-04 16:17:38 +02:00
gregoirenovel
402f44c5fd Champs privés -> Annotations privées 2017-05-04 11:35:23 +02:00
gregoirenovel
77dae0462b Utilisateur -> Usager 2017-05-04 11:35:23 +02:00
gregoirenovel
4303dcef2c Organisation -> Organisme 2017-05-04 11:35:22 +02:00
gregoirenovel
f310f672b6 Extract class attributes from HAML tag attributes 2017-04-26 17:22:31 +02:00
gregoirenovel
7ddcb9aedc Extract id attributes from HAML tag attributes 2017-04-26 17:22:30 +02:00
gregoirenovel
51daa2f498 Use implicit div tags instead of explicit 2017-04-26 17:01:45 +02:00
Mathieu Magnin
887512c26c Procedure path can contain dashes and can be longer 2017-04-21 16:32:48 +02:00
gregoirenovel
c10c2fc31b Selectors must be written in lowercase with hyphens 2017-04-20 10:35:53 +02:00
Simon Lehericey
e49ea2d0e0 PiecesJustificative: add field to set it mandatory
small css to align the fields
2017-04-18 17:48:03 +02:00
gregoirenovel
d531b02bc5 Order types_de_piece_justificative on Procedure
So that /spec/controllers/api/v1/
dossiers_controller_spec.rb#L163-L179 (on commit
8852431 for example) does not randomly fail due
to unordered types_de_piece_justificative
2017-04-13 14:48:18 +02:00
gregoirenovel
57ee3c5b3f Separate ternary operators with spaces on both sides 2017-04-10 17:55:55 +02:00
gregoirenovel
9c04d3ff93 All CSS declarations must end with a semi-colon 2017-04-10 17:55:55 +02:00
gregoirenovel
3797015908 All colons must be followed by a single space 2017-04-10 17:55:55 +02:00
gregoirenovel
97df69bcd8 In HAML files, separate arguments by a comma and a single space 2017-04-10 17:55:55 +02:00
gregoirenovel
6db4a69cb2 Use spaces inside hashes 2017-04-10 17:55:54 +02:00
gregoirenovel
aaaed328fb Remove unnecessary string outputs 2017-04-10 17:55:54 +02:00
gregoirenovel
8d9cdf8e33 Remove a useless string in the gestionnaires list 2017-04-10 17:55:54 +02:00
gregoirenovel
7a941d3219 Remove a useless id in _list.html.haml 2017-04-10 17:55:54 +02:00
gregoirenovel
2d5df47c4e Use implicit div tags in HAML files 2017-04-10 17:55:53 +02:00
gregoirenovel
e7e4e41e12 Haml Ruby evaluation tags must be followed by a space 2017-04-10 17:55:53 +02:00
gregoirenovel
d1e463b7ab Files should end with a single new line 2017-04-04 16:59:39 +02:00
gregoirenovel
d5e7bbd80d Files should end with a new line 2017-04-04 16:59:38 +02:00
gregoirenovel
15802b18ea Files should not start with a new line 2017-04-04 16:59:38 +02:00