Browse Source

modification of text content

AlexiCauvin 6 years ago
parent
commit
e985ad17b4
2 changed files with 9 additions and 8 deletions
  1. 8 7
      jsonserver/static_db.json
  2. 1 1
      src/component/Sidebar/WorkspaceListItem.jsx

+ 8 - 7
jsonserver/static_db.json View File

@@ -100,7 +100,7 @@
100 100
   }],
101 101
   "workspace_detail": {
102 102
     "id": 1,
103
-    "title": "Mission interne - développement",
103
+    "title": "Liste des contenus",
104 104
     "owner_id": 5,
105 105
     "content": [
106 106
       {
@@ -125,7 +125,7 @@
125 125
         "workspace_id": 1,
126 126
         "title": "Une photo",
127 127
         "type": "File",
128
-        "status": "current"
128
+        "status": "outdated"
129 129
       },
130 130
       {
131 131
         "id": 10,
@@ -133,7 +133,7 @@
133 133
         "workspace_id": 1,
134 134
         "title": "README.md de tracim_lib",
135 135
         "type": "PageMarkdown",
136
-        "status": "current"
136
+        "status": "validated"
137 137
       },
138 138
       {
139 139
         "id": 7,
@@ -141,7 +141,7 @@
141 141
         "workspace_id": 1,
142 142
         "title": "Etape d'installation de Tracim",
143 143
         "type": "Task",
144
-        "status": "current"
144
+        "status": "canceled"
145 145
       },
146 146
       {
147 147
         "id": 8,
@@ -264,11 +264,12 @@
264 264
     "type": "pageHtml",
265 265
     "title": "La programmation fonctionnelle",
266 266
     "status": "validated",
267
-    "version": "3",
268
-    "text": "<h1>Mon titre nul</h1>Je suis le contenu de cette fameuse <b>page HTML</b><br /> sur la programmation fonctionnelle",
267
+    "icon": "fa fa-fw fa-code-fork",
268
+    "version": "version n°5",
269
+    "text": "Je suis le contenu de cette fameuse <b>page HTML</b><br /> sur la programmation fonctionnelle",
269 270
     "workspace": {
270 271
       "id": 1,
271
-      "title": "Mission interne - développement",
272
+      "title": "Liste des contenus",
272 273
       "owner_id": 5
273 274
     }
274 275
   },

+ 1 - 1
src/component/Sidebar/WorkspaceListItem.jsx View File

@@ -42,7 +42,7 @@ const WorkspaceListItem = props => {
42 42
             <div className='sidebar__navigation__workspace__item__submenu__dropdown__showdropdown'>
43 43
               <div className='dropdown__title'>
44 44
                 <div className='dropdown__title__text'>
45
-                  Tous les fichiers
45
+                  Tous les contenus
46 46
                 </div>
47 47
               </div>
48 48
             </div>