diff --git a/documentation/sequence_diagrams/sequenceDiagramUser.puml b/documentation/sequence_diagrams/sequenceDiagramGuest.puml similarity index 100% rename from documentation/sequence_diagrams/sequenceDiagramUser.puml rename to documentation/sequence_diagrams/sequenceDiagramGuest.puml diff --git a/documentation/sequence_diagrams/sequenceDiagramLogin.puml b/documentation/sequence_diagrams/sequenceDiagramLogin.puml index eda0212..29d750d 100644 --- a/documentation/sequence_diagrams/sequenceDiagramLogin.puml +++ b/documentation/sequence_diagrams/sequenceDiagramLogin.puml @@ -21,8 +21,8 @@ opt if (userIsAdmin) else Website->Admin: redirect(noSuchUserPage) end +deactivate Website +deactivate Admin end -deactivate Website -deactivate Admin @enduml \ No newline at end of file diff --git a/documentation/sequence_diagrams/sequenceDiagramManage.puml b/documentation/sequence_diagrams/sequenceDiagramManage.puml index ea5947b..3ea117a 100644 --- a/documentation/sequence_diagrams/sequenceDiagramManage.puml +++ b/documentation/sequence_diagrams/sequenceDiagramManage.puml @@ -33,18 +33,20 @@ alt Manage Teams activate Server Server-->Website: postTeam(team) deactivate Server - Website-->Admin: showTeam(team) + Website-->Admin: showTeam(team) + deactivate Admin + deactivate Website end opt Delete + Admin->Website: deleteTeam(team) activate Admin activate Website - Admin->Website: deleteTeam(team) Website->Server: removeTeam(team:id) activate Server Server-->Website: postTeam(team) deactivate Server - Website-->Admin: updateTeamList(team) + Website-->Admin: updateTeamList(team) opt Error Website-->Admin: displayError(error) end diff --git a/documentation/sequence_diagrams/sequenceDiagramManager.puml b/documentation/sequence_diagrams/sequenceDiagramManager.puml index 2f686af..115ca69 100644 --- a/documentation/sequence_diagrams/sequenceDiagramManager.puml +++ b/documentation/sequence_diagrams/sequenceDiagramManager.puml @@ -71,7 +71,4 @@ deactivate Manager deactivate Website end - - - @enduml \ No newline at end of file