diff --git a/src/api/gql/concernement.fragment.gql b/src/api/gql/concernement.fragment.gql index 1923e46..8799c47 100644 --- a/src/api/gql/concernement.fragment.gql +++ b/src/api/gql/concernement.fragment.gql @@ -75,6 +75,7 @@ fragment ConcernementFields on Concernement { index confidentialite reponses { + confidentialite can_update author avec diff --git a/src/assets/main.scss b/src/assets/main.scss index 9185705..78d3bd1 100644 --- a/src/assets/main.scss +++ b/src/assets/main.scss @@ -538,7 +538,10 @@ div.loading{ max-height: 1px; transition: all 0.7s ease-in-out; li.reponse{ - padding:0.5em 0 0; + padding:0 0 1em; + margin:0 0 1em; + // border-bottom: #aaa 1px solid; + background: linear-gradient(#aaa 0 0) bottom/ 60% 1px no-repeat; &:last-of-type{ padding: 0.5em 0 1em; } @@ -561,20 +564,24 @@ div.loading{ p{margin:0;} } + section.editable{ + margin: 0 0 0.5em; + } } } - a.contribute-link{ - display: flex; - flex-direction: row; - justify-content: flex-end; - align-items:flex-end; - font-weight: 100; - font-size: 0.882em; - margin-top: 0.5em; - svg{ - width:1em; height:1em; margin-right: 0.5em; - } - } + // a.contribute-link{ + // display: flex; + // flex-direction: row; + // justify-content: flex-end; + // align-items:flex-end; + // font-weight: 100; + // font-size: 0.882em; + // margin-top: 0.5em; + // svg{ + // width:1em; height:1em; margin-right: 0.5em; + // } + // } + &.opened{ ul.reponses{ max-height: 1000px; @@ -582,8 +589,8 @@ div.loading{ } padding-bottom: 0.5em; - border-bottom: #aaa 1px solid; margin-bottom: 1em; + border-bottom: #aaa 1px solid; } } diff --git a/src/components/contents/PuissanceAgir.vue b/src/components/contents/PuissanceAgir.vue index 1d550f2..2691b6b 100644 --- a/src/components/contents/PuissanceAgir.vue +++ b/src/components/contents/PuissanceAgir.vue @@ -336,6 +336,24 @@ export default { :path="hover_elmt && hover_elmt.type === 'reponse' && hover_elmt.id === reponse.id ? rhombus_path : rhombusoutline_path" /> Ressource + + +
diff --git a/src/stores/concernements.js b/src/stores/concernements.js index e2118f1..ae1cb87 100644 --- a/src/stores/concernements.js +++ b/src/stores/concernements.js @@ -436,6 +436,7 @@ export const ConcernementsStore = defineStore({ qui quoi can_update + confidentialite } } }