Commit Graph

59 Commits

Author SHA1 Message Date
Thomas Rubini
96c77453e2
Merge pull request #152 from ThomasRubini/inter_user_null 2023-01-26 21:29:04 +01:00
Thomas Rubini
4fdb49454f
fix typo 2023-01-26 21:28:57 +01:00
Thomas Rubini
9014ca45f3
handle case where user is null in interactions 2023-01-26 21:27:55 +01:00
Marla
13c2377955
Merge pull request #151 from ThomasRubini/back_button_edit_recipe
added style for return button in edit recipe page
2023-01-26 21:23:31 +01:00
Capelier-Marla
3de832fb03 added style for return button in edit recipe page 2023-01-26 21:22:56 +01:00
Thomas Rubini
5e80f58f40
Merge pull request #149 from ThomasRubini/recipe_buttons 2023-01-26 21:22:11 +01:00
Thomas Rubini
11791c19df
only show edit/delete buttons if the user can use them 2023-01-26 21:21:56 +01:00
Thomas Rubini
ec6610a5ba
show recipe time in minutes 2023-01-26 21:17:31 +01:00
Thomas Rubini
44f8c0e499
add ability to update recipe image 2023-01-26 20:53:32 +01:00
Thomas Rubini
04d3fdb206
use Anon user in Recipe 2023-01-26 19:57:55 +01:00
Thomas Rubini
7e63369481
Merge pull request #136 from ThomasRubini/recipe_ingredients 2023-01-26 19:21:03 +01:00
Thomas Rubini
b195da0e46
fix typo 2023-01-26 19:08:01 +01:00
Thomas Rubini
d3b5345f79
fix keys sent to backend 2023-01-26 18:52:43 +01:00
Capelier-Marla
cb4476f992 added recipeView class to main in view of recipes 2023-01-26 17:47:12 +01:00
Thomas Rubini
272b4fae86
use getSteps() in frontend 2023-01-26 17:36:35 +01:00
Thomas Rubini
7006ee6896
explode at \n\n instead of \n 2023-01-26 17:36:33 +01:00
Thomas Rubini
0d74f4db90
fix ingredient in recipe/edit 2023-01-26 17:08:20 +01:00
Capelier-Marla
490de05036 styling buttons and part alim section 2023-01-26 16:46:36 +01:00
Capelier-Marla
e407e71eef form and recipe name style 2023-01-26 16:46:36 +01:00
Thomas Rubini
8359a8b19d
replace I_QUANTITY with S_QUANTITY 2023-01-26 16:38:22 +01:00
Thomas Rubini
da190e22bc
add 'Retour' button to recipe/edit 2023-01-26 16:34:52 +01:00
Thomas Rubini
ddc2c72d58
use function to get difficulty 2023-01-26 16:25:42 +01:00
Thomas Rubini
85a7ba34f3
add buttons ot edit and delete in recipe view 2023-01-26 16:19:00 +01:00
Thomas Rubini
f6a6ebb40f
fix missing quote 2023-01-26 16:12:02 +01:00
Capelier-Marla
a7060f46dd styled search part of search page 2023-01-26 13:34:24 +01:00
Capelier-Marla
8418df91e3 removed :has() css attributes to use classes (because f firefox) 2023-01-26 13:31:27 +01:00
Thomas Rubini
0f8a113583
fix recipe/search view call 2023-01-26 13:25:43 +01:00
Thomas Rubini
7fca2e6d78
loop over difficulties 2023-01-25 23:07:45 +01:00
Thomas Rubini
ececccc3a0
handle deleted users (null author) 2023-01-25 22:54:06 +01:00
Thomas Rubini
dc9465495a
replace DESC with DESCR 2023-01-25 22:49:58 +01:00
Thomas Rubini
8ad62d8620
make edit and new actions work 2023-01-25 22:41:22 +01:00
Thomas Rubini
3698a5c860
do not make recipe image required 2023-01-25 21:51:04 +01:00
Thomas Rubini
cba3f90657
add recipe/create action 2023-01-25 21:49:22 +01:00
Thomas Rubini
7baf1bdcf3
rename some methods 2023-01-25 16:46:59 +01:00
Thomas Rubini
63f8b9468a
start to adapt views to new Recipe Model 2023-01-25 15:58:07 +01:00
Capelier-Marla
9750af7839 moved from files home/view, recipe/search, recipe/view 2023-01-25 14:53:39 +01:00
Thomas Rubini
8871d9bb21
modify structure sent to recipe/edit to include POST_URI 2023-01-24 20:11:12 +01:00
Thomas Rubini
961cd27e88
move debug echo in recipe/edit 2023-01-24 20:03:17 +01:00
Thomas Rubini
899e6e0559
pass the whole structure from recipe view to all apprs view 2023-01-24 18:39:15 +01:00
Thomas Rubini
84788b31e2
use model for recipe/edit 2023-01-23 22:50:12 +01:00
Thomas Rubini
f41e476d1f
rename appreciation view files 2023-01-23 15:33:57 +01:00
Capelier-Marla
9cf82497a6 fixed typo + changed placeholder name 2023-01-23 15:13:34 +01:00
Thomas Rubini
158e3c9ecf
replace "URL" with "LINK" 2023-01-23 14:21:17 +01:00
Thomas Rubini
ac78ec31fd
make final version of structure send to recipe view 2023-01-23 13:33:22 +01:00
Thomas Rubini
7c6a5441a7
refactor 'search_term' to 'query' 2023-01-20 18:25:32 +01:00
Thomas Rubini
38e4e16856
add search action 2023-01-20 18:08:27 +01:00
Capelier-Marla
cafd0d2f51 moved search to recipe folder and moved category_list 2023-01-20 10:47:29 +01:00
Capelier-Marla
24afac65b6 moved appreciations array to recipe view before calling appreciations view 2023-01-20 10:34:04 +01:00
AntLafI
240497a6f7 adding appreciations after recipes 2023-01-20 10:12:48 +01:00
Capelier-Marla
5d7c4628c6 move category_list to common and added it to pages where we will see it (+ fixed home view array) 2023-01-20 09:07:10 +01:00