simon lehericey
d5da7916e5
Placeholder not allowed in date input
2019-11-21 15:34:59 +01:00
Pierre de La Morinerie
bff7892ba8
dossiers: autosave drafts
2019-11-21 14:00:06 +01:00
Pierre de La Morinerie
8b8a96abda
dossiers: save draft by default (instead of submitting)
...
Make the default behavior of `update_brouillon` be to update the draft,
instead of submitting the dossier.
This makes all requests made to `update_brouillon` without specifying
an extra `submit_draft` parameter to just save the draft. It will make
autosaving the draft easier and safer.
2019-11-20 11:24:31 +01:00
Pierre de La Morinerie
03a7bc3d5a
dossiers: give the edit form an unique id
2019-11-20 11:24:31 +01:00
simon lehericey
59d5cd7abc
fix label > div by label > span
2019-11-19 15:14:06 +01:00
simon lehericey
45ff1fd697
Change span by div to fix Element p not allowed as child of element span
2019-11-19 15:14:06 +01:00
simon lehericey
4a5059ed34
Add alt='' to decorative image https://www.w3.org/WAI/tutorials/images/decorative/
2019-11-19 15:14:06 +01:00
benjaminhenkel
2f6b1fa302
Maj message quand messagerie désactivée
2019-11-18 14:28:05 +01:00
Pierre de La Morinerie
1c61f2de58
views: refactor the attachment/edit view
...
Make it more reusable, by:
- Renaming `attachment/update` to `attachment/edit`
- Refactoring the CSS styles into their own stylesheet
- Allow to specify the 'accept' option
2019-10-31 10:27:19 +01:00
Pierre de La Morinerie
dc1f3b4220
champs: add a "plus" icon to the "Add row" button
2019-10-24 16:52:29 +02:00
Pierre de La Morinerie
906f0fc468
champs: fix margin of "Add row" button in the Preview
2019-10-24 16:52:29 +02:00
simon lehericey
18de25fac7
Display the dossier.groupe_instructeur.label on various screens
2019-10-17 15:48:14 +02:00
simon lehericey
b7434c3132
User can choose its gi
2019-10-17 15:48:14 +02:00
Paul Chavard
e7ed408e08
Auto-link valeur des champs
...
closes #2865
2019-10-07 21:20:24 +02:00
Nicolas Bouilleaud
650e973d0a
Fix plural in entreprise(s).data.gouv.fr
2019-09-24 16:20:34 +02:00
Vini75
9968eb69c0
Adjust link to entreprisedatagouv
2019-09-24 16:14:23 +02:00
Vini75
606c084914
Add link to entreprises datagouv.fr
2019-09-24 15:49:25 +02:00
Pierre de La Morinerie
974c1b1150
stylesheets: move the dossier floating bar CSS to dossier_edit.scss
...
forms.scss is supposed to be for generic elements.
2019-09-17 16:58:11 +02:00
pedong
d2a78abc3a
[ fix #3975 ] set buttons floating in dossier page
2019-09-17 16:58:11 +02:00
Paul Chavard
d8402fbd2c
Remove last reference to commentaire.file
2019-09-10 10:49:12 +02:00
clemkeirua
6849fd6afe
change le texte de la messagerie selon le type d'utilisateur
2019-09-09 16:25:02 +02:00
maatinito
ae059dc029
Corrected placeholder on champ carte
2019-08-27 15:13:10 +02:00
clemkeirua
6c56fc73d7
used new constant for genders
2019-08-01 20:46:58 +02:00
Pierre de La Morinerie
f825f62ce5
dossier: remove UI for viewing old pieces justificatives
2019-07-30 16:11:16 +02:00
Pierre de La Morinerie
5502f2e42e
dossier: remove UI for uploading old pieces justificatives
2019-07-30 16:11:16 +02:00
Pierre de La Morinerie
bcd5182446
dossier: hide the draft explanation when already submitted
2019-07-29 10:54:19 +02:00
Pierre de La Morinerie
b4fe6e236e
messagerie: improve the textarea placeholder
2019-07-17 11:43:21 +02:00
Pierre de La Morinerie
92dd91a31b
messagerie: add a reply button next to the latest message
2019-07-17 11:43:21 +02:00
Pierre de La Morinerie
36eca3d059
dossier: rename the "Submit" action
2019-07-15 17:18:28 +02:00
Paul Chavard
3cb39c2840
Refactor message attachements to use active_storage
2019-07-10 15:35:29 +02:00
Nicolas Bouilleaud
3f439ac07a
Add Commentaire.is_sent_by_system? and .is_sent_by(someone)
...
And use it in CommentaireHelper and in the _message_icon and _message_issuer partials
2019-07-08 16:06:44 +02:00
Nicolas Bouilleaud
2abd93d360
Display the full User
email in Commentaires
...
* Only redact gestionnaires’ emails
* Also, rename Commentaire.sender to Commentaire.redacted_email
2019-07-08 16:06:44 +02:00
Nicolas Bouilleaud
12008728d2
Actually respect dossier.messagerie_available? in _messagerie.html.haml
...
instead of dossier.archived?
(fixup after #3979 )
2019-07-08 16:06:44 +02:00
Paul Chavard
05987223db
Avoid crashing when demarche have no service
2019-07-03 17:18:44 +02:00
Nicolas Bouilleaud
bd47bf2691
Disable Messagerie in archived Dossiers and procedures
...
* Use the existing Dossier#messagerie_available? method
* Raise when attempting to build a Commentaire if not messagerie_available?
* Disable the Messagerie form if not messagerie_available?
* Add tests :)
* Tweak the Horaires formatting while we’re here.
2019-07-01 09:39:39 +02:00
Paul Chavard
c5704fa22f
Remove unused code from Commentaire
2019-06-25 17:04:29 +02:00
Pierre de La Morinerie
1a832388fe
brouillon: clarify the "How to save" explanations
2019-06-17 11:12:26 +02:00
pedong
7ef1a558f4
change date format for all, use try_format_date of helper
2019-06-12 17:48:12 +02:00
simon lehericey
ee296f2b44
Use default format for date and datetime champ
2019-06-12 17:48:12 +02:00
pedong
abcd58c35d
[ fix #3710 ] date with letter
...
Co-Authored-By: simon lehericey <mail@simon.lehericey.net>
2019-06-12 17:48:12 +02:00
Paul Chavard
5a216b5583
Fix default button type
...
fix #3924
2019-06-04 17:59:02 +02:00
Paul Chavard
ff44b7a600
Refactor purge pj to be more generic
2019-05-29 15:54:51 +02:00
Paul Chavard
f6421e081a
Refactor attachment view
2019-05-21 14:21:13 +02:00
clemkeirua
b3956bc072
introduce virus scans
2019-05-07 08:54:29 +02:00
clemkeirua
4aab72be68
implementation du systeme de PJ de motivation
2019-05-07 08:54:29 +02:00
maatinito
2308b3bc5c
[Fix 3827] Champ Pays: la ligne de tirets ne devrait pas être selectionnable
2019-05-06 14:55:29 +02:00
Paul Chavard
91f2d7d706
Remove deprecated virus_scan model
2019-05-03 11:07:19 +02:00
Paul Chavard
6e8b9cf668
Refactor piece_jointe template to avoid repetition
2019-05-02 15:58:09 +02:00
Philémon
d533abedbc
Ajout rappel enregistrement nécessaire
2019-04-18 10:25:16 +02:00
Mathieu Magnin
052bd9a9fc
[ Fix #3682 ] Remove placeholder on textarea champ
2019-04-08 16:30:16 +02:00
Mathieu Magnin
8525761332
Revert english dates
2019-04-02 14:38:47 +02:00
Mathieu Magnin
7ed1e5ac82
[ Fix #3692 ] Add HTML5 validation to ensure SIRET length is 14
2019-03-28 18:03:53 +01:00
pedong
f82fdef45f
[ fix #3342 ] format letter for date SIRET
2019-03-27 16:10:54 +01:00
pedong
fb29d30826
[ fix #3342 ] show date with format letter
2019-03-27 15:27:20 +01:00
Paul Chavard
69a51e3296
Save SIRET data on search
2019-03-19 16:22:42 +01:00
Frederic Merizen
a8ce11a4d2
Add rel=noopener to links with target=_blank
...
http://support.detectify.com/customer/portal/articles/2792257-external-links-using-target-_blank-
2019-03-05 18:25:26 +01:00
Mathieu Magnin
a977e098d5
[ Fix #3495 ] add update identité button
2019-03-05 14:52:12 +01:00
Mathieu Magnin
4f70292aed
[ Fix #1874 ] Add update SIRET button on edit page
2019-03-05 14:39:15 +01:00
Paul Chavard
4aef77788a
Include blank for regions and pays
...
fix #3523
2019-03-05 11:08:09 +01:00
Pierre de La Morinerie
1f636e4d59
piece_justificative: toggle file upload control
2019-02-19 18:02:27 +01:00
Pierre de La Morinerie
ae5e8810a5
piece_justificative: style links as buttons, and improve layout
2019-02-19 18:02:27 +01:00
Paul Chavard
aad685bb79
Show preview with correct type de champ options
...
fix #3439
2019-02-19 16:37:42 +01:00
clemkeirua
8ae468e8c7
ajout de la date de depot pour l'instructeur
2019-02-19 12:00:36 +01:00
Mathieu Magnin
b2f5ff8690
Merge branch 'dev' into fix_3417_departement_with_empty_value
2019-02-18 17:35:53 +01:00
Pierre de La Morinerie
d1f514c7b0
dossier: make clear when files are being uploaded
2019-02-18 15:31:08 +01:00
pedong
034929632b
[ fix #3417 ] add emtpy value for departement
2019-02-14 15:24:12 +01:00
Paul Chavard
f5c9b55c59
Move remove row button to the right and show button on previews
2019-02-07 13:10:29 +01:00
Paul Chavard
a0a1ce11c8
Add repetition to apercu
2019-02-07 12:29:27 +01:00
Paul Chavard
a9a853b669
Fix and simplify linked-drop-down-list js
2019-02-05 16:48:26 +01:00
Paul Chavard
071448e1d9
Champ Repetition dossier editor
2019-02-04 16:19:07 +01:00
Paul Chavard
a4a421a91a
Champ Repetition dossier display
2019-02-04 15:46:39 +01:00
Mathieu Magnin
86a2a426bb
Merge branch 'dev' into fix_3282_datatime_with_empty_value
2019-02-01 11:45:45 +01:00
Pierre de La Morinerie
934368616c
form: remove the "Delete draft" button
...
Draft can now be deleted from the dossiers list. This is the best place
to delete it (as it allow to clean the list) – and it is better than
asking the user if they want to delete a draft *precisely while they
are filling the form*.
2019-01-28 18:17:38 +01:00
pedong
ec76ff820b
[ fix #3048 ] add pattern for the champs phone
2019-01-24 18:48:57 +01:00
pedong
358c08ec29
[ fix #3282 ] add empty value for type_champ datatime
2019-01-24 14:57:21 +01:00
Pierre de La Morinerie
5719107cbc
views: fix misnamed textarea template
2019-01-10 11:26:43 +01:00
gregoirenovel
cc07f0d701
Add a blank line to improve readability
2019-01-08 12:32:27 +01:00
gregoirenovel
e4f10a3d2d
Order a case statement alphabetically
2019-01-08 12:32:26 +01:00
gregoirenovel
66c633a1e5
Mutualize some code
2019-01-08 12:32:26 +01:00
gregoirenovel
5014e3f4c1
Move the display logic directly into the carte champ partial
2019-01-08 12:32:26 +01:00
gregoirenovel
dbbe2866d5
Extract the siret champ view in a partial
2019-01-08 12:32:26 +01:00
gregoirenovel
c1ebae3ee8
Extract the textarea champ view in a partial
2019-01-08 12:32:26 +01:00
gregoirenovel
e6e67dab35
Extract multiple_drop_down_list champ view in a partial
2019-01-08 12:32:26 +01:00
gregoirenovel
81d6e193e5
Extract the piece_justificative champ view in a partial
2019-01-08 12:32:26 +01:00
gregoirenovel
c7f2293c15
Extract the dossier_link champ view in a partial
2019-01-08 12:32:26 +01:00
gregoirenovel
004cdd4c43
Add highlights to all champs
2019-01-08 12:32:26 +01:00
gregoirenovel
20ea577a66
Remove a case that can be handled by the general case
2019-01-08 12:32:26 +01:00
gregoirenovel
f9df32d72e
Use c.to_s instead of value, to avoid confusion
2019-01-08 12:32:26 +01:00
gregoirenovel
f5a31be36a
Remove the now useless #formatted_value method
2019-01-08 12:32:26 +01:00
gregoirenovel
9a2341c56c
Remove the useless #for_display proxy method
2019-01-08 12:32:26 +01:00
gregoirenovel
2e6c91e9b0
Move #selected_options to the only relevant model
2019-01-08 12:32:26 +01:00
gregoirenovel
c4b9a0b79e
Rename DropDownList#selected_options_without_decorator
2019-01-08 12:32:26 +01:00
Pierre de La Morinerie
be1567ecbd
messages: improve wording of the "Send" button
2019-01-07 16:20:23 +01:00
Pierre de La Morinerie
46b4d3c46b
messages: fix Send button being clipped on mobile screens
2019-01-07 16:20:23 +01:00
gregoirenovel
b41764ec03
Remove ChampDecorator
2019-01-03 12:08:25 +01:00
Paul Chavard
5d1c24f3d8
Add type de champ repetition models (with row)
2018-12-19 15:31:11 +01:00
Mathieu Magnin
5ab0853f1c
Harmonize user champ pj purge route to gestionnaire
2018-12-14 11:38:59 +01:00
Mathieu Magnin
edf3eefa87
Fix Sentry 114, Instructeur can delete pj in private champs
2018-12-13 17:27:05 +01:00
simon lehericey
db6c86b242
DossierController: user can destroy pjs
2018-12-06 10:45:10 +01:00
Paul Chavard
a08f170dbd
Assign users and gestionnaires to commentaires
...
fix #2052
2018-12-05 13:40:57 +01:00