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"> <li class="accordion-item">
<a href="#" class="item-content item-link"> <a href="#" class="item-content item-link">
<div class="item-inner"> <div class="item-inner">
<div class="item-title">Usuarios</div> <div class="item-title">Usuario</div>
</div> </div>
</a> </a>
<div class="accordion-item-content"> <div class="accordion-item-content">
<div class="block"> <div class="block">
<p> <p>
${!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 /> <a class="link panel-close" href="/user-edit/">Editar</a><br />
<a class="link panel-close" href="/user-new/">Nuevo</a><br /> `}
<a class="link panel-close" href="/user-reset/">Restablecer Contraseña</a><br />
</p> </p>
</div> </div>
</div> </div>