gregoirenovel
11e5943989
Only one selector per line
2017-04-20 10:05:56 +02:00
gregoirenovel
5e1c99d642
Opening curly braces must be preceded by one single space
2017-04-19 17:05:57 +02:00
gregoirenovel
8cad7361cf
An operator must be surrounded by single spaces
2017-04-19 17:05:57 +02:00
gregoirenovel
0789cfd311
Colons must be followed by a single space
2017-04-19 17:05:57 +02:00
gregoirenovel
8906801d6c
Comment literals must be followed by a space
2017-04-19 17:05:57 +02:00
gregoirenovel
4b575bd386
Commas are followed by a space
2017-04-19 17:05:57 +02:00
gregoirenovel
4f0de677ab
Begin pseudo elements with double colons
2017-04-19 17:05:57 +02:00
gregoirenovel
4b39e76c8a
Use extend only with placeholders
2017-04-19 17:05:57 +02:00
gregoirenovel
f3ec7f1d42
Indent with two spaces
2017-04-19 17:05:57 +02:00
gregoirenovel
af7b611dd0
< 1 numbers must all have a leading zero
2017-04-19 17:05:57 +02:00
gregoirenovel
c9ff601b28
Hex colors must be written with uppercase letters
2017-04-19 17:05:57 +02:00
gregoirenovel
f519896e54
Hex colors must be 6 characters long
2017-04-19 17:05:57 +02:00
gregoirenovel
2cae8e751e
Blocks must be separated by an empty line
2017-04-19 17:05:57 +02:00
gregoirenovel
0d5dd9d492
Remove empty rules
2017-04-19 17:05:57 +02:00
gregoirenovel
6a13e481fd
Fix the declaration order
2017-04-19 17:05:57 +02:00
gregoirenovel
0ed13c9fe7
Remove duplicated properties
2017-04-19 17:05:56 +02:00
gregoirenovel
c5fc77b606
Change the comments style
2017-04-19 17:05:56 +02:00
gregoirenovel
bb02339183
Use border: none instead of border: 0
2017-04-19 17:05:56 +02:00
gregoirenovel
db331447e1
Use hex codes for colors
2017-04-19 17:05:55 +02:00
Simon Lehericey
ce4a23ec7f
MandatoryAttachment: show * near mandatory attachment
2017-04-19 15:45:45 +02:00
Simon Lehericey
2b969ef575
MandatoryAttachment: group missing errors logic together
...
and show errors only if not draft
2017-04-19 15:45:45 +02:00
gregoirenovel
b00eb914da
Use case statements instead of if statements where appropriated
2017-04-19 11:57:49 +02:00
gregoirenovel
9071656b55
Use #each instead of #map where appropriated
2017-04-19 11:57:49 +02:00
gregoirenovel
ddf02ccd6d
Use a non-breaking space after the “numéro” contraction
2017-04-19 11:19:53 +02:00
gregoirenovel
aa41349f0c
Lowercase the “n” of “numéro” contraction where needed
2017-04-19 11:19:53 +02:00
gregoirenovel
ba4ee68019
Use masculine ordinal indicator instead of the degree sign
...
It’s the right way to contract “numéro”
We should use the superscript lowercase o but
it’s hard to do in places where only raw text is
available
2017-04-19 11:19:53 +02:00
Simon Lehericey
4cd21580fb
DescriptionController: move html_safe to the view
...
html_safe could not work upon redirection as stated here :
https://groups.google.com/forum/#!topic/rubyonrails-core/z52zgDgUmbs
2017-04-19 10:52:04 +02:00
Simon Lehericey
eb3bb63a8f
DescriptionController: remove useless @champs
2017-04-19 10:52:04 +02:00
Simon Lehericey
866a54085c
DescriptionController: cosmetic
2017-04-19 10:52:04 +02:00
Simon Lehericey
157d1818b2
DescriptionController: move instance var to local var
2017-04-19 10:52:04 +02:00
Simon Lehericey
71542f6a3a
PiecesJustificativesService: more explicit selection of content
2017-04-19 10:24:08 +02:00
Simon Lehericey
21d7a96062
PiecesJustificativesService: less violent error message in case of virus
2017-04-19 10:22:30 +02:00
Simon Lehericey
395c9d5bb1
PiecesJustificativesService: improve error message when the file cannot be saved
2017-04-19 10:20:32 +02:00
Simon Lehericey
e0828dda13
PiecesJustificativesService: save_pj returns nil if no errors
2017-04-19 10:16:30 +02:00
Simon Lehericey
8e7e7a8ab4
Stats Index: remove useless locale
2017-04-19 10:06:22 +02:00
Simon Lehericey
4c74b04a91
Commentaire: use fr local to display date
2017-04-19 10:06:22 +02:00
Simon Lehericey
367b7c6ae1
DescriptionController: use common system to redirect with errors
2017-04-18 17:48:03 +02:00
Simon Lehericey
591ed2037e
PiecesJustificativesServices: refactor upload_one!
2017-04-18 17:48:03 +02:00
Simon Lehericey
03e9cd523e
PiecesJustificativesService: mandatory pj check and add test
2017-04-18 17:48:03 +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
3abbb0bdcd
Use french formatting for numbers on the Stats page
2017-04-18 14:34:56 +02:00
gregoirenovel
21ff863dab
[ Fix #112 ] Add favicons
2017-04-17 19:32:26 +02:00
Mathieu Magnin
1612b60126
Remove useless code
2017-04-13 16:54:00 +02:00
Mathieu Magnin
320d5da40f
Add individual infos to flat table export serializer
2017-04-13 16:54:00 +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
Mathieu Magnin
080c7c3d04
Fix csv export with no dossiers
2017-04-12 18:19:37 +02:00
gregoirenovel
f4ff778a5c
Add a missing newline before the end of the controller
...
Same spacing rules at the top and at the bottom
of the file
2017-04-11 16:58:27 +02:00
gregoirenovel
913735554c
Improve StatsController#thirty_days_flow and #clean_hash
2017-04-11 16:58:27 +02:00
gregoirenovel
11015787bf
Add new total numbers to the Stats page
2017-04-11 16:51:38 +02:00
gregoirenovel
52ea4a1b8d
Add new charts and a segmented control to the Stats page
2017-04-11 16:51:38 +02:00