Merge pull request #2 from askotx/appserv

Fix user display panel if logged
This commit is contained in:
Juan Carlos Ruvalcaba 2021-04-30 14:57:57 -07:00 committed by GitHub
commit ef94bd586c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,15 +105,19 @@
<li class="accordion-item">
<a href="#" class="item-content item-link">
<div class="item-inner">
<div class="item-title">Usuarios</div>
<div class="item-title">Usuario</div>
</div>
</a>
<div class="accordion-item-content">
<div class="block">
<p>
<a class="link panel-close" href="/user-edit/">Editar</a><br />
<a class="link panel-close" href="/user-new/">Nuevo</a><br />
${!isLogged && $h`
<a class="link panel-close" href="/user-new/">Registrarse</a><br />
<a class="link panel-close" href="/user-reset/">Restablecer Contraseña</a><br />
`}
${isLogged && $h`
<a class="link panel-close" href="/user-edit/">Editar</a><br />
`}
</p>
</div>
</div>