1 <tal:if define="header view.header" |
1 <tal:if define="header view.header" |
2 condition="header"> |
2 condition="header" i18n:domain="pyams_skin"> |
3 <h1 class="page-title" tal:define="back_url header.back_url | nothing"> |
3 <h1 class="page-title" tal:define="back_url header.back_url | nothing"> |
4 <a class="font-xs hint" data-ams-target="#content" |
4 <a class="font-xs hint" data-ams-target="#content" |
5 title="Back to previous page" |
5 title="Back to previous page" i18n:attributes="title" |
6 tal:condition="back_url" |
6 tal:condition="back_url" |
7 tal:attributes="href back_url; |
7 tal:attributes="href back_url; |
8 data-ams-target header.back_target | default;"> |
8 data-ams-target header.back_target | default;"> |
9 <i class="fa fa-fw fa-step-backward"></i> |
9 <i class="fa fa-fw fa-step-backward"></i> |
10 </a> |
10 </a> |
11 <i tal:attributes="class header.icon_class"></i> |
11 <i tal:attributes="class header.icon_class"></i> |
12 <tal:var content="header.title" /> |
12 <tal:var content="header.title" /> |
|
13 <div tal:condition="header.title_badge" |
|
14 tal:attributes="class header.title_badge_class" |
|
15 tal:content="header.title_badge"></div> |
13 <tal:if condition="header.subtitle"> |
16 <tal:if condition="header.subtitle"> |
14 <span><i class="fa fa-angle-right"></i> |
17 <span><i class="fa fa-angle-right"></i> |
15 <tal:var content="header.subtitle" /> |
18 <tal:var content="header.subtitle" /> |
|
19 <div tal:condition="header.subtitle_badge" |
|
20 tal:attributes="class header.subtitle_badge_class" |
|
21 tal:content="header.subtitle_badge"></div> |
16 </span> |
22 </span> |
17 </tal:if> |
23 </tal:if> |
18 </h1> |
24 </h1> |
19 </tal:if> |
25 </tal:if> |