diff --git a/src/components/ObjectiveDetailsCard.vue b/src/components/ObjectiveDetailsCard.vue new file mode 100644 index 000000000..3ca5e8ac0 --- /dev/null +++ b/src/components/ObjectiveDetailsCard.vue @@ -0,0 +1,212 @@ + + + + + diff --git a/src/components/panes/ObjectivePane.vue b/src/components/panes/ObjectivePane.vue index 685aa38a7..d21814947 100644 --- a/src/components/panes/ObjectivePane.vue +++ b/src/components/panes/ObjectivePane.vue @@ -15,69 +15,11 @@ {{ $t('general.objective') }} -
-
-

{{ activeObjective.name }}

- - -
- - - -
-
-

{{ $t('objective.owner') }}

- {{ activeObjective.parent.name }} -
- -
-

{{ $t('objective.contributors') }}

-
    -
  • - {{ c.name }} - -
  • -
-
-
- -
-
{{ $t('objective.period') }}
-
{{ periodDates(period) }}
-
- -
-

- {{ $t('objective.progressionTitle') }} -

- -
-
+
@@ -150,24 +92,19 @@ @@ -304,59 +188,6 @@ export default { } } - &__details { - display: flex; - flex-direction: column; - gap: 1rem; - padding: 1.5rem; - background-color: var(--color-white); - border-left: 0.125rem solid var(--color-blue); - } - - &__header { - display: flex; - justify-content: space-between; - text-wrap: balance; - - .pkt-btn { - margin: -0.5rem -0.5rem 0 0; - } - } - - &__members { - display: flex; - justify-content: space-between; - margin-top: 1rem; - - & h4 { - margin-bottom: 0.25rem; - } - } - - &__contributors { - margin-right: calc(2.5rem + 2px); - } - - &__contributor { - display: flex; - flex-direction: row; - gap: 0.5rem; - align-items: center; - justify-content: space-between; - margin-top: 0.25rem; - } - - &__contributor-tag { - display: block; - width: 1.5rem; - height: 1.5rem; - border-radius: 50%; - } - - &__progression { - margin-top: 1rem; - } - &__key-results { margin-top: 3rem; diff --git a/src/locale/locales/nb-NO.json b/src/locale/locales/nb-NO.json index 06894c81a..9ea23c488 100644 --- a/src/locale/locales/nb-NO.json +++ b/src/locale/locales/nb-NO.json @@ -392,7 +392,7 @@ "objective": { "period": "Arbeidsperiode", "progressionTitle": "Prosentvis fremdrift for målet:", - "owner": "Eier", + "owner": "Ansvarlig", "contributors": "Bidragsytere", "weight": "Vekt", "change": "Endre mål",