Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed Template Zurück-Button

  • Loading branch information...
commit b0d21ef5372ae06efddda74d7f92f08cd47d677a 1 parent 8397978
@KyleRogers authored
View
2  app/assets/stylesheets/main.less
@@ -82,7 +82,7 @@ body, label, h1, h2, h3, input {
display:block;
margin-left: auto;
margin-right: auto;
- width:155px;
+ width:160px;
font-weight:bold;
}
View
4 app/views/foto.scala.html
@@ -11,9 +11,9 @@
<div id="foto-blaetterer">
<p>
@album.vorhergehendePosition(foto).map { pos =>
- <a id="vorhergehendesBild" href="@routes.FotoVorfuehrer.fotoalbum(album.besitzer.name, pos)">Zur&uuml;ck &gt;&gt;&gt;</a>
+ <a id="vorhergehendesBild" href="@routes.FotoVorfuehrer.fotoalbum(album.besitzer.name, pos)">&lt;&lt;&lt; Zur&uuml;ck</a>
}.getOrElse {
- Zur&uuml;ck &gt;&gt;&gt;
+ &lt;&lt;&lt; Zur&uuml;ck
}
&nbsp;|&nbsp;
@album.naechstePosition(foto).map { pos =>
View
6 test/net/cyphoria/weddingapp/templates/FotoTemplateTest.scala
@@ -22,6 +22,12 @@ class FotoTemplateTest extends Specification {
foto.body must contain("Fotoalbum von Teresa")
}
+ "ermöglicht das Blättern im Album" in {
+ foto.body must contain("Weiter &gt;&gt;&gt;")
+ foto.body must contain("&lt;&lt;&lt; Zur&uuml;ck")
+ }
+
+
"nicht den Schriftug getOrElse enthalten (Regressionstest)" in {
foto.body must not contain("getOrElse")
}
Please sign in to comment.
Something went wrong with that request. Please try again.