Commit Graph

30 Commits

Author SHA1 Message Date
Thomas Rubini
11791c19df
only show edit/delete buttons if the user can use them 2023-01-26 21:21:56 +01:00
Thomas Rubini
04d3fdb206
use Anon user in Recipe 2023-01-26 19:57:55 +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
8359a8b19d
replace I_QUANTITY with S_QUANTITY 2023-01-26 16:38:22 +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
8418df91e3 removed :has() css attributes to use classes (because f firefox) 2023-01-26 13:31:27 +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
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
899e6e0559
pass the whole structure from recipe view to all apprs view 2023-01-24 18:39:15 +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
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
Capelier-Marla
681ec995d1 fixed view, display time, diffuculty and author + edited first image 2023-01-17 10:37:07 +01:00
Thomas Rubini
7c20f6729a
add IMAGE_URL key for recipe 2023-01-17 09:53:53 +01:00
Thomas Rubini
0eecd88c31
display the recipe data provided by the backend 2023-01-17 00:22:59 +01:00
Capelier-Marla
8c3a6439ff
display recipe from array (for in defined in beggining of php code) 2023-01-16 23:21:38 +01:00
Thomas Rubini
3da99a3ac7
Change all models to use the SQL database 2023-01-16 20:53:32 +01:00
Thomas Rubini
87e8f9247e
move recipe data creation to RecipeModel and use real SQL database 2023-01-16 20:29:18 +01:00
Thomas Rubini
95ad2e1d6a
Example implementation of a controller 2023-01-12 17:15:19 +01:00