Changeset 4144 for waeup/branches/ulif-rewrite
- Timestamp:
- 18 May 2009, 12:31:40 (15 years ago)
- Location:
- waeup/branches/ulif-rewrite/src/waeup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/app_templates/content.pt
r4139 r4144 4 4 <span tal:content="context/name">Sample University</span> 5 5 </h1> 6 7 <h2>Your faculties:</h2>8 9 <ul>10 <li tal:repeat="fac context/faculties/values">11 <a href="."12 tal:content="fac/title"13 tal:attributes="href python:view.url(fac)">14 Faculty Name15 </a>16 </li>17 </ul>18 6 19 7 <div> -
waeup/branches/ulif-rewrite/src/waeup/university/facultycontainer_templates/content.pt
r3879 r4144 1 <div tal:condition="python: not len(context.keys())"> 2 There are no faculties registered yet. 3 </div> 4 <div> 5 <div tal:repeat="faculty viewlet/getFaculties"> 6 <a href="" 7 tal:attributes="href faculty/id" 8 tal:content="faculty/name"> 9 The Faculty Name 10 </a> 1 <h2>Registered faculties:</h2> 2 3 4 <div tal:condition="python: not len(context.keys())"> 5 There are no faculties registered yet. 11 6 </div> 12 </div> 13 <div> 14 <form method="POST" 15 tal:attributes="action string:add"> 16 <input type="submit" name="addfaculty" value="Add" /> 17 </form> 18 </div> 7 8 <ul> 9 <li tal:repeat="fac context/values"> 10 <a href="." 11 tal:content="fac/title" 12 tal:attributes="href python:view.url(fac)"> 13 Faculty Name 14 </a> 15 </li> 16 </ul> 17 18 <div> 19 <form method="POST" 20 tal:attributes="action string:add"> 21 <input type="submit" name="addfaculty" value="Add" /> 22 </form> 23 </div>
Note: See TracChangeset for help on using the changeset viewer.