Skip to content
Snippets Groups Projects
Commit 516d722e authored by Timothee P's avatar Timothee P :sunflower:
Browse files

keep field labels placement on mobile when offline

parent 47c70826
No related branches found
No related tags found
No related merge requests found
...@@ -147,6 +147,7 @@ ...@@ -147,6 +147,7 @@
> >
<td <td
v-if="isOnline" v-if="isOnline"
id="select"
class="dt-center" class="dt-center"
> >
<div <div
...@@ -165,7 +166,10 @@ ...@@ -165,7 +166,10 @@
</div> </div>
</td> </td>
<td class="dt-center"> <td
id="status"
class="dt-center"
>
<div <div
v-if="feature.status === 'archived'" v-if="feature.status === 'archived'"
data-tooltip="Archivé" data-tooltip="Archivé"
...@@ -203,7 +207,10 @@ ...@@ -203,7 +207,10 @@
/> />
</div> </div>
</td> </td>
<td class="dt-center"> <td
id="type"
class="dt-center"
>
<router-link <router-link
:to="{ :to="{
name: 'details-type-signalement', name: 'details-type-signalement',
...@@ -216,7 +223,10 @@ ...@@ -216,7 +223,10 @@
{{ feature.feature_type.title }} {{ feature.feature_type.title }}
</router-link> </router-link>
</td> </td>
<td class="dt-center"> <td
id="name"
class="dt-center"
>
<router-link <router-link
:to="{ :to="{
name: 'details-signalement-filtre', name: 'details-signalement-filtre',
...@@ -230,17 +240,22 @@ ...@@ -230,17 +240,22 @@
{{ feature.title || feature.feature_id }} {{ feature.title || feature.feature_id }}
</router-link> </router-link>
</td> </td>
<td class="dt-center"> <td
id="update"
class="dt-center"
>
{{ feature.updated_on | formatDate }} {{ feature.updated_on | formatDate }}
</td> </td>
<td <td
v-if="user" v-if="user"
id="author"
class="dt-center" class="dt-center"
> >
{{ feature.display_creator || ' ---- ' }} {{ feature.display_creator || ' ---- ' }}
</td> </td>
<td <td
v-if="user" v-if="user"
id="last_editor"
class="dt-center" class="dt-center"
> >
{{ feature.display_last_editor || ' ---- ' }} {{ feature.display_last_editor || ' ---- ' }}
...@@ -706,25 +721,25 @@ and also iPads specifically. ...@@ -706,25 +721,25 @@ and also iPads specifically.
/* /*
Label the data Label the data
*/ */
td:nth-of-type(1):before { td#select:before {
content: ""; content: "";
} }
td:nth-of-type(2):before { td#status:before {
content: "Statut"; content: "Statut";
} }
td:nth-of-type(3):before { td#type:before {
content: "Type"; content: "Type";
} }
td:nth-of-type(4):before { td#name:before {
content: "Nom"; content: "Nom";
} }
td:nth-of-type(5):before { td#update:before {
content: "Dernière modification"; content: "Dernière modification";
} }
td:nth-of-type(6):before { td#author:before {
content: "Auteur"; content: "Auteur";
} }
td:nth-of-type(7):before { td#last_editor:before {
content: "Dernier éditeur"; content: "Dernier éditeur";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment