A copy pass over the Finnish UI. The em-dash aside was doing the work of a second sentence in ten places, so it is a second sentence now, or gone. The sealed-score wording was wrong twice over: it promised "pisteet" when only other people's are hidden, and said "kirjoitat" when the reveal actually happens on save. Both fixed on the queue, the song page and the card badge.
30 lines
1.0 KiB
HTML
30 lines
1.0 KiB
HTML
{{define "content"}}
|
|
<h1>Palaute</h1>
|
|
<p class="muted">Ongelmat, ideat ja kaikki muu palaute samaan paikkaan. Yksi virke riittää.</p>
|
|
|
|
<form method="post" action="/report" class="stack">
|
|
<input type="hidden" name="from" value="{{.Data.From}}">
|
|
<label>Palaute
|
|
<textarea name="body" rows="6" maxlength="2000" required autofocus
|
|
placeholder="Esim. soittimeen kaipaisi kelausta."></textarea>
|
|
</label>
|
|
<button type="submit">Lähetä palaute</button>
|
|
</form>
|
|
<p class="muted small">Lähetämme mukaan sivun, jolla olit ({{.Data.From}}), sekä selaimen tiedot.</p>
|
|
|
|
{{with .Data.Mine}}
|
|
<section>
|
|
<h2>Omat palautteet</h2>
|
|
{{range .}}
|
|
<article class="review{{if .Open}} own{{end}}">
|
|
<header>
|
|
<span class="badge {{if .Open}}pending{{else}}reviewed{{end}}">{{if .Open}}avoin{{else}}käsitelty{{end}}</span>
|
|
<span class="meta">{{fidate .CreatedAt}}{{if .Page}} · {{.Page}}{{end}}</span>
|
|
</header>
|
|
<p>{{.Body}}</p>
|
|
</article>
|
|
{{end}}
|
|
</section>
|
|
{{end}}
|
|
{{end}}
|