- <%= gettext("Create a challenge.") %>
- <%= gettext("Ready?") %>
- <%= gettext("Brainstorm") %>
+ {gettext("Create a challenge.")}
+ {gettext("Ready?")}
+ {gettext("Brainstorm")}
<%= gettext("Your latest brainstormings") %>
+{gettext("Your latest brainstormings")}
<%= for brainstorming <- list_brainstormings_for(@current_user) do %><.link href={~p"/brainstormings/#{brainstorming.id}"}> - <%= brainstorming.name %> + {brainstorming.name} - <%= Timex.format!(brainstorming.inserted_at, "{relative}", :relative) %> + {Timex.format!(brainstorming.inserted_at, "{relative}", :relative)}
<% end %>- <%= gettext( + {gettext( "Attention: Brainstormings will be deleted %{available_until} after last access!", available_until: brainstormings_available_until() - ) %> + )}
- <.link href={~p"/legal"}><%= gettext("Legal Disclosure") %> - | <.link href={~p"/privacy"}><%= gettext("Privacy") %> + <.link href={~p"/legal"}>{gettext("Legal Disclosure")} + | <.link href={~p"/privacy"}>{gettext("Privacy")} <% end %> diff --git a/lib/mindwendel_web/live/admin/brainstorming_live/edit.html.heex b/lib/mindwendel_web/live/admin/brainstorming_live/edit.html.heex index d1509796..d83e5e06 100644 --- a/lib/mindwendel_web/live/admin/brainstorming_live/edit.html.heex +++ b/lib/mindwendel_web/live/admin/brainstorming_live/edit.html.heex @@ -1,26 +1,26 @@
- <%= gettext("Administration for brainstorming: %{name}", name: @brainstorming.name) %> + {gettext("Administration for brainstorming: %{name}", name: @brainstorming.name)}
- (<%= brainstorming_available_until_full_text(@brainstorming) %>) + ({brainstorming_available_until_full_text(@brainstorming)})
<%= gettext("Edit Brainstorming") %>
+{gettext("Edit Brainstorming")}
<%= gettext("Edit Brainstorming Labels") %>
+{gettext("Edit Brainstorming Labels")}
<%= gettext("Export") %>
+{gettext("Export")}
<.link class="fw-bold" href={~p"/admin/brainstormings/#{@brainstorming.admin_url_id}/export"}> - <%= gettext("Export to HTML") %> + {gettext("Export to HTML")}
<%= gettext("Empty brainstorming") %>
+{gettext("Empty brainstorming")}
- <%= gettext( + {gettext( "Attention: This will delete all ideas in this brainstorming. The brainstorming itself and labels will be left unchanged. This cant be undone." - ) %> + )}
<%= gettext("Delete Brainstorming") %>
+{gettext("Delete Brainstorming")}
- <%= gettext( + {gettext( "Attention: This will delete the brainstorming with all belonging ideas and other associated records to it. This cant be undone" - ) %> + )}
<.link href={~p"/admin/brainstormings/#{@brainstorming.admin_url_id}"} @@ -147,7 +147,7 @@ method="delete" > <.button class="btn btn-danger"> - <%= gettext("Delete") %> + {gettext("Delete")}- <%= @inspiration.title %> + {@inspiration.title}
<%= raw(@idea.body) %>
+{raw(@idea.body)}
<% end %> <%= if @idea.link do %> <.link href={@idea.link.url}> - <%= raw(@idea.body) %> + {raw(@idea.body)}<%= @idea.link.title %>
-<%= @idea.link.description %>
+{@idea.link.title}
+{@idea.link.description}
<.file_icon type={Attachments.simplified_attached_file_type(attachment.file_type)} /> <.link href={~p"/files/#{attachment.id}"}> - <%= attachment.name || gettext("No filename") %> + {attachment.name || gettext("No filename")}
<% end %> @@ -82,11 +82,11 @@