src/pyams_skin/templates/header.pt
changeset 1 7fc1c60c01eb
parent 0 bb4aabe07487
child 41 c2adb9c9c4f0
--- a/src/pyams_skin/templates/header.pt	Thu Feb 19 10:59:00 2015 +0100
+++ b/src/pyams_skin/templates/header.pt	Sat Feb 21 13:52:31 2015 +0100
@@ -1,6 +1,12 @@
 <tal:if define="header view.header"
 		condition="header">
-	<h1 class="page-title">
+	<h1 class="page-title" tal:define="back_url header.back_url | nothing">
+		<a class="font-xs hint" data-ams-target="#content"
+		   title="Back to previous page"
+		   tal:condition="back_url"
+		   tal:attributes="href back_url">
+			<i class="fa fa-fw fa-step-backward"></i>
+		</a>
 		<i tal:attributes="class header.icon_class"></i>
 		<tal:var content="header.title" />
 		<tal:if condition="header.subtitle">