Skip to content

Commit

Permalink
feat: download button on backoffice
Browse files Browse the repository at this point in the history
  • Loading branch information
ruioliveira02 committed Jan 19, 2025
1 parent 377162b commit 2ee7fa1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/safira/event.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ defmodule Safira.Event do
"""
use Safira.Context

alias Safira.Accounts
alias Safira.Constants
alias Safira.Event.Faq

Expand Down
3 changes: 3 additions & 0 deletions lib/safira_web/live/backoffice/event_live/index.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<.link patch={~p"/dashboard/event/edit"}>
<.button><%= gettext("Edit Settings") %></.button>
</.link>
<.link patch={~p"/downloads/final_draw"} target="_blank">
<.button><%= gettext("Export Final Draw CSV") %></.button>
</.link>
</:actions>

<div class="py-4">
Expand Down

0 comments on commit 2ee7fa1

Please sign in to comment.