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
RevLine 
[6690]1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[7674]2<html xmlns="http://www.w3.org/1999/xhtml" i18n:domain="waeup.sirp">
[6690]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)"
[7459]12        tal:attributes="href python: view.url(layout.site, '@@/waeup.sirp.browser/mobile.css')"
13        type="text/css" />
[6690]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>
[7459]20  <body>
21    <div class="topbar" data-scrollspy="scrollspy" >
22      <div class="topbar-inner">
23        <div  class="container">
[7461]24          <a class="brand" href="#"
25              tal:attributes="href python: view.url(layout.site)"
26              tal:content="layout/getAppAcronym">Acronym</a>
[7459]27          <ul class="nav">
[7184]28              <tal:primary_nav content="structure provider:primary_nav" />
[6693]29              <tal:primary_nav content="structure provider:primary_nav_student" />
[7459]30          </ul>
31          <ul class="nav secondary-nav">
32            <li tal:condition="not: layout/isAuthenticated">
[7674]33            <a href="#" i18n:translate=""
34               tal:attributes="href python: view.url(layout.site, 'login')">
[7459]35                Login
36            </a>
37            </li>
38            <li tal:condition="layout/isAuthenticated">
[7674]39            <a href="#" i18n:translate=""
40               tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
[7459]41                Contact
42            </a>
43            </li>
44            <li tal:condition="layout/isAuthenticated">
[7674]45            <a href="#" i18n:translate=""
46               tal:attributes="href python: view.url(context, '@@logout')">Logout</a>
[7459]47            </li>
48          </ul>
[7674]49          <span class="language">
50            <tal:languages
51                  tal:content="structure provider:languages" /> |
52          </span>
[6690]53        </div>
54      </div>
[7459]55    </div>
[7674]56
[7459]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
[7551]64            </span>
65            |
[7677]66            <span tal:replace="python:context.getStudent().translated_state">State
[7459]67            </span>
68        </span>
69      </ul>
70      <div class="content">
[7469]71        <div class="actionbar" tal:condition="provider:actionbar">
[7635]72          <tal:actionbar content="structure provider:actionbar" />&nbsp;
[7469]73        </div>
[7459]74        <div tal:define="message context/@@messages"
75             tal:condition="python: len(message)>11">
76          <div tal:content="structure message">
[6690]77          </div>
78        </div>
[7463]79        <div class="alert-message error"
80          tal:define="status view/status|nothing"
81          tal:condition="status">
82          Form Status:
[7669]83          <span tal:content="view/status">
[7463]84            Form status summary
85          </span>
86        </div>
[7669]87        <h1 tal:condition="view/label|nothing"
[7630]88            tal:content="view/label">Label</h1>
[7459]89        <div tal:content="structure view/content"> THE CONTENT
[6690]90        </div>
[7459]91        <div class="footer">
92          <p>
93            Student Information and Registration Portal<br />
94            Copyright &copy; WAeUP Group, 2008-2012
95          </p>
96        </div>
[6690]97      </div>
98    </div>
99  </body>
100</html>
Note: See TracBrowser for help on using the repository browser.