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
   }],
100
   }],
101
   "workspace_detail": {
101
   "workspace_detail": {
102
     "id": 1,
102
     "id": 1,
103
-    "title": "Mission interne - développement",
103
+    "title": "Liste des contenus",
104
     "owner_id": 5,
104
     "owner_id": 5,
105
     "content": [
105
     "content": [
106
       {
106
       {
125
         "workspace_id": 1,
125
         "workspace_id": 1,
126
         "title": "Une photo",
126
         "title": "Une photo",
127
         "type": "File",
127
         "type": "File",
128
-        "status": "current"
128
+        "status": "outdated"
129
       },
129
       },
130
       {
130
       {
131
         "id": 10,
131
         "id": 10,
133
         "workspace_id": 1,
133
         "workspace_id": 1,
134
         "title": "README.md de tracim_lib",
134
         "title": "README.md de tracim_lib",
135
         "type": "PageMarkdown",
135
         "type": "PageMarkdown",
136
-        "status": "current"
136
+        "status": "validated"
137
       },
137
       },
138
       {
138
       {
139
         "id": 7,
139
         "id": 7,
141
         "workspace_id": 1,
141
         "workspace_id": 1,
142
         "title": "Etape d'installation de Tracim",
142
         "title": "Etape d'installation de Tracim",
143
         "type": "Task",
143
         "type": "Task",
144
-        "status": "current"
144
+        "status": "canceled"
145
       },
145
       },
146
       {
146
       {
147
         "id": 8,
147
         "id": 8,
264
     "type": "pageHtml",
264
     "type": "pageHtml",
265
     "title": "La programmation fonctionnelle",
265
     "title": "La programmation fonctionnelle",
266
     "status": "validated",
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
     "workspace": {
270
     "workspace": {
270
       "id": 1,
271
       "id": 1,
271
-      "title": "Mission interne - développement",
272
+      "title": "Liste des contenus",
272
       "owner_id": 5
273
       "owner_id": 5
273
     }
274
     }
274
   },
275
   },

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

42
             <div className='sidebar__navigation__workspace__item__submenu__dropdown__showdropdown'>
42
             <div className='sidebar__navigation__workspace__item__submenu__dropdown__showdropdown'>
43
               <div className='dropdown__title'>
43
               <div className='dropdown__title'>
44
                 <div className='dropdown__title__text'>
44
                 <div className='dropdown__title__text'>
45
-                  Tous les fichiers
45
+                  Tous les contenus
46
                 </div>
46
                 </div>
47
               </div>
47
               </div>
48
             </div>
48
             </div>