source: main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt @ 7692

Last change on this file since 7692 was 7677, checked in by Henrik Bettermann, 13 years ago

Translate student registration worklow titles, messages and destination states.

Show translated states on pages.

File size: 4.0 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" i18n:domain="waeup.sirp">
3  <head>
4    <title>WAeUP - your way up
5    </title>
6    <!--base href="http://localhost:8080/app/@@page"
7     tal:attributes="href python: view.url(layout.site)" / -->
8    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
9    <meta name="robots" content="index, follow" />
10    <meta name="viewport" content="width=320, initial-scale=1, maximum-scale=1"/>
11    <link rel="stylesheet" media="only screen and (max-device-width: 480px)"
12        tal:attributes="href python: view.url(layout.site, '@@/waeup.sirp.browser/mobile.css')"
13        type="text/css" />
14    <link rel="shortcut icon" tal:attributes="href static/favicon.ico" type="image/x-icon" />
15    <link rel="alternate" type="application/rss+xml" title="RSS"
16        href="http://www.example.net/feed.rss"
17        tal:attributes="title string:RSS feed of ${layout/getAppTitle};
18            href python: view.url(layout.site, 'feed.rss')" />
19  </head>
20  <body>
21    <div class="topbar" data-scrollspy="scrollspy" >
22      <div class="topbar-inner">
23        <div  class="container">
24          <a class="brand" href="#"
25              tal:attributes="href python: view.url(layout.site)"
26              tal:content="layout/getAppAcronym">Acronym</a>
27          <ul class="nav">
28              <tal:primary_nav content="structure provider:primary_nav" />
29              <tal:primary_nav content="structure provider:primary_nav_student" />
30          </ul>
31          <ul class="nav secondary-nav">
32            <li tal:condition="not: layout/isAuthenticated">
33            <a href="#" i18n:translate=""
34               tal:attributes="href python: view.url(layout.site, 'login')">
35                Login
36            </a>
37            </li>
38            <li tal:condition="layout/isAuthenticated">
39            <a href="#" i18n:translate=""
40               tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
41                Contact
42            </a>
43            </li>
44            <li tal:condition="layout/isAuthenticated">
45            <a href="#" i18n:translate=""
46               tal:attributes="href python: view.url(context, '@@logout')">Logout</a>
47            </li>
48          </ul>
49          <span class="language">
50            <tal:languages
51                  tal:content="structure provider:languages" /> |
52          </span>
53        </div>
54      </div>
55    </div>
56
57    <div class="container">
58      <ul class="student-info-bar" tal:condition="layout/isAuthenticated">
59        <tal:breadcrumbs
60              tal:condition="python: layout.isAuthenticated()"
61              tal:content="structure provider:breadcrumbs" />
62        <span tal:condition="layout/getStudentName" class="wfstatus">
63            <span tal:replace="python:context.getStudent().student_id">Id
64            </span>
65            |
66            <span tal:replace="python:context.getStudent().translated_state">State
67            </span>
68        </span>
69      </ul>
70      <div class="content">
71        <div class="actionbar" tal:condition="provider:actionbar">
72          <tal:actionbar content="structure provider:actionbar" />&nbsp;
73        </div>
74        <div tal:define="message context/@@messages"
75             tal:condition="python: len(message)>11">
76          <div tal:content="structure message">
77          </div>
78        </div>
79        <div class="alert-message error"
80          tal:define="status view/status|nothing"
81          tal:condition="status">
82          Form Status:
83          <span tal:content="view/status">
84            Form status summary
85          </span>
86        </div>
87        <h1 tal:condition="view/label|nothing"
88            tal:content="view/label">Label</h1>
89        <div tal:content="structure view/content"> THE CONTENT
90        </div>
91        <div class="footer">
92          <p>
93            Student Information and Registration Portal<br />
94            Copyright &copy; WAeUP Group, 2008-2012
95          </p>
96        </div>
97      </div>
98    </div>
99  </body>
100</html>
Note: See TracBrowser for help on using the repository browser.