Merge branch '55-fix-member-page-links' into 'master'

Resolve "Fix member page links"

Closes #55

See merge request startinblox/applications/sib-app!5
This commit is contained in:
Jean-Baptiste 2019-01-23 13:24:44 +00:00
commit 662e427fbb
4 changed files with 7 additions and 6 deletions

View File

@ -33,7 +33,7 @@ link(rel='stylesheet', href='https://fonts.googleapis.com/css?family=Open+Sans:3
//link(rel='import', href='/lib/sib-chat/sib-chat.html') //link(rel='import', href='/lib/sib-chat/sib-chat.html')
//- cdn //- cdn
script(type="module" src="https://unpkg.com/@startinblox/core@latest") script(type="module" src="https://unpkg.com/@startinblox/core@0.5.5")
script(type="module" src="https://unpkg.com/@startinblox/router@latest") script(type="module" src="https://unpkg.com/@startinblox/router@latest")
script(type="module" src="https://cdn.happy-dev.fr/sib-chat/sib-chat.js") script(type="module" src="https://cdn.happy-dev.fr/sib-chat/sib-chat.js")

View File

@ -2,11 +2,11 @@
sib-router#member-router(default-route='member-profile') sib-router#member-router(default-route='member-profile')
sib-route(name='member-profile') sib-route(name='member-profile')
div Profile div Profile
sib-ac-checker(permission='change' bind-resources) sib-ac-checker(permission='acl:Write' bind-resources)
sib-route(name='member-edit') sib-route(name='member-edit')
div Edit div Edit
#member-views-container #member-views-container
sib-trigger(next="members" class="back") Back to directory sib-link(next="members" class="back") Back to directory
div div
#member-profile #member-profile
include page-member-profile.pug include page-member-profile.pug

View File

@ -228,11 +228,12 @@ h4 {
} }
sib-route, sib-route,
sib-trigger { sib-trigger,
sib-link {
cursor: pointer; cursor: pointer;
} }
sib-trigger.back { sib-link.back {
display: block; display: block;
@include icon('arrow-left'); @include icon('arrow-left');
@extend h1; @extend h1;

@ -1 +1 @@
Subproject commit 340e44f2ca88f2794a2136adaf591fc02bc5de56 Subproject commit 76a6460b6869e568c10f0d90c89b147af1446849