Skip to content

Commit

Permalink
fix delete
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikStreek committed Dec 18, 2024
1 parent 71acee1 commit e164eb0
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Hooks.StoreRecentBrainstorming = {

Hooks.RemoveMissingBrainstorming = {
mounted() {
const missingId = this.el.dataset.missingId;
const missingId = this.el.dataset.brainstormingId;
if (missingId) {
const recentBrainstormings = JSON.parse(localStorage.getItem('brainstormings') || '{}');
delete recentBrainstormings[missingId]
Expand Down
2 changes: 1 addition & 1 deletion lib/mindwendel_web/templates/layout/app_static.html.heex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<main role="main" class="container d-flex h-100 bg-black" id="main-container">
<main role="main" class="container h-100" id="main-container">
<%= if Phoenix.Flash.get(@flash, :info) do %>
<p class="alert alert-info" role="alert">
{Phoenix.Flash.get(@flash, :info)}
Expand Down
20 changes: 10 additions & 10 deletions priv/gettext/de/LC_MESSAGES/default.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ msgstr ""
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:17
#: lib/mindwendel_web/live/start_live/home.html.heex:17
#, elixir-autogen, elixir-format
msgid "Brainstorm"
msgstr "Los geht's!"

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:26
#: lib/mindwendel_web/live/start_live/home.html.heex:26
#, elixir-autogen, elixir-format
msgid "How might we ..."
msgstr "Wie können wir ..."

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:16
#: lib/mindwendel_web/live/start_live/home.html.heex:16
#, elixir-autogen, elixir-format
msgid "Ready?"
msgstr "Fertig?"
Expand Down Expand Up @@ -62,12 +62,12 @@ msgstr "Schließen"
msgid "Copy"
msgstr "Kopieren"

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:15
#: lib/mindwendel_web/live/start_live/home.html.heex:15
#, elixir-autogen, elixir-format
msgid "Create a challenge."
msgstr "Erstelle ein Brainstorming."

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:32
#: lib/mindwendel_web/live/start_live/home.html.heex:32
#, elixir-autogen, elixir-format
msgid "Create!"
msgstr "Erstellen!"
Expand Down Expand Up @@ -178,7 +178,7 @@ msgstr "Editiere Brainstorming"
msgid "Export"
msgstr "Export"

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:49
#: lib/mindwendel_web/live/start_live/home.html.heex:53
#, elixir-autogen
msgid "Your latest brainstormings"
msgstr "Deine letzten Brainstormings"
Expand Down Expand Up @@ -206,7 +206,7 @@ msgstr "Von"
msgid "Administration for brainstorming: %{name}"
msgstr "Administration für: %{name}"

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:37
#: lib/mindwendel_web/live/start_live/home.html.heex:37
#, elixir-autogen, elixir-format
msgid "Brainstormings will be deleted after %{days} days."
msgstr "Brainstormings werden nach %{days} Tagen gelöscht."
Expand Down Expand Up @@ -304,7 +304,7 @@ msgstr "Leere das Brainstorming"
msgid "Brainstorming will be deleted %{days}"
msgstr "Brainstorming wird gelöscht %{days}"

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:59
#: lib/mindwendel_web/live/start_live/home.html.heex:67
#, elixir-autogen, elixir-format
msgid "Attention: Brainstormings will be deleted %{available_until} after last access!"
msgstr "Achtung: Brainstormings werden %{available_until} nach dem letzten Zugriff gelöscht!"
Expand Down Expand Up @@ -541,13 +541,13 @@ msgstr "Zeige Idee"
msgid "Your comment"
msgstr "Kommentar"

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:71
#: lib/mindwendel_web/live/start_live/home.html.heex:79
#: lib/mindwendel_web/templates/layout/app.html.heex:72
#, elixir-autogen, elixir-format
msgid "Legal Disclosure"
msgstr "Impressum"

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:72
#: lib/mindwendel_web/live/start_live/home.html.heex:80
#: lib/mindwendel_web/templates/layout/app.html.heex:68
#, elixir-autogen, elixir-format
msgid "Privacy"
Expand Down
20 changes: 10 additions & 10 deletions priv/gettext/default.pot
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
msgid ""
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:17
#: lib/mindwendel_web/live/start_live/home.html.heex:17
#, elixir-autogen, elixir-format
msgid "Brainstorm"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:26
#: lib/mindwendel_web/live/start_live/home.html.heex:26
#, elixir-autogen, elixir-format
msgid "How might we ..."
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:16
#: lib/mindwendel_web/live/start_live/home.html.heex:16
#, elixir-autogen, elixir-format
msgid "Ready?"
msgstr ""
Expand Down Expand Up @@ -61,12 +61,12 @@ msgstr ""
msgid "Copy"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:15
#: lib/mindwendel_web/live/start_live/home.html.heex:15
#, elixir-autogen, elixir-format
msgid "Create a challenge."
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:32
#: lib/mindwendel_web/live/start_live/home.html.heex:32
#, elixir-autogen, elixir-format
msgid "Create!"
msgstr ""
Expand Down Expand Up @@ -177,7 +177,7 @@ msgstr ""
msgid "Export"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:49
#: lib/mindwendel_web/live/start_live/home.html.heex:53
#, elixir-autogen
msgid "Your latest brainstormings"
msgstr ""
Expand Down Expand Up @@ -205,7 +205,7 @@ msgstr ""
msgid "Administration for brainstorming: %{name}"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:37
#: lib/mindwendel_web/live/start_live/home.html.heex:37
#, elixir-autogen, elixir-format
msgid "Brainstormings will be deleted after %{days} days."
msgstr ""
Expand Down Expand Up @@ -303,7 +303,7 @@ msgstr ""
msgid "Brainstorming will be deleted %{days}"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:59
#: lib/mindwendel_web/live/start_live/home.html.heex:67
#, elixir-autogen, elixir-format
msgid "Attention: Brainstormings will be deleted %{available_until} after last access!"
msgstr ""
Expand Down Expand Up @@ -540,13 +540,13 @@ msgstr ""
msgid "Your comment"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:71
#: lib/mindwendel_web/live/start_live/home.html.heex:79
#: lib/mindwendel_web/templates/layout/app.html.heex:72
#, elixir-autogen, elixir-format
msgid "Legal Disclosure"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:72
#: lib/mindwendel_web/live/start_live/home.html.heex:80
#: lib/mindwendel_web/templates/layout/app.html.heex:68
#, elixir-autogen, elixir-format
msgid "Privacy"
Expand Down
20 changes: 10 additions & 10 deletions priv/gettext/en/LC_MESSAGES/default.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ msgstr ""
"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:17
#: lib/mindwendel_web/live/start_live/home.html.heex:17
#, elixir-autogen, elixir-format
msgid "Brainstorm"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:26
#: lib/mindwendel_web/live/start_live/home.html.heex:26
#, elixir-autogen, elixir-format
msgid "How might we ..."
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:16
#: lib/mindwendel_web/live/start_live/home.html.heex:16
#, elixir-autogen, elixir-format
msgid "Ready?"
msgstr ""
Expand Down Expand Up @@ -62,12 +62,12 @@ msgstr ""
msgid "Copy"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:15
#: lib/mindwendel_web/live/start_live/home.html.heex:15
#, elixir-autogen, elixir-format
msgid "Create a challenge."
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:32
#: lib/mindwendel_web/live/start_live/home.html.heex:32
#, elixir-autogen, elixir-format
msgid "Create!"
msgstr ""
Expand Down Expand Up @@ -178,7 +178,7 @@ msgstr ""
msgid "Export"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:49
#: lib/mindwendel_web/live/start_live/home.html.heex:53
#, elixir-autogen
msgid "Your latest brainstormings"
msgstr ""
Expand Down Expand Up @@ -206,7 +206,7 @@ msgstr ""
msgid "Administration for brainstorming: %{name}"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:37
#: lib/mindwendel_web/live/start_live/home.html.heex:37
#, elixir-autogen, elixir-format
msgid "Brainstormings will be deleted after %{days} days."
msgstr ""
Expand Down Expand Up @@ -304,7 +304,7 @@ msgstr ""
msgid "Brainstorming will be deleted %{days}"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:59
#: lib/mindwendel_web/live/start_live/home.html.heex:67
#, elixir-autogen, elixir-format
msgid "Attention: Brainstormings will be deleted %{available_until} after last access!"
msgstr ""
Expand Down Expand Up @@ -541,13 +541,13 @@ msgstr ""
msgid "Your comment"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:71
#: lib/mindwendel_web/live/start_live/home.html.heex:79
#: lib/mindwendel_web/templates/layout/app.html.heex:72
#, elixir-autogen, elixir-format
msgid "Legal Disclosure"
msgstr ""

#: lib/mindwendel_web/controllers/static_page_html/home.html.heex:72
#: lib/mindwendel_web/live/start_live/home.html.heex:80
#: lib/mindwendel_web/templates/layout/app.html.heex:68
#, elixir-autogen, elixir-format
msgid "Privacy"
Expand Down

0 comments on commit e164eb0

Please sign in to comment.