Add title and subtitle for categories and users

This commit is contained in:
Pablo Bonilla 2021-07-26 13:21:18 -06:00
parent 72c07e2bbf
commit 3695c037b2
No known key found for this signature in database
GPG Key ID: 46877262B8DE47E2
3 changed files with 32 additions and 26 deletions

View File

@ -1,6 +1,9 @@
<div> <div>
<h2 id="page-heading" data-cy="CategoriaHeading"> <h2 id="page-heading" data-cy="CategoriaHeading">
<span jhiTranslate="dataSurveyApp.categoria.home.title">Categorias</span> <div>
<span class="ds-title" jhiTranslate="dataSurveyApp.categoria.home.title">Categorias</span>
<p class="ds-subtitle">Categorice las encuestas de la aplicación</p>
</div>
<div class="d-flex justify-content-end"> <div class="d-flex justify-content-end">
<button <button

View File

@ -1,6 +1,9 @@
<div> <div>
<h2 id="page-heading" data-cy="UsuarioExtraHeading"> <h2 id="page-heading" data-cy="UsuarioExtraHeading">
<span jhiTranslate="dataSurveyApp.usuarioExtra.home.title">Usuarios</span> <div>
<span class="ds-title" jhiTranslate="dataSurveyApp.usuarioExtra.home.title">Usuarios</span>
<p class="ds-subtitle">Administre los usuarios registrados en la aplicación</p>
</div>
<div class="d-flex justify-content-end"> <div class="d-flex justify-content-end">
<button id="jh-create-entity" data-cy="entityCreateButton" class="ds-btn ds-btn--primary" [routerLink]="['/usuario-extra/new']"> <button id="jh-create-entity" data-cy="entityCreateButton" class="ds-btn ds-btn--primary" [routerLink]="['/usuario-extra/new']">

View File

@ -28,12 +28,12 @@ export const ADMIN_ROUTES: RouteInfo[] = [
type: 'link', type: 'link',
icontype: 'nc-icon nc-paper', icontype: 'nc-icon nc-paper',
}, },
{ // {
path: '/plantilla', // path: '/plantilla',
title: 'Plantillas', // title: 'Plantillas',
type: 'link', // type: 'link',
icontype: 'nc-icon nc-album-2', // icontype: 'nc-icon nc-album-2',
}, // },
{ {
path: '/categoria', path: '/categoria',
title: 'Categorías', title: 'Categorías',
@ -61,22 +61,22 @@ export const USER_ROUTES: RouteInfo[] = [
type: 'link', type: 'link',
icontype: 'nc-icon nc-paper', icontype: 'nc-icon nc-paper',
}, },
{ // {
path: '/tienda', // path: '/tienda',
title: 'Tienda', // title: 'Tienda',
type: 'link', // type: 'link',
icontype: 'nc-icon nc-cart-simple', // icontype: 'nc-icon nc-cart-simple',
}, // },
{ // {
path: '/plantilla', // path: '/plantilla',
title: 'Plantillas', // title: 'Plantillas',
type: 'link', // type: 'link',
icontype: 'nc-icon nc-album-2', // icontype: 'nc-icon nc-album-2',
}, // },
{ // {
path: '/colaboraciones', // path: '/colaboraciones',
title: 'Colaboraciones', // title: 'Colaboraciones',
type: 'link', // type: 'link',
icontype: 'nc-icon nc-world-2', // icontype: 'nc-icon nc-world-2',
}, // },
]; ];