Translations.

This commit is contained in:
codevictory
2021-04-25 00:55:26 +03:00
parent f8858deefb
commit b987f2c49e
11 changed files with 44 additions and 43 deletions

View File

@@ -1,4 +1,4 @@
<h1>Ohjelma - HALLINTA</h1>
<h1>HALLINTA</h1>
<table>
<thead>
@@ -10,19 +10,19 @@
</tr>
</thead>
<tbody>
<%= for performance <- @performances do %>
<%= for performance <- @performances do %>
<tr>
<td><%= performance.name %></td>
<td><%= performance.desc %></td>
<td>
<span><%= link "Show", to: Routes.performance_path(@conn, :show, performance) %></span>
<span><%= link "Edit", to: Routes.admin_performance_path(@conn, :edit, performance) %></span>
<span><%= link "Delete", to: Routes.admin_performance_path(@conn, :delete, performance), method: :delete, data: [confirm: "Are you sure?"] %></span>
<span><%= link "Lisätietoja", to: Routes.performance_path(@conn, :show, performance) %></span>
<span><%= link "Muokkaa", to: Routes.admin_performance_path(@conn, :edit, performance) %></span>
<span><%= link "Poista", to: Routes.admin_performance_path(@conn, :delete, performance), method: :delete, data: [confirm: "Haluatko poistaa näytöksen #{performance.name}?"] %></span>
</td>
</tr>
<% end %>
<% end %>
</tbody>
</table>
<span><%= link "New Performance", to: Routes.admin_performance_path(@conn, :new) %></span>
<span><%= link "Uusi näytös", to: Routes.admin_performance_path(@conn, :new) %></span>