mirror of
https://github.com/penpot/penpot.git
synced 2026-05-30 04:08:08 +00:00
🐛 Fix separate penpot from organizations (#9853)
This commit is contained in:
parent
b9e13c12f2
commit
40b1757c6e
@ -350,6 +350,8 @@
|
||||
(when (= default-team-id (:default-team-id organization))
|
||||
tick-icon)]
|
||||
[:hr {:role "separator" :class (stl/css :team-separator)}]
|
||||
[:li {:role "presentation" :class (stl/css :org-section-label)}
|
||||
(tr "dashboard.section.organizations")]
|
||||
|
||||
(for [org-item organizations]
|
||||
[:> dropdown-menu-item* {:on-click on-org-click
|
||||
@ -753,10 +755,10 @@
|
||||
[:div {:class (stl/css :team-name)}
|
||||
(if default-org?
|
||||
[:*
|
||||
[:span {:class (stl/css :org-penpot-icon)}
|
||||
[:> raw-svg* {:id penpot-logo-icon}]]
|
||||
[:span {:class (stl/css :my-teams-icon-xxxl)}
|
||||
[:> raw-svg* {:id penpot-logo-icon-subtle}]]
|
||||
[:span {:class (stl/css :team-text)}
|
||||
"Penpot"]]
|
||||
(tr "dashboard.my-teams")]]
|
||||
[:*
|
||||
[:> org-avatar* {:org current-org :size "xxxl"}]
|
||||
[:span {:class (stl/css :team-text)}
|
||||
|
||||
@ -229,6 +229,15 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.org-section-label {
|
||||
@include t.use-typography("headline-small");
|
||||
|
||||
color: var(--color-foreground-secondary);
|
||||
list-style: none;
|
||||
padding: var(--sp-m) $sz-6 $sz-6;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.tick-icon {
|
||||
@extend %button-icon-small;
|
||||
|
||||
@ -656,6 +665,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
.my-teams-icon-xxxl {
|
||||
height: var(--sp-xxxl);
|
||||
width: var(--sp-xxxl);
|
||||
|
||||
svg {
|
||||
fill: var(--icon-stroke-color);
|
||||
width: var(--sp-xxxl);
|
||||
height: var(--sp-xxxl);
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-org-switch {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
@ -383,6 +383,9 @@ msgstr "Create org"
|
||||
msgid "dashboard.my-teams"
|
||||
msgstr "My teams"
|
||||
|
||||
msgid "dashboard.section.organizations"
|
||||
msgstr "Organizations"
|
||||
|
||||
msgid "dashboard.go-to-admin-console"
|
||||
msgstr "Go to Admin Console"
|
||||
|
||||
|
||||
@ -392,6 +392,9 @@ msgstr "Crear org"
|
||||
msgid "dashboard.my-teams"
|
||||
msgstr "Mis equipos"
|
||||
|
||||
msgid "dashboard.section.organizations"
|
||||
msgstr "Organizaciones"
|
||||
|
||||
msgid "dashboard.go-to-admin-console"
|
||||
msgstr "Ir a la Admin Console"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user