Skip to content
Snippets Groups Projects
Verified Commit 5bf18fff authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #201 fix entity tree

parent a3c3cb01
No related branches found
No related tags found
No related merge requests found
......@@ -7,14 +7,12 @@
<small [class.hide-for-mobile]="mobileQuery.matches">{{data.length}} {{lang.users}}</small>
</h1>
<span style="flex: 1 1 auto;"></span>
<button mat-icon-button (click)="snav2.toggle()">
<mat-icon class="fa fa-gear fa-2x"></mat-icon>
</button>
</mat-toolbar>
<mat-sidenav-container class="admin-sidenav-container" [style.marginTop.px]="mobileQuery.matches ? 56 : 0">
<mat-sidenav #snav [mode]="mobileQuery.matches ? 'over' : 'side'" [fixedInViewport]="mobileQuery.matches" fixedTopGap="56"
[opened]="mobileQuery.matches ? false : true">
<mat-nav-list>
<h3 mat-subheader>{{lang.browsing}}</h3>
<a mat-list-item href="index.php">
<mat-icon color="primary" mat-list-icon class="fa fa-home"></mat-icon>
<p mat-line>
......@@ -30,7 +28,7 @@
</mat-nav-list>
<mat-divider></mat-divider>
<mat-nav-list>
<h3 mat-subheader>{{lang.tools}}</h3>
<h3 mat-subheader>{{lang.actions}}</h3>
<a mat-list-item routerLink="/administration/users/new">
<mat-icon color="primary" mat-list-icon class="fa fa-plus"></mat-icon>
<p mat-line>
......@@ -38,6 +36,22 @@
</p>
</a>
</mat-nav-list>
<mat-divider></mat-divider>
<mat-nav-list>
<h3 mat-subheader>Menu personnel</h3>
<a mat-list-item routerLink="/profile">
<mat-icon color="primary" mat-list-icon class="fa fa-user-circle-o"></mat-icon>
<p mat-line>
Mon profile
</p>
</a>
<a mat-list-item href="index.php?display=true&page=logout&logout=true">
<mat-icon color="warn" mat-list-icon class="fa fa-sign-out"></mat-icon>
<p mat-line>
Se déconnecter
</p>
</a>
</mat-nav-list>
</mat-sidenav>
<mat-sidenav-content>
<div *ngIf="loading" style="display:flex;height:100%;">
......@@ -105,7 +119,8 @@
</mat-cell>
</ng-container>
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
<mat-row *matRowDef="let row; columns: displayedColumns;" routerLink="/administration/users/{{row.id}}" style="cursor:pointer;" matTooltip="{{lang.view}}"></mat-row>
<mat-row *matRowDef="let row; columns: displayedColumns;" routerLink="/administration/users/{{row.id}}" style="cursor:pointer;"
matTooltip="{{lang.view}}"></mat-row>
</mat-table>
</mat-card>
</mat-sidenav-content>
......
......@@ -45,6 +45,7 @@ export const LANG_EN = {
"baskets" : "Baskets",
"basketsOrder" : "Manage baskets order",
"basketUpdated" : "Basket updated",
"browsing" : "Browsing",
"calDays" : "calendar days",
"canBeModified" : "Index modification",
"canBeSearched" : "Searchable",
......@@ -154,6 +155,7 @@ export const LANG_EN = {
"modules" : "Modules",
"moreOptions" : "More options",
"move" : "Move",
"myMenu" : "Personal menu",
"myProfile" : "My profile",
"newAction" : "New action",
"newElement" : "New element",
......
......@@ -48,6 +48,7 @@ export const LANG_FR = {
"baskets" : "Bannettes",
"basketsOrder" : "Gérer l'ordre des bannettes",
"basketUpdated" : "Bannette modifiée",
"browsing" : "Navigation",
"calDays" : "jour(s) calendaire(s)",
"canBeModified" : "Modification des index",
"canBeSearched" : "Recherche",
......@@ -169,6 +170,7 @@ export const LANG_FR = {
"modules" : "Modules",
"moreOptions" : "Plus d'options",
"move" : "Déplacer",
"myMenu" : "Menu personnel",
"myProfile" : "Mon profil",
"newAction" : "Nouvelle action",
"newElement" : "Nouvel élément",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment