fix: autologin & i18n for circles

This commit is contained in:
Jean-Baptiste Pasquier 2021-02-23 11:43:01 +01:00
parent e28af8a048
commit 5d56a5ed6b
4 changed files with 16 additions and 6 deletions

View File

@ -46,7 +46,16 @@ html(lang="en")
if componentSet.has("autoLogin") || componentSet.has("registering")
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.authority
sib-auth(style='display:none!important')

View File

@ -28,6 +28,7 @@
"profileDirectory": "Annuaire des membres",
"projects": "Projets",
"circles": "Cercles",
"thematics": "Thématiques",
"messages": "Messages",
"search": "Rechercher..."
},

View File

@ -2,8 +2,8 @@ solid-event(
class='w700'
bind-resources
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}`
upload-dir=`${component.get('events').endpoints.uploads}`
id-prefix='circles'
upload-dir=`${extension.get('events').endpoints.uploads}`
id-prefix=`${component.route}`
)

View File

@ -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}`)
div.segment.margin-right-xxsmall
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-icon.icon-arrow-right-circle
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.segment.margin-right-xxsmall
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}-left`)
div.sub-menu.menu-notification