Commit 1182ea71 by Giovannoni Laurent

Merge branch 'develop' into 'master'

Develop

See merge request !54
parents fca1783d 1c7cac64
<div *ngIf="loading">
<i class="fa fa-spinner fa-spin fa-5x" style="margin-left: 50%;margin-top: 16%;font-size: 8em"></i>
</div>
<div *ngIf="!loading" class="container-fluid">
<h1 style="margin-top: 0"><i class="fa fa-user fa-2x"></i> {{lang.notificationsListTitle}} : {{notifications.length}} {{lang.notification}}(s) </h1>
<nav class="navbar navbar-default" style="font-size:17px !important;" id="toolBox">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" routerLink="/administration" style="cursor: pointer">
<i class="fa fa-arrow-circle-left" title="{{lang.back}}"></i>
</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li style="cursor: pointer" routerLink="/administration/notifications/new">
<a title="{{lang.newNotification}}"><i class="fa fa-check-circle"></i><sup><i class="fa fa-plus"></i></sup></a>
</li>
</ul>
</div>
</div>
</nav>
<div class="col-md-12" style="margin-top: 15px">
<table id="notificationsTable" class="display">
<thead>
<tr>
<th style="width:33%;"><span>{{lang.id}}</span></th>
<th style="width:33%;"><span>{{lang.desc}}</span></th>
<th style="width:33%;"><span>&nbsp;</span></th>
</tr>
</thead>
<tbody>
<tr *ngFor="let notification of notifications" id="{{notification.id}}">
<td>{{notification.notification_id}}</td>
<td>{{notification.description}}</td>
<td style="text-align:right;">
<div class="btn-group" role="group" aria-label="...">
<button routerLink="/administration/notifications/{{notification.notification_sid}}" type="button" class="btn btn-default" title="{{lang.update}}">
<a><i style="cursor:pointer" class="fa fa-edit"></i></a>
</button>
<button type="button" class="btn btn-default" title="{{lang.delete}}" (click)="deleteNotification(notification)">
<a><i style="cursor:pointer;color: #D9534F" class="fa fa-trash"></i></a>
</button>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
\ No newline at end of file
......@@ -28,7 +28,7 @@
* @version $Revision$
* @ingroup admin
*/
require "core" . DIRECTORY_SEPARATOR . "class" . DIRECTORY_SEPARATOR
require_once "core" . DIRECTORY_SEPARATOR . "class" . DIRECTORY_SEPARATOR
. "class_history.php";
$core = new core_tools();
$core->test_admin('admin_contacts', 'apps');
......
......@@ -167,7 +167,7 @@ $_SESSION['doc_id'] = $s_id;
$right = $security->test_right_doc($coll_id, $s_id);
//$_SESSION['error'] = 'coll '.$coll_id.', res_id : '.$s_id;
$stmt = $db->query("SELECT typist, creation_date FROM ".$table." WHERE res_id = ?", array($s_id));
$stmt = $db->query("SELECT typist, creation_date, filename FROM ".$table." WHERE res_id = ?", array($s_id));
$info_mail = $stmt->fetchObject();
$date1 = new DateTime($info_mail->creation_date);
......@@ -529,19 +529,11 @@ if ((!empty($_SESSION['error']) && ! ($_SESSION['indexation'] )) )
?>
</p>
<p id="viewdoc">
<!--<a href="<?php
echo $_SESSION['config']['businessappurl'];
?>index.php?page=view_baskets&module=basket&baskets=MyBasket&directLinkToAction&resid=<?php
functions::xecho($s_id);
?>" target="_blank"><i class="fa fa-gears fa-2x" title="<?php
echo _PROCESS;?>"></i></a>&nbsp;-->
<a href="<?php
echo $_SESSION['config']['businessappurl'];
?>index.php?display=true&dir=indexing_searching&page=view_resource_controler&id=<?php
functions::xecho($s_id);
?>" target="_blank"><i class="fa fa-download fa-2x" title="<?php
echo _VIEW_DOC;
?>"></i></a>&nbsp;&nbsp;&nbsp;
<?php if($info_mail->filename){?>
<a href="index.php?display=true&dir=indexing_searching&page=view_resource_controler&id=<?php functions::xecho($s_id);?>"
target="_blank"><i class="fa fa-download fa-2x" title="<?php echo _VIEW_DOC; ?>"></i></a>
<?php } ?>
&nbsp;&nbsp;&nbsp;
</p>
</b>&nbsp;
</div>
......@@ -1338,4 +1330,4 @@ if($_SESSION['indexation'] == true && $category == 'outgoing'){
$detailsExport .= "</body></html>";
$_SESSION['doc_convert'] = array();
$_SESSION['doc_convert']['details_result'] = $detailsExport;
$_SESSION['info'] = '';
$_SESSION['info'] = '';
\ No newline at end of file
......@@ -20,6 +20,8 @@ var parameters_administration_component_1 = require("./parameters-administration
var priorities_administration_component_1 = require("./priorities-administration.component");
var priority_administration_component_1 = require("./priority-administration.component");
var reports_administration_component_1 = require("./reports-administration.component");
var notifications_administration_component_1 = require("./notifications-administration.component");
var notification_administration_component_1 = require("./notification-administration.component");
var history_administration_component_1 = require("./history-administration.component");
var historyBatch_administration_component_1 = require("./historyBatch-administration.component");
var AdministrationRoutingModule = (function () {
......@@ -48,6 +50,9 @@ AdministrationRoutingModule = __decorate([
{ path: 'administration/actions', component: actions_administration_component_1.ActionsAdministrationComponent },
{ path: 'administration/actions/new', component: action_administration_component_1.ActionAdministrationComponent },
{ path: 'administration/actions/:id', component: action_administration_component_1.ActionAdministrationComponent },
{ path: 'administration/notifications', component: notifications_administration_component_1.NotificationsAdministrationComponent },
{ path: 'administration/notifications/new', component: notification_administration_component_1.NotificationAdministrationComponent },
{ path: 'administration/notifications/:identifier', component: notification_administration_component_1.NotificationAdministrationComponent },
{ path: 'administration/history', component: history_administration_component_1.HistoryAdministrationComponent },
{ path: 'administration/historyBatch', component: historyBatch_administration_component_1.HistoryBatchAdministrationComponent },
]),
......
......@@ -13,6 +13,8 @@ import { ParametersAdministrationComponent } from './parameters-administratio
import { PrioritiesAdministrationComponent } from './priorities-administration.component';
import { PriorityAdministrationComponent } from './priority-administration.component';
import { ReportsAdministrationComponent } from './reports-administration.component';
import { NotificationsAdministrationComponent } from './notifications-administration.component';
import { NotificationAdministrationComponent } from './notification-administration.component';
import { HistoryAdministrationComponent } from './history-administration.component';
import { HistoryBatchAdministrationComponent } from './historyBatch-administration.component';
......@@ -37,6 +39,9 @@ import { HistoryBatchAdministrationComponent } from './historyBatch-administrat
{ path: 'administration/actions', component: ActionsAdministrationComponent },
{ path: 'administration/actions/new', component: ActionAdministrationComponent },
{ path: 'administration/actions/:id', component: ActionAdministrationComponent },
{ path: 'administration/notifications', component: NotificationsAdministrationComponent },
{ path: 'administration/notifications/new', component: NotificationAdministrationComponent },
{ path: 'administration/notifications/:identifier', component: NotificationAdministrationComponent },
{ path: 'administration/history', component: HistoryAdministrationComponent },
{ path: 'administration/historyBatch', component: HistoryBatchAdministrationComponent },
]),
......
......@@ -14,6 +14,8 @@ var md2_1 = require("md2");
var app_material_module_1 = require("../app-material.module");
var administration_routing_module_1 = require("./administration-routing.module");
var administration_component_1 = require("./administration.component");
var notifications_administration_component_1 = require("./notifications-administration.component");
var notification_administration_component_1 = require("./notification-administration.component");
var users_administration_component_1 = require("./users-administration.component");
var user_administration_component_1 = require("./user-administration.component");
var statuses_administration_component_1 = require("./statuses-administration.component");
......@@ -44,6 +46,8 @@ AdministrationModule = __decorate([
],
declarations: [
administration_component_1.AdministrationComponent,
notifications_administration_component_1.NotificationsAdministrationComponent,
notification_administration_component_1.NotificationAdministrationComponent,
users_administration_component_1.UsersAdministrationComponent,
user_administration_component_1.UserAdministrationComponent,
statuses_administration_component_1.StatusesAdministrationComponent,
......
......@@ -8,6 +8,8 @@ import { AppMaterialModule } from '../app-material.module';
import { AdministrationRoutingModule } from './administration-routing.module';
import { AdministrationComponent } from './administration.component';
import { NotificationsAdministrationComponent } from './notifications-administration.component';
import { NotificationAdministrationComponent } from './notification-administration.component';
import { UsersAdministrationComponent, DataTablePipe } from './users-administration.component';
import { UserAdministrationComponent } from './user-administration.component';
import { StatusesAdministrationComponent } from './statuses-administration.component';
......@@ -34,6 +36,8 @@ import { HistoryBatchAdministrationComponent } from './historyBatch-administrat
],
declarations: [
AdministrationComponent,
NotificationsAdministrationComponent,
NotificationAdministrationComponent,
UsersAdministrationComponent,
UserAdministrationComponent,
StatusesAdministrationComponent,
......
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var http_1 = require("@angular/common/http");
var translate_component_1 = require("../translate.component");
var router_1 = require("@angular/router");
var notification_service_1 = require("../notification.service");
var NotificationAdministrationComponent = (function () {
function NotificationAdministrationComponent(http, route, router, notify) {
this.http = http;
this.route = route;
this.router = router;
this.notify = notify;
this.notification = {
diffusionType_label: null
};
this.loading = false;
this.lang = translate_component_1.LANG;
}
NotificationAdministrationComponent.prototype.ngOnInit = function () {
var _this = this;
this.prepareNotifications();
this.loading = true;
this.coreUrl = angularGlobals.coreUrl;
this.updateBreadcrumb(angularGlobals.applicationName);
this.route.params.subscribe(function (params) {
console.log(params['identifier']);
if (typeof params['identifier'] == "undefined") {
//if(params['identifier']== "new"){
_this.creationMode = true;
_this.http.get(_this.coreUrl + 'rest/administration/notifications/new')
.subscribe(function (data) {
_this.notification = data.notification;
_this.loading = false;
// setTimeout(() => {
// $j("select").chosen({width:"100%",disable_search_threshold: 10, search_contains: true});
// }, 0);
}, function (err) {
errorNotification(JSON.parse(err._body).errors);
});
}
else {
_this.creationMode = false;
_this.http.get(_this.coreUrl + 'rest/administration/notifications/' + params['identifier'])
.subscribe(function (data) {
_this.notification = data.notification;
console.log(data.notification);
_this.loading = false;
setTimeout(function () {
$j("select").chosen({ width: "100%", disable_search_threshold: 10, search_contains: true });
}, 0);
});
}
});
};
NotificationAdministrationComponent.prototype.selectAll = function (event) {
var target = event.target.getAttribute("data-target");
$j('#' + target + ' option').prop('selected', true);
$j('#' + target).trigger('chosen:updated');
};
NotificationAdministrationComponent.prototype.unselectAll = function (event) {
var target = event.target.getAttribute("data-target");
$j('#' + target + ' option').prop('selected', false);
$j('#' + target).trigger('chosen:updated');
};
NotificationAdministrationComponent.prototype.onSubmit = function () {
var _this = this;
//affect value of select
if ($j("#groupslist").chosen().val()) {
this.notification.diffusion_properties = $j("#groupslist").chosen().val();
}
else if ($j("#entitieslist").chosen().val()) {
this.notification.diffusion_properties = $j("#entitieslist").chosen().val();
}
else if ($j("#statuseslist").chosen().val()) {
this.notification.diffusion_properties = $j("#statuseslist").chosen().val();
}
else if ($j("#userslist").chosen().val()) {
this.notification.diffusion_properties = $j("#userslist").chosen().val();
}
if ($j("#groupslistJd").chosen().val()) {
this.notification.attachfor_properties = $j("#groupslistJd").chosen().val();
}
else if ($j("#entitieslistJd").chosen().val()) {
this.notification.attachfor_properties = $j("#entitieslistJd").chosen().val();
}
else if ($j("#statuseslistJd").chosen().val()) {
this.notification.attachfor_properties = $j("#statuseslistJd").chosen().val();
}
else if ($j("#userslistJd").chosen().val()) {
this.notification.attachfor_properties = $j("#userslistJd").chosen().val();
}
if (this.creationMode) {
this.http.post(this.coreUrl + 'rest/notifications', this.notification)
.subscribe(function (data) {
_this.router.navigate(['/administration/notifications']);
_this.notify.success(_this.lang.newNotificationAdded + ' « ' + _this.notification.notification_id + ' »');
}, function (err) {
_this.notify.error(err.error.errors);
});
}
else {
this.http.put(this.coreUrl + 'rest/notifications/' + this.notification.notification_sid, this.notification)
.subscribe(function (data) {
_this.router.navigate(['/administration/notifications']);
_this.notify.success(_this.lang.notificationUpdated + ' « ' + _this.notification.notification_id + ' »');
}, function (err) {
_this.notify.error(err.error.errors);
});
}
};
NotificationAdministrationComponent.prototype.prepareNotifications = function () {
$j('#inner_content').remove();
};
NotificationAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
if ($j('#ariane')[0]) {
$j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > <a onclick='location.hash = \"/administration/notifications\"' style='cursor: pointer'>notifications</a>";
}
};
return NotificationAdministrationComponent;
}());
NotificationAdministrationComponent = __decorate([
core_1.Component({
templateUrl: angularGlobals["notification-administrationView"],
styleUrls: ['../../node_modules/bootstrap/dist/css/bootstrap.min.css'],
providers: [notification_service_1.NotificationService]
}),
__metadata("design:paramtypes", [http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, notification_service_1.NotificationService])
], NotificationAdministrationComponent);
exports.NotificationAdministrationComponent = NotificationAdministrationComponent;
import { Component, OnInit } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { LANG } from '../translate.component';
import { ActivatedRoute, Router } from '@angular/router';
import { NotificationService } from '../notification.service';
declare function $j(selector: any) : any;
declare function successNotification(message: string) : void;
declare function errorNotification(message: string) : void;
declare var angularGlobals : any;
@Component({
templateUrl : angularGlobals["notification-administrationView"],
styleUrls : ['../../node_modules/bootstrap/dist/css/bootstrap.min.css'],
providers : [NotificationService]
})
export class NotificationAdministrationComponent implements OnInit {
coreUrl : string;
notificationId : string;
creationMode : boolean;
notification : any = {
diffusionType_label : null
};
loading : boolean = false;
lang : any = LANG;
constructor(public http: HttpClient, private route: ActivatedRoute, private router: Router, private notify: NotificationService) {
}
ngOnInit(): void {
this.prepareNotifications();
this.loading = true;
this.coreUrl = angularGlobals.coreUrl;
this.updateBreadcrumb(angularGlobals.applicationName);
this.route.params.subscribe(params => {
console.log(params['identifier']);
if(typeof params['identifier']== "undefined"){
//if(params['identifier']== "new"){
this.creationMode = true;
this.http.get(this.coreUrl + 'rest/administration/notifications/new')
.subscribe((data : any) => {
this.notification = data.notification;
this.loading = false;
// setTimeout(() => {
// $j("select").chosen({width:"100%",disable_search_threshold: 10, search_contains: true});
// }, 0);
}, (err) => {
errorNotification(JSON.parse(err._body).errors);
});
}else {
this.creationMode = false;
this.http.get(this.coreUrl + 'rest/administration/notifications/' + params['identifier'])
.subscribe((data : any) => {
this.notification = data.notification;
console.log(data.notification);
this.loading = false;
setTimeout(() => {
$j("select").chosen({width:"100%",disable_search_threshold: 10, search_contains: true});
}, 0);
});
}
});
}
selectAll(event:any){
var target = event.target.getAttribute("data-target");
$j('#' + target + ' option').prop('selected', true);
$j('#' + target).trigger('chosen:updated');
}
unselectAll(event:any){
var target = event.target.getAttribute("data-target");
$j('#' + target + ' option').prop('selected', false);
$j('#' + target).trigger('chosen:updated');
}
onSubmit() {
//affect value of select
if($j("#groupslist").chosen().val()){
this.notification.diffusion_properties = $j("#groupslist").chosen().val();
}else if($j("#entitieslist").chosen().val()){
this.notification.diffusion_properties = $j("#entitieslist").chosen().val();
}else if($j("#statuseslist").chosen().val()){
this.notification.diffusion_properties = $j("#statuseslist").chosen().val();
}else if($j("#userslist").chosen().val()){
this.notification.diffusion_properties = $j("#userslist").chosen().val();
}
if($j("#groupslistJd").chosen().val()){
this.notification.attachfor_properties = $j("#groupslistJd").chosen().val();
}else if($j("#entitieslistJd").chosen().val()){
this.notification.attachfor_properties = $j("#entitieslistJd").chosen().val();
}else if($j("#statuseslistJd").chosen().val()){
this.notification.attachfor_properties = $j("#statuseslistJd").chosen().val();
}else if($j("#userslistJd").chosen().val()){
this.notification.attachfor_properties = $j("#userslistJd").chosen().val();
}
if (this.creationMode) {
this.http.post(this.coreUrl + 'rest/notifications', this.notification)
.subscribe((data : any) => {
this.router.navigate(['/administration/notifications']);
this.notify.success(this.lang.newNotificationAdded+' « '+this.notification.notification_id+' »');
},(err) => {
this.notify.error(err.error.errors);
});
}else{
this.http.put(this.coreUrl + 'rest/notifications/' + this.notification.notification_sid, this.notification)
.subscribe((data : any) => {
this.router.navigate(['/administration/notifications']);
this.notify.success(this.lang.notificationUpdated+' « '+this.notification.notification_id+' »');
},(err) => {
this.notify.error(err.error.errors);
});
}
}
prepareNotifications() {
$j('#inner_content').remove();
}
updateBreadcrumb(applicationName: string){
if ($j('#ariane')[0]) {
$j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > <a onclick='location.hash = \"/administration/notifications\"' style='cursor: pointer'>notifications</a>";
}
}
}
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var http_1 = require("@angular/common/http");
var translate_component_1 = require("../translate.component");
var notification_service_1 = require("../notification.service");
var NotificationsAdministrationComponent = (function () {
function NotificationsAdministrationComponent(http, notify) {
this.http = http;
this.notify = notify;
this.notifications = [];
this.loading = false;
this.lang = translate_component_1.LANG;
}
NotificationsAdministrationComponent.prototype.ngOnInit = function () {
var _this = this;
this.coreUrl = angularGlobals.coreUrl;
this.prepareNotifications();
this.loading = true;
this.http.get(this.coreUrl + 'rest/notifications')
.subscribe(function (data) {
_this.notifications = data.notifications;
_this.updateBreadcrumb(angularGlobals.applicationName);
_this.loading = false;
}, function (err) {
errorNotification(JSON.parse(err._body).errors);
});
};
NotificationsAdministrationComponent.prototype.prepareNotifications = function () {
$j('#inner_content').remove();
};
NotificationsAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
$j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > " +
"<a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > " + this.lang.admin_notifications;
};
NotificationsAdministrationComponent.prototype.deleteNotification = function (notification) {
var _this = this;
var resp = confirm(this.lang.deleteMsg + " ?");
if (resp) {
this.http.delete(this.coreUrl + 'rest/notifications/' + notification.notification_sid)
.subscribe(function (data) {
_this.notifications = data.notifications;
_this.notify.success(data.success);
}, function (err) {
_this.notify.error(err.error.errors);
});
}
};
return NotificationsAdministrationComponent;
}());
NotificationsAdministrationComponent = __decorate([
core_1.Component({
templateUrl: angularGlobals["notifications-administrationView"],
styleUrls: ['../../node_modules/bootstrap/dist/css/bootstrap.min.css'],
providers: [notification_service_1.NotificationService]
}),
__metadata("design:paramtypes", [http_1.HttpClient, notification_service_1.NotificationService])
], NotificationsAdministrationComponent);
exports.NotificationsAdministrationComponent = NotificationsAdministrationComponent;
import { Component, OnInit } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { LANG } from '../translate.component';
import { NotificationService } from '../notification.service';
declare function $j(selector: any) : any;
declare function successNotification(message: string) : void;
declare function errorNotification(message: string) : void;
declare var angularGlobals : any;
@Component({
templateUrl : angularGlobals["notifications-administrationView"],
styleUrls : ['../../node_modules/bootstrap/dist/css/bootstrap.min.css'],
providers : [NotificationService]
})
export class NotificationsAdministrationComponent implements OnInit {
coreUrl : string;
notifications : any[] = [];
loading : boolean = false;
lang : any = LANG;
constructor(public http: HttpClient, private notify: NotificationService) {
}
ngOnInit(): void {
this.coreUrl = angularGlobals.coreUrl;
this.prepareNotifications();
this.loading = true;
this.http.get(this.coreUrl + 'rest/notifications')
.subscribe((data : any) => {
this.notifications = data.notifications;
this.updateBreadcrumb(angularGlobals.applicationName);
this.loading = false;
}, (err) => {
errorNotification(JSON.parse(err._body).errors);
});
}
prepareNotifications() {
$j('#inner_content').remove();
}
updateBreadcrumb(applicationName: string){
$j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > "+
"<a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > " + this.lang.admin_notifications;
}
deleteNotification(notification : any){
var resp = confirm(this.lang.deleteMsg + " ?");
if(resp){
this.http.delete(this.coreUrl + 'rest/notifications/'+notification.notification_sid)
.subscribe((data : any) => {
this.notifications = data.notifications
this.notify.success(data.success);
}, (err) => {
this.notify.error(err.error.errors);
});
}
}
}
......@@ -64,4 +64,15 @@ exports.LANG_EN = {
"autoLogoutAbsence": "You are going to be automaticaly disconnected after your redirections",
"reports": "Reports",
"myProfile": "My profile",
"event": "Event",
"template": "Modèle",
"diffusion_type": "Type de diffusion",
//Notifications
notification: "notification",
notificationsListTitle: "Notifications's list",
newNotificationAdded: "New notification",
admin_notifications: "Administration of notifications",
notificationUpdated: "Notification updated: ",
notificationError: "Notification error: ",
notificationErrorIdAlreadyExist: "id already exist",
};
......@@ -64,4 +64,17 @@ export const LANG_EN = {
"autoLogoutAbsence" : "You are going to be automaticaly disconnected after your redirections",
"reports" : "Reports",
"myProfile" : "My profile",
"event" : "Event",
"template" : "Modèle",
"diffusion_type" : "Type de diffusion",
//Notifications
notification: "notification",
notificationsListTitle: "Notifications's list",
newNotificationAdded: "New notification",
admin_notifications: "Administration of notifications",
notificationUpdated: "Notification updated: ",
notificationError: "Notification error: ",
notificationErrorIdAlreadyExist: "id already exist",
};
\ No newline at end of file
......@@ -53,6 +53,14 @@ exports.LANG_FR = {
"autoLogoutAbsence": "Vous allez être automatiquement déconnecté après avoir défini vos redirections de bannettes",
"reports": "Etats et éditions",
"myProfile": "Mon profil",
"template": "Modèle",
"diffusion_type": "Type de diffusion",
//Notifications
notification: "notification",
notificationsListTitle: "Liste des notifications",
newNotificationAdded: "Nouvelle notification",
admin_notifications: "Administration des notifications",
notificationUpdated: "Notification mise à jour: ",
//Lists
available: "disponible",
display: "affichage",
......
......@@ -53,8 +53,18 @@ export const LANG_FR = {
"autoLogoutAbsence" : "Vous allez être automatiquement déconnecté après avoir défini vos redirections de bannettes",
"reports" : "Etats et éditions",
"myProfile" : "Mon profil",
"template" : "Modèle",
"diffusion_type" : "Type de diffusion",
//Notifications
notification: "notification",
notificationsListTitle: "Liste des notifications",