mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-28 02:40:22 +00:00
be1664ec85
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
9 lines
No EOL
767 B
Elixir
9 lines
No EOL
767 B
Elixir
<%= render("participation/card/_title.text", event: @event) %>
|
||
|
||
<%= render("participation/card/_metadata.text", event: @event, timezone: @timezone, locale: @locale, action: @action) %>
|
||
|
||
<%= case @action do %><% "participation" -> %><%= gettext("Manage your participation:") %> <%= Routes.page_url(Mobilizon.Web.Endpoint, :event, @event.uuid) %><% "event" -> %><%= gettext("Participate:") %> <%= Routes.page_url(Mobilizon.Web.Endpoint, :event, @event.uuid) %><% nil -> %><% end %>
|
||
|
||
<%= if @event.description do %><%= gettext("Details:") %>
|
||
<%= process_description(@event.description) %>
|
||
<%= if String.length(@event.description) > 200 do %><%= gettext("Read more : %{url}", url: Routes.page_url(Mobilizon.Web.Endpoint, :event, @event.uuid)) |> raw %><% end %><% end %> |