fix: autologin & i18n for circles
This commit is contained in:
parent
e28af8a048
commit
5d56a5ed6b
@ -46,7 +46,16 @@ html(lang="en")
|
|||||||
|
|
||||||
if componentSet.has("autoLogin") || componentSet.has("registering")
|
if componentSet.has("autoLogin") || componentSet.has("registering")
|
||||||
for component of components
|
for component of components
|
||||||
if component.type == "autoLogin" || component.type == "registering"
|
if component.type == "autoLogin"
|
||||||
|
if component.parameters
|
||||||
|
if component.parameters.authority
|
||||||
|
sib-auth(style='display:none!important' auto-login)
|
||||||
|
sib-auth-provider(
|
||||||
|
data-authority=`${component.parameters.authority}`
|
||||||
|
data-id=`${component.parameters.authorityName || "authority"}`
|
||||||
|
data-client-name=`${client.name || "My Personal Hubl"}`
|
||||||
|
)
|
||||||
|
if component.type == "registering"
|
||||||
if component.parameters
|
if component.parameters
|
||||||
if component.parameters.authority
|
if component.parameters.authority
|
||||||
sib-auth(style='display:none!important')
|
sib-auth(style='display:none!important')
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
"profileDirectory": "Annuaire des membres",
|
"profileDirectory": "Annuaire des membres",
|
||||||
"projects": "Projets",
|
"projects": "Projets",
|
||||||
"circles": "Cercles",
|
"circles": "Cercles",
|
||||||
|
"thematics": "Thématiques",
|
||||||
"messages": "Messages",
|
"messages": "Messages",
|
||||||
"search": "Rechercher..."
|
"search": "Rechercher..."
|
||||||
},
|
},
|
||||||
|
@ -2,8 +2,8 @@ solid-event(
|
|||||||
class='w700'
|
class='w700'
|
||||||
bind-resources
|
bind-resources
|
||||||
nested-field="events"
|
nested-field="events"
|
||||||
range-event-type=`${component.get('events').endpoints.typeevents}`
|
range-event-type=`${extension.get('events').endpoints.typeevents}`
|
||||||
range-event-circle=`${component.endpoints.get}`
|
range-event-circle=`${component.endpoints.get}`
|
||||||
upload-dir=`${component.get('events').endpoints.uploads}`
|
upload-dir=`${extension.get('events').endpoints.uploads}`
|
||||||
id-prefix='circles'
|
id-prefix=`${component.route}`
|
||||||
)
|
)
|
@ -15,7 +15,7 @@ solid-router#navbar-router(default-route='dashboard')
|
|||||||
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=`admin-${component.route}`)
|
solid-route.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name=`admin-${component.route}`)
|
||||||
div.segment.margin-right-xxsmall
|
div.segment.margin-right-xxsmall
|
||||||
div.segment.icon.icon-small.icon-folder-alt
|
div.segment.icon.icon-small.icon-folder-alt
|
||||||
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.circles")
|
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.circles"}`)
|
||||||
div.menu-chevron.segment
|
div.menu-chevron.segment
|
||||||
div.menu-icon.icon-arrow-right-circle
|
div.menu-icon.icon-arrow-right-circle
|
||||||
solid-route(name=`admin-${component.route}-create`)
|
solid-route(name=`admin-${component.route}-create`)
|
||||||
@ -23,7 +23,7 @@ solid-router#navbar-router(default-route='dashboard')
|
|||||||
div.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading
|
div.menu.segment.full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading
|
||||||
div.segment.margin-right-xxsmall
|
div.segment.margin-right-xxsmall
|
||||||
div.segment.icon.icon-small.icon-folder-alt
|
div.segment.icon.icon-small.icon-folder-alt
|
||||||
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.circles")
|
div.segment.three-quarter.text-uppercase.text-letter-spacing-large(data-trans=`${component.name?component.name:"menuLeft.circles"}`)
|
||||||
solid-route(name=component.route, rdf-type='hd:circle', use-id='', hidden)
|
solid-route(name=component.route, rdf-type='hd:circle', use-id='', hidden)
|
||||||
solid-route(name=`${component.route}-left`)
|
solid-route(name=`${component.route}-left`)
|
||||||
div.sub-menu.menu-notification
|
div.sub-menu.menu-notification
|
||||||
|
Loading…
x
Reference in New Issue
Block a user