From 2e3be0435e019975d6159f0b74188d0d610fa9c2 Mon Sep 17 00:00:00 2001 From: Kristoffer Juelsen Date: Tue, 15 Mar 2022 22:37:55 +0100 Subject: [PATCH] slight updates to diagrams --- documentation/sequenceDiagramEdit.puml | 11 +++++++++-- documentation/sequenceDiagramLogin.puml | 7 ++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/documentation/sequenceDiagramEdit.puml b/documentation/sequenceDiagramEdit.puml index 8f79bf1..4394f59 100644 --- a/documentation/sequenceDiagramEdit.puml +++ b/documentation/sequenceDiagramEdit.puml @@ -5,5 +5,12 @@ participant Website database Server #brown hide footbox -@enduml -'test to update Commit author \ No newline at end of file + + +alt Manage Tournament +end + +alt Manage Teams +end + +@enduml \ No newline at end of file diff --git a/documentation/sequenceDiagramLogin.puml b/documentation/sequenceDiagramLogin.puml index ae3e004..892570e 100644 --- a/documentation/sequenceDiagramLogin.puml +++ b/documentation/sequenceDiagramLogin.puml @@ -14,11 +14,12 @@ activate Server deactivate Server alt status = success Website-->Admin: "Login Successful" -opt Is Manager +opt if (isManager(user)) Website->Admin: redirect(managerPage) + else + Website->Admin: redirect(adminPage) end -Website->Admin: redirect(adminPage) -' Website-->Admin: Login + end deactivate Website deactivate Admin