commit 053bab50de9e60bd539ef00ab29e507fcd908ca8
parent 0dcc03f00e39e8b573b839df89b54df3d9fb8608
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 26 Oct 2013 13:17:52 +0200
use sure in template
Diffstat:
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/static/main.css b/static/main.css
@@ -15,6 +15,10 @@ h1 a, #about {
text-decoration: none;
}
+.darklink{
+ color: white;
+}
+
header {
background: black;
overflow: auto;
@@ -157,3 +161,7 @@ header form input {
margin-bottom: 0;
width: 7em;
}
+
+.warning {
+ font-style: italic;
+}
diff --git a/templates/page.html b/templates/page.html
@@ -112,7 +112,20 @@ pour :
{% else %}
for:
{% endif %}
-<strong>{{ keys[0][-1] }}</strong></p>
+<strong>{{ keys[0][-1] }}</strong>
+{% if not sure %}
+<br/>
+<span class="warning">
+{% if lang == 'fr' %}
+(prononciation inférée automatiquement, si elle est fausse <a
+ href="/about#help" class="darklink">précisez-la manuellement</a>)
+{% else %}
+(pronunciation was inferred automatically, if it is wrong please <a
+ href="/about#help" class="darklink">supply it by hand</a>
+{% endif %}
+</span>
+{% endif %}
+</p>
{%endif%}
</header>