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

add missing code after merge

parent f01dc2e8
Branches
Tags
2 merge requests!424version 3.1.0,!330REDMINE_ISSUE-12870
......@@ -69,6 +69,38 @@
class="ui very basic table"
>
<tbody>
<tr v-if="feature_type">
<td>
<b> Type de signalement </b>
</td>
<td>
<router-link
:to="{
name: 'details-type-signalement',
params: { feature_type_slug: feature_type.slug },
}"
class="feature-type-title"
>
<img
v-if="feature_type.geom_type === 'point'"
class="list-image-type"
src="@/assets/img/marker.png"
>
<img
v-if="feature_type.geom_type === 'linestring'"
class="list-image-type"
src="@/assets/img/line.png"
>
<img
v-if="feature_type.geom_type === 'polygon'"
class="list-image-type"
src="@/assets/img/polygon.png"
>
{{ feature_type.title }}
</router-link>
</td>
</tr>
<div
v-for="(field, index) in feature.feature_data"
:key="'field' + index"
......@@ -455,6 +487,9 @@ export default {
...mapGetters([
'permissions',
]),
...mapGetters('feature_type', [
'feature_type',
]),
...mapState('feature', {
linked_features: 'linked_features',
statusChoices: 'statusChoices',
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment