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
Paul Chavard
c6ef30f3e1
Remove unused carto from instructeur interface
2018-11-27 16:11:25 +01:00
Paul Chavard
2462e42b53
Stop using legacy api carto after migration
2018-11-20 10:53:14 +01:00
Paul Chavard
074050a91a
Add IntegerNumberChamp
2018-11-06 11:28:44 +01:00
Paul Chavard
45bfb2fd47
Add DecimalNumberChamp
2018-11-06 11:28:44 +01:00
Frederic Merizen
06a667f353
[ Fix #2815 ] Ne pas parler de plusieur PJs quand il n'y en a qu'une
2018-10-30 11:19:17 +01:00
simon lehericey
3dad743d56
remove localtime as it uses server timezone
2018-10-26 10:10:20 +00:00
simon lehericey
f620e4aee2
DateTime.parse => Time.zone.parse
2018-10-26 10:10:20 +00:00
simon lehericey
13ffa61435
DateTime.now => Time.zone.now
2018-10-26 10:10:20 +00:00
Paul Chavard
c0344fc30e
Fix procedures with multiple dossier link champs
2018-10-24 10:44:28 +02:00
Paul Chavard
b40abaa133
Display carte champ value
2018-10-23 09:35:25 +02:00
Paul Chavard
4a097900d2
Implement carte champ editor
2018-10-23 09:35:25 +02:00
Paul Chavard
f28cfdc779
Rename shared folder carto to carte
2018-10-23 09:35:25 +02:00
gregoirenovel
3a973999a3
[Ref #2738 ] Hide exercices if not gestionnaire
2018-10-17 15:07:29 +02:00
gregoirenovel
da4037b2fd
Add a blank line
2018-10-17 12:24:00 +02:00
Paul Chavard
c63675461a
Add new carto init code
2018-10-14 12:34:43 +02:00
Paul Chavard
5a2a18d8f1
Remove previous carto init code
2018-10-14 12:34:43 +02:00
Pierre de La Morinerie
cd938b4c36
dropdown: refactor to make the button an actual button
2018-09-27 17:43:08 +02:00
Pierre de La Morinerie
0995c8e5ad
dossier: extract the invitation dropdown to a partial
2018-09-24 16:29:36 +02:00
gregoirenovel
09196d12c3
Open the notice in a new tab
2018-09-21 15:57:04 +02:00
gregoirenovel
2585485370
Move the dossier-edit class directly to the _edit.html.haml template
...
So that when the partial included in
modifier.html.haml can also benefit from its
styling rules
2018-09-21 10:35:20 +02:00
Paul Chavard
539f15af92
Fix new lines in confirm dialogs
2018-09-19 14:45:10 +02:00
Paul Chavard
55a9b31b93
Cleanup SIRET champ
2018-09-12 15:53:02 +02:00
gregoirenovel
f9230b85b2
Change CommentaireHelper#commentaire_is_from_me_class’s signature
2018-09-12 10:09:16 +02:00
gregoirenovel
c1bec7cf0b
Pass the connected_user object instead of its email
2018-09-11 18:17:40 +02:00
gregoirenovel
94e5f856d3
Extract some CSS in a .message class
2018-09-08 10:12:28 +02:00
Paul Chavard
c49db4b5a4
Add a champs/dossier_link endpoint and use it to fetch dossier info
2018-09-07 19:41:33 +01:00
Paul Chavard
5dadaa1a8d
Show brouillon tag on procedure names in user and instructeur lists
2018-09-07 11:21:50 +01:00
Pierre de La Morinerie
1da0321c26
messagerie: never display full sender email
...
See #2307
2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
353ab812fc
messagerie: fix 'Invité' label in message sender
2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
211674435e
messagerie: better format message dates
2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
a6aac28b66
messagerie: move "Send" button to the right
2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
6cd88db853
messagerie: make "Send" button primary
2018-09-07 12:02:26 +02:00
gregoirenovel
9c6a66ae75
Change the route for DossierController#modifier
...
If we submit the form, and there’s an error, the
URL would be `/dossiers/:id`, therefore
`dossier_path(dossier)`, so the Résumé tab would
be active, not the messagerie tab. This change
prevents this behaviour.
2018-09-07 11:30:00 +02:00
gregoirenovel
1341074325
Add DossierController#update
2018-09-07 10:19:10 +02:00
gregoirenovel
338ffb8b50
DossierController#update → #update_brouillon
2018-09-07 10:19:10 +02:00
gregoirenovel
be3b9382e5
Rename status partial to status_badge
2018-09-05 14:10:13 +02:00
Pierre de La Morinerie
63472f00e6
messagerie: generalize the current user email
2018-09-05 13:56:12 +02:00
Pierre de La Morinerie
4e2a5f0b9b
messagerie: move templates to a shared location
2018-09-05 13:56:12 +02:00
gregoirenovel
b9a32633bb
Rename a file with a more explicit filename
2018-09-05 10:09:59 +02:00
gregoirenovel
81e94ca631
Improve _status.html.haml
2018-09-05 10:09:59 +02:00
gregoirenovel
66af573ca4
Add a warning in the attachements part of the form
2018-08-31 00:10:16 +02:00
Frederic Merizen
37c45f0d29
[ #2486 ] Always order champs
...
to help activerecord cache the champs collection
2018-08-30 14:13:32 +02:00
gregoirenovel
2d3b553e4d
Use enum to the fullest with TypeDeChamp.type_champs
2018-08-29 17:31:08 +02:00
gregoirenovel
a86e3a3156
Don’t change a button’s text when disabled after click
2018-08-23 10:59:11 +02:00
Paul Chavard
e1f1827320
Replace typeahead with simpler autocomplete
2018-08-22 17:17:33 +02:00
Pierre de La Morinerie
86539413ee
gestionnaire: move dossier partials to a shared location
2018-08-14 15:06:44 +02:00
Pierre de La Morinerie
1b7950058d
dossier: add details résumé
2018-08-13 11:32:27 +02:00
Pierre de La Morinerie
1c02eca1be
dossier: disable buttons without changing the label
2018-08-08 16:06:12 +02:00
Paul Chavard
8b79c32a55
Do not rely on javascript for form submits without direct upload
2018-08-07 16:58:49 +02:00
Pierre de La Morinerie
c8409ecb89
dossier: remove route hack for show
2018-08-07 12:15:38 +02:00
Pierre de La Morinerie
1cac0b80af
invite: add button for invite someone to collaborate on a draft
2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
0fa18c70bf
form: extract the form header to its own partial
2018-08-01 17:41:11 +02:00
Pierre de La Morinerie
a399cef144
siret: make etablissement styled and visible
2018-07-30 17:49:00 +02:00
Pierre de La Morinerie
0f1811dd4e
dossier: add an button to delete a brouillon
2018-07-24 18:31:10 +02:00
gregoirenovel
ab2181ea13
[ Fix #2280 ] Correct a typo
2018-07-20 10:23:34 +02:00
Paul Chavard
04821a6875
Disable Champ SIRET autocomplete for previews
2018-07-17 16:50:55 +02:00
Pierre de La Morinerie
0282994990
form: move the procedure notice link to a button
2018-07-11 17:13:18 +02:00
Pierre de La Morinerie
e5de401107
form: make the sample asterisk also red
2018-07-09 18:34:33 +02:00
gregoirenovel
bae4cd4f59
Fix a typo
2018-07-04 17:42:20 +02:00
Pierre de La Morinerie
f781399309
form: validate forms only when submitting dossier, not on draft saves
2018-07-02 12:30:27 +02:00
Mathieu Magnin
e694e7f9b9
[ Fix #2145 ] When procedure is archived, usager should see a message explaining dossier submission is closed
2018-07-02 11:10:34 +02:00
Pierre de La Morinerie
0cebf60c46
[ #1421 ] replace master/slave by primary/secondary
2018-06-27 17:02:46 +02:00
Frederic Merizen
dad3bc092b
[ #1421 ] linked dropdwon user view
2018-06-27 17:02:46 +02:00
Frederic Merizen
2f206af0d6
[ #1421 ] Make label clickable for drop-down lists
2018-06-27 17:02:46 +02:00
Frederic Merizen
e99931527b
[ #1421 ] Move pays to PaysChamp
2018-06-19 15:20:01 +02:00
Frederic Merizen
0239f936d7
[ #1421 ] Move departements to DepartementChamp
2018-06-19 15:20:01 +02:00
Frederic Merizen
5b59bce0b6
[ #1421 ] Move regions to RegionChamp
2018-06-19 15:20:01 +02:00
Pierre de La Morinerie
426e61777c
dossier: make the "Save changes" button title more meaningful
2018-06-19 13:46:43 +02:00
Pierre de La Morinerie
a4382ac198
dossiers: asterisque
-> astérisque
2018-06-19 13:46:43 +02:00
Pierre de La Morinerie
3ba5d654ba
editable_champs: move the label near the checkbox
2018-06-18 18:12:11 +02:00
Mathieu Magnin
6289a719ef
Display virus scan status with pj champs
2018-06-12 15:12:39 +02:00
gregoirenovel
4e9565a5df
Adds User#owns?
2018-05-31 14:39:43 +02:00
gregoirenovel
dc045bdefb
[ Fix #1808 ] Use &. where possible
2018-05-31 11:49:25 +02:00
Mathieu Magnin
cf36d7f1ed
[ Fix #1801 ] use the new string_to_html method
2018-05-24 18:05:41 +02:00
Paul Chavard
d99eed122d
Use new models in controllers and views
2018-05-24 17:54:51 +02:00
Mathieu Magnin
748300fcf7
[ Fix #1896 ] fix typo
2018-05-11 13:52:06 +02:00
simon lehericey
366ef2d2b5
Procedure: add new preview view
2018-04-24 16:54:05 +02:00
simon lehericey
1da69a7730
Dossier: extract edition view to shared template
2018-04-24 16:50:32 +02:00
Paul Chavard
c3915234c4
Champ SIRET Spinner
2018-04-17 13:49:02 +02:00