1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-03-03 02:10:11 +00:00

Fix the bug with deletion

This commit is contained in:
Timur Ismagilov 2022-03-08 23:12:35 +03:00
parent 3852d9fdea
commit 72cbca926c
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@
{%= modalBegin(
"delete",
hyphaName,
"",
` method="post"`,
fmt.Sprintf(lc.Get("ui.ask_delete"), beautifulLink(hyphaName))) %}
{%= modalReallyWant(hyphaName, lc.Get("ui.ask_delete_verb"), lc) %}
<p>{%s lc.Get("ui.ask_delete_tip") %}</p>
@ -23,7 +23,7 @@
{%= modalBegin(
"remove-media",
hyphaName,
"",
` method="post"`,
fmt.Sprintf(lc.Get("ui.ask_remove_media"), beautifulLink(hyphaName))) %}
{%= modalReallyWant(hyphaName, lc.Get("ui.ask_remove_media_verb"), lc) %}
{%= modalEnd(hyphaName, true, lc) %}

View File

@ -41,7 +41,7 @@ func StreamDeleteAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName
streammodalBegin(qw422016,
"delete",
hyphaName,
"",
` method="post"`,
fmt.Sprintf(lc.Get("ui.ask_delete"), beautifulLink(hyphaName)))
//line views/modal.qtpl:13
qw422016.N().S(`
@ -105,7 +105,7 @@ func StreamRemoveMediaAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hypha
streammodalBegin(qw422016,
"remove-media",
hyphaName,
"",
` method="post"`,
fmt.Sprintf(lc.Get("ui.ask_remove_media"), beautifulLink(hyphaName)))
//line views/modal.qtpl:27
qw422016.N().S(`