1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-03-03 10:20:12 +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( {%= modalBegin(
"delete", "delete",
hyphaName, hyphaName,
"", ` method="post"`,
fmt.Sprintf(lc.Get("ui.ask_delete"), beautifulLink(hyphaName))) %} fmt.Sprintf(lc.Get("ui.ask_delete"), beautifulLink(hyphaName))) %}
{%= modalReallyWant(hyphaName, lc.Get("ui.ask_delete_verb"), lc) %} {%= modalReallyWant(hyphaName, lc.Get("ui.ask_delete_verb"), lc) %}
<p>{%s lc.Get("ui.ask_delete_tip") %}</p> <p>{%s lc.Get("ui.ask_delete_tip") %}</p>
@ -23,7 +23,7 @@
{%= modalBegin( {%= modalBegin(
"remove-media", "remove-media",
hyphaName, hyphaName,
"", ` method="post"`,
fmt.Sprintf(lc.Get("ui.ask_remove_media"), beautifulLink(hyphaName))) %} fmt.Sprintf(lc.Get("ui.ask_remove_media"), beautifulLink(hyphaName))) %}
{%= modalReallyWant(hyphaName, lc.Get("ui.ask_remove_media_verb"), lc) %} {%= modalReallyWant(hyphaName, lc.Get("ui.ask_remove_media_verb"), lc) %}
{%= modalEnd(hyphaName, true, lc) %} {%= modalEnd(hyphaName, true, lc) %}

View File

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