Set all pages inside section.main. Adding translations.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<h1>HALLINTA</h1>
|
||||
<section class="main">
|
||||
<h1>HALLINTA - Näytökset</h1>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
@@ -26,3 +27,4 @@
|
||||
</table>
|
||||
|
||||
<span><%= link "Uusi näytös", to: Routes.admin_performance_path(@conn, :new) %></span>
|
||||
</section>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<h1>Näytös</h1>
|
||||
<section class="main">
|
||||
<h1>Näytöksen tiedot</h1>
|
||||
|
||||
<ul>
|
||||
|
||||
@@ -16,3 +17,4 @@
|
||||
|
||||
<span><%= link "Muokkaa", to: Routes.admin_performance_path(@conn, :edit, @performance) %></span>
|
||||
<span><%= link "Takaisin", to: Routes.performance_path(@conn, :index) %></span>
|
||||
</section>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<h1>HALLINTA</h1>
|
||||
<section class="main">
|
||||
<h1>HALLINTA - Esiintyjät</h1>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
@@ -8,9 +9,6 @@
|
||||
<th>Sähköposti</th>
|
||||
<th>Puhelin numero</th>
|
||||
<th>Vahvistettu</th>
|
||||
<th>Seloste</th>
|
||||
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -21,7 +19,6 @@
|
||||
<td><%= performer.email %></td>
|
||||
<td><%= performer.tel %></td>
|
||||
<td><%= performer.confirmed %></td>
|
||||
<td><%= performer.desc %></td>
|
||||
|
||||
<td>
|
||||
<span><%= link "Lisätietoja", to: Routes.admin_performer_path(@conn, :show, performer) %></span>
|
||||
@@ -34,3 +31,4 @@
|
||||
</table>
|
||||
|
||||
<span><%= link "Uusi esiintyjä", to: Routes.admin_performer_path(@conn, :new) %></span>
|
||||
</section>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<section class="main">
|
||||
<h1>Esiintyjän tiedot</h1>
|
||||
|
||||
<ul>
|
||||
@@ -61,3 +62,4 @@
|
||||
|
||||
<span><%= link "Muokkaa", to: Routes.admin_performer_path(@conn, :edit, @performer) %></span>
|
||||
<span><%= link "Takaisin", to: Routes.performer_path(@conn, :index) %></span>
|
||||
</section>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<h1>Edit Visitor</h1>
|
||||
<h1>Muokkaa osallistujan tietoja</h1>
|
||||
|
||||
<%= render "form.html", Map.put(assigns, :action, Routes.admin_visitor_path(@conn, :update, @visitor)) %>
|
||||
|
||||
<span><%= link "Back", to: Routes.admin_visitor_path(@conn, :index) %></span>
|
||||
<span><%= link "Takaisin", to: Routes.admin_visitor_path(@conn, :index) %></span>
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
<h1>Listing Visitors</h1>
|
||||
<section class="main">
|
||||
<h1>Osallistujat</h1>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Fname</th>
|
||||
<th>Lname</th>
|
||||
<th>Email</th>
|
||||
<th>Tel</th>
|
||||
<th>Date1</th>
|
||||
<th>Date2</th>
|
||||
<th>Date3</th>
|
||||
<th>Bus</th>
|
||||
<th>Accom</th>
|
||||
<th>Etunimi</th>
|
||||
<th>Sukunimi</th>
|
||||
<th>Sähköposti</th>
|
||||
<th>Puhelinnumero</th>
|
||||
<th>Torstai</th>
|
||||
<th>Perjantai</th>
|
||||
<th>Lauantai</th>
|
||||
<th>Bussi</th>
|
||||
<th>Majoitus</th>
|
||||
|
||||
<th></th>
|
||||
</tr>
|
||||
@@ -30,13 +31,12 @@
|
||||
<td><%= visitor.accom %></td>
|
||||
|
||||
<td>
|
||||
<span><%= link "Show", to: Routes.admin_visitor_path(@conn, :show, visitor) %></span>
|
||||
<span><%= link "Edit", to: Routes.admin_visitor_path(@conn, :edit, visitor) %></span>
|
||||
<span><%= link "Delete", to: Routes.admin_visitor_path(@conn, :delete, visitor), method: :delete, data: [confirm: "Are you sure?"] %></span>
|
||||
<span><%= link "Lisätietoja", to: Routes.admin_visitor_path(@conn, :show, visitor) %></span>
|
||||
<span><%= link "Muokkaa", to: Routes.admin_visitor_path(@conn, :edit, visitor) %></span>
|
||||
<span><%= link "Poista", to: Routes.admin_visitor_path(@conn, :delete, visitor), method: :delete, data: [confirm: "Oletko varma?"] %></span>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<span><%= link "New Visitor", to: Routes.visitor_path(@conn, :new) %></span>
|
||||
</section>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<section class="main">
|
||||
<h1 id="registration-start">Ilmoittaudu vierailijaksi</h1>
|
||||
<h1 id="registration-start">Ilmoittaudu</h1>
|
||||
|
||||
<%= render "form.html", Map.put(assigns, :action, Routes.visitor_path(@conn, :create)) %>
|
||||
</section>
|
||||
|
||||
@@ -1,39 +1,40 @@
|
||||
<h1>Show Visitor</h1>
|
||||
<section class="main">
|
||||
<h1>Osallistujan tiedot</h1>
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<strong>Fname:</strong>
|
||||
<strong>Etunimi:</strong>
|
||||
<%= @visitor.fname %>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<strong>Lname:</strong>
|
||||
<strong>Sukunimi:</strong>
|
||||
<%= @visitor.lname %>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<strong>Email:</strong>
|
||||
<strong>Sähköposti:</strong>
|
||||
<%= @visitor.email %>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<strong>Tel:</strong>
|
||||
<strong>Puhelinnumero:</strong>
|
||||
<%= @visitor.tel %>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<strong>Date1:</strong>
|
||||
<strong>Torstai 22.7.:</strong>
|
||||
<%= @visitor.date1 %>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<strong>Date2:</strong>
|
||||
<strong>Perjantai 23.7.:</strong>
|
||||
<%= @visitor.date2 %>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<strong>Date3:</strong>
|
||||
<strong>Lauantai 24.7.:</strong>
|
||||
<%= @visitor.date3 %>
|
||||
</li>
|
||||
|
||||
@@ -49,5 +50,6 @@
|
||||
|
||||
</ul>
|
||||
|
||||
<span><%= link "Edit", to: Routes.admin_visitor_path(@conn, :edit, @visitor) %></span>
|
||||
<span><%= link "Back", to: Routes.admin_visitor_path(@conn, :index) %></span>
|
||||
<span><%= link "Muokkaa", to: Routes.admin_visitor_path(@conn, :edit, @visitor) %></span>
|
||||
<span><%= link "Takaisin", to: Routes.admin_visitor_path(@conn, :index) %></span>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user