We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 76e45860 authored by Mitchell Rosen's avatar Mitchell Rosen

change 'edit' button text to 'post'

parent a804189d
......@@ -575,7 +575,7 @@ postEditProjectCommentR project_handle comment_id = do
(projectCommentHandlerInfo (Just user) project_id project_handle)
>>= \case
Nothing -> redirect (ProjectCommentR project_handle comment_id) -- Edit made.
Just (widget, form) -> defaultLayout $ previewWidget form "edit" (projectDiscussionPage project_handle widget)
Just (widget, form) -> defaultLayout $ previewWidget form "post" (projectDiscussionPage project_handle widget)
--------------------------------------------------------------------------------
-- /c/#CommentId/flag
......
......@@ -261,7 +261,7 @@ postEditWikiCommentR project_handle target comment_id = do
(wikiPageCommentHandlerInfo (Just user) project_id project_handle target)
>>= \case
Nothing -> redirect (WikiCommentR project_handle target comment_id) -- Edit made.
Just (widget, form) -> defaultLayout $ previewWidget form "edit" (wikiDiscussionPage project_handle target widget)
Just (widget, form) -> defaultLayout $ previewWidget form "post" (wikiDiscussionPage project_handle target widget)
--------------------------------------------------------------------------------
-- /flag
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment