Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vellum
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paweł J. Wal
vellum
Commits
e3121da9
Verified
Commit
e3121da9
authored
1 month ago
by
Paweł J. Wal
Browse files
Options
Downloads
Patches
Plain Diff
feat
#73
: remove iffy back button on new session
Closes
#73
parent
26afb188
No related branches found
No related tags found
No related merge requests found
Pipeline
#507
passed
1 month ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/session_view.go
+1
-3
1 addition, 3 deletions
frontend/session_view.go
frontend/sessions_controller.go
+2
-0
2 additions, 0 deletions
frontend/sessions_controller.go
with
3 additions
and
3 deletions
frontend/session_view.go
+
1
−
3
View file @
e3121da9
...
...
@@ -26,9 +26,7 @@ func (v *SessionView) New(ctx echo.Context) string {
Title
:
"New session"
,
},
func
(
ctx
echo
.
Context
)
g
.
Node
{
return
h
.
Div
(
c
.
PageHeader
(
"New session"
,
cc
.
HeaderButtonGroup
(
cc
.
NeutralButton
(
"Back"
,
"/"
),
)),
c
.
PageHeader
(
"New session"
),
h
.
Form
(
h
.
Method
(
"POST"
),
h
.
Action
(
config
.
SESSIONS_CONTROLLER_ROOT
),
...
...
This diff is collapsed.
Click to expand it.
frontend/sessions_controller.go
+
2
−
0
View file @
e3121da9
...
...
@@ -89,6 +89,7 @@ type NewSessionsControllerParams struct {
SessionManager
*
scs
.
SessionManager
View
*
SessionView
Mailer
*
commons
.
Mailer
Flasher
*
commons
.
Flasher
}
type
NewSessionsControllerResult
struct
{
...
...
@@ -105,6 +106,7 @@ func NewSessionsController(p NewSessionsControllerParams) NewSessionsControllerR
SessionManager
:
p
.
SessionManager
,
View
:
p
.
View
,
Mailer
:
p
.
Mailer
,
Flasher
:
p
.
Flasher
,
},
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment