1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-27 08:31:45 +00:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
bgamard
2020-08-28 17:34:03 +02:00
12 changed files with 58 additions and 18 deletions

View File

@@ -209,7 +209,9 @@ public class RouteResource extends BaseResource {
routeStepDao.endRouteStep(routeStepDto.getId(), routeStepTransition, comment, principal.getId());
RouteStepDto newRouteStep = routeStepDao.getCurrentStep(documentId);
RoutingUtil.updateAcl(documentId, newRouteStep, routeStepDto, principal.getId());
RoutingUtil.sendRouteStepEmail(documentId, routeStepDto);
if (newRouteStep != null) {
RoutingUtil.sendRouteStepEmail(documentId, newRouteStep);
}
JsonObjectBuilder response = Json.createObjectBuilder()
.add("readable", aclDao.checkPermission(documentId, PermType.READ, getTargetIdList(null)));

View File

@@ -527,7 +527,8 @@ angular.module('docs',
{ key: 'hun', label: 'Magyar' },
{ key: 'fin', label: 'Suomi' },
{ key: 'swe', label: 'Svenska' },
{ key: 'lav', label: 'Latviešu' }
{ key: 'lav', label: 'Latviešu' },
{ key: 'dan', label: 'Dansk' }
];
})
/**