- Timestamp:
- 9 Feb 2007, 15:37:49 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/doc/srp_documentation.mm
r1402 r1403 5 5 <node CREATED="1170079621592" ID="Freemind_Link_1297017754" MODIFIED="1170079640872" TEXT="Campus"> 6 6 <node CREATED="1170079643589" FOLDED="true" ID="Freemind_Link_1231068129" MODIFIED="1170080364243" TEXT="Academics"> 7 <node CREATED="1170080366716" ID="Freemind_Link_415048819" MODIFIED="1170082092260" TEXT="n * Faculty">7 <node CREATED="1170080366716" FOLDED="true" ID="Freemind_Link_415048819" MODIFIED="1170082092260" TEXT="n * Faculty"> 8 8 <node CREATED="1170080406892" ID="Freemind_Link_1983042340" MODIFIED="1170082108154" TEXT="n * Department"> 9 9 <node CREATED="1170080420252" ID="Freemind_Link_290613406" MODIFIED="1170080430310" TEXT="Courses"> … … 17 17 </node> 18 18 </node> 19 <node CREATED="1171014630747" ID="Freemind_Link_21788009" MODIFIED="1171014635284" TEXT="Imports"/> 19 20 </node> 20 21 <node CREATED="1170082138244" ID="Freemind_Link_1354366927" MODIFIED="1170082146391" TEXT="Students"> 21 22 <node CREATED="1170082147831" ID="Freemind_Link_115332414" MODIFIED="1170082160733" TEXT="n * Student"> 22 <node CREATED="1170082164451" ID="Freemind_Link_1627718074" MODIFIED="1170082180091" TEXT="Application">23 <node CREATED="1170082164451" FOLDED="true" ID="Freemind_Link_1627718074" MODIFIED="1170082180091" TEXT="Application"> 23 24 <node CREATED="1170083733194" ID="Freemind_Link_1398132513" MODIFIED="1170862024807" TEXT="Id: application"/> 24 <node CREATED="1170083603042" ID="Freemind_Link_4951906" LINK=" https://trac.waeup.org/browser/WAeUP_SRP/trunk/profiles/default/types/StudentApplication.xml?format=raw" MODIFIED="1170860609710" TEXT="Type: StudentApplication"/>25 <node CREATED="1170083649773" ID="Freemind_Link_1139787187" LINK="../profiles/default/schemas/student_application.xml" MODIFIED="117 0958938456" TEXT="Schema: student_application"/>25 <node CREATED="1170083603042" ID="Freemind_Link_4951906" LINK="../profiles/default/types/StudentApplication.xml" MODIFIED="1171009517689" TEXT="Type: StudentApplication"/> 26 <node CREATED="1170083649773" ID="Freemind_Link_1139787187" LINK="../profiles/default/schemas/student_application.xml" MODIFIED="1171009482163" TEXT="Schema: student_application"/> 26 27 <node CREATED="1170883343230" ID="Freemind_Link_158025710" MODIFIED="1170883350237" TEXT="Forms"> 27 28 <node CREATED="1170883352226" ID="Freemind_Link_847687960" MODIFIED="1170883352226" TEXT=""/> 28 29 </node> 29 30 </node> 30 <node CREATED="1170082180802" ID="Freemind_Link_812719734" MODIFIED="1170082187858" TEXT="Clearance">31 <node CREATED="1170082180802" FOLDED="true" ID="Freemind_Link_812719734" MODIFIED="1170082187858" TEXT="Clearance"> 31 32 <node CREATED="1170083733194" ID="Freemind_Link_1823044370" MODIFIED="1170862044390" TEXT="Id: clearance"/> 32 <node CREATED="1170083603042" ID="Freemind_Link_1641808385" LINK=" https://trac.waeup.org/browser/WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml" MODIFIED="1170860373581" TEXT="Type: StudentClearance"/>33 <node CREATED="1170083603042" ID="Freemind_Link_1641808385" LINK="../profiles/default/types/StudentClearance.xml" MODIFIED="1171009882288" TEXT="Type: StudentClearance"/> 33 34 <node CREATED="1170083649773" ID="Freemind_Link_1281565507" LINK="../profiles/default/schemas/student_clearance.xml" MODIFIED="1170958977813" TEXT="Schema: student_clearance"/> 34 35 </node> 35 <node CREATED="1170082180802" ID="Freemind_Link_634523864" MODIFIED="1170862191693" TEXT="Personal">36 <node CREATED="1170082180802" FOLDED="true" ID="Freemind_Link_634523864" MODIFIED="1170862191693" TEXT="Personal"> 36 37 <node CREATED="1170083733194" ID="Freemind_Link_1809756717" MODIFIED="1170862205697" TEXT="Id: personal"/> 37 <node CREATED="1170083603042" ID="Freemind_Link_212388289" LINK=" https://trac.waeup.org/browser/WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml?format=raw" MODIFIED="1170862281083" TEXT="Type: StudentPersonal"/>38 <node CREATED="1170083603042" ID="Freemind_Link_212388289" LINK="../profiles/default/types/StudentPersonal.xml" MODIFIED="1171010050967" TEXT="Type: StudentPersonal"/> 38 39 <node CREATED="1170083649773" ID="Freemind_Link_329050457" LINK="../profiles/default/schemas/student_personal.xml" MODIFIED="1170959011444" TEXT="Schema: student_personal"/> 39 40 </node> 40 41 <node CREATED="1170082392807" ID="Freemind_Link_1979443941" MODIFIED="1170862215735" TEXT="StudyCourse"> 41 <node CREATED="1170930140692" ID="Freemind_Link_607082969" MODIFIED="1170930261851" TEXT="Id: study_course"/> 42 <node CREATED="1170930264337" ID="Freemind_Link_1384807180" MODIFIED="1170930283226" TEXT="Type: StudentStudyCourse"/> 43 <node CREATED="1170930285073" ID="Freemind_Link_1989199190" LINK="../profiles/default/schemas/student_study_course.xml" MODIFIED="1170959056776" TEXT="Schema: student_study_course"/> 42 <node CREATED="1170930140692" ID="Freemind_Link_607082969" MODIFIED="1171009488850" TEXT="Id: study_course"/> 43 <node CREATED="1170930264337" ID="Freemind_Link_1384807180" LINK="../profiles/default/types/StudentStudyCourse.xml" MODIFIED="1171009934935" TEXT="Type: StudentStudyCourse"/> 44 <node CREATED="1170930285073" ID="Freemind_Link_1989199190" LINK="../profiles/default/schemas/student_study_course.xml" MODIFIED="1171016022394" TEXT="Schema: student_study_course"/> 45 <node CREATED="1171015856280" ID="Freemind_Link_86536977" LINK="../profiles/default/layouts/student_study_course.xml" MODIFIED="1171016046195" TEXT="Layout: student_study_course"/> 44 46 <node CREATED="1170082404788" FOLDED="true" ID="Freemind_Link_1932365066" MODIFIED="1170082416832" TEXT="n * Level"> 45 47 <node CREATED="1170082419140" ID="Freemind_Link_1356993815" MODIFIED="1170082470528" TEXT="n * CourseResult"/> 46 48 </node> 47 49 </node> 48 <node CREATED="1170082200667" ID="Freemind_Link_140160478" MODIFIED="1170082364784" TEXT="Payments">50 <node CREATED="1170082200667" FOLDED="true" ID="Freemind_Link_140160478" MODIFIED="1170082364784" TEXT="Payments"> 49 51 <node CREATED="1170883263996" ID="Freemind_Link_39098989" LINK="../profiles/default/schemas/payment.xml" MODIFIED="1170959080069" TEXT="Schema: payment"/> 50 52 <node CREATED="1170082366149" ID="Freemind_Link_1718065298" MODIFIED="1170082387769" TEXT="n * Payment"/> 51 53 </node> 52 54 </node> 55 <node CREATED="1171014603296" ID="Freemind_Link_592162547" MODIFIED="1171014611096" TEXT="Imports"/> 53 56 </node> 54 57 <node CREATED="1170082502675" FOLDED="true" ID="Freemind_Link_1051871348" MODIFIED="1170082511430" TEXT="Accommodation"> -
WAeUP_SRP/trunk/profiles/default/catalog.xsl
r1402 r1403 5 5 <html> 6 6 <body> 7 <head> 8 <title> 9 <xsl:value-of select="object/name"/> 10 </title> 11 <link rel="stylesheet" type="text/css" media="all" 12 href="xsl.css" /> 13 </head> 7 14 <xsl:for-each select="object"> 8 15 <h2> -
WAeUP_SRP/trunk/profiles/default/courses_catalog.xml
r1146 r1403 1 1 <?xml version="1.0"?> 2 <object name="portal_catalog" meta_type="CMF Catalog"> 2 <?xml-stylesheet type="text/xsl" href="catalog.xsl"?> 3 <object name="courses_catalog" meta_type="CMF Catalog"> 3 4 <column value="code"/> 4 5 <column value="faculty"/> -
WAeUP_SRP/trunk/profiles/default/layouts/layout.xsl
r1397 r1403 4 4 <xsl:template match="/"> 5 5 <html> 6 <head> 7 <title> 8 <xsl:value-of select="object/name"/> 9 </title> 10 <link rel="stylesheet" type="text/css" media="all" 11 href="../xsl.css" /> 12 </head> 6 13 <body> 7 14 <xsl:for-each select="object"> 8 <div> 9 <xsl:value-of select="@name"/> 10 </div> 15 <h1><xsl:value-of select="@name"/></h1> 11 16 </xsl:for-each> 17 <h1>Layout</h1> 18 <table> 19 <xsl:for-each select="object/table/row"> 20 <xsl:variable name="color"> 21 <xsl:choose> 22 <xsl:when test="position() mod 2 = 0"> 23 <xsl:text>#ffffff</xsl:text> 24 </xsl:when> 25 <xsl:otherwise> 26 <xsl:text>#eeeeee</xsl:text> 27 </xsl:otherwise> 28 </xsl:choose> 29 </xsl:variable> 30 <tr style="background-color:{$color}"> 31 <xsl:for-each select="cell"> 32 <td> 33 <xsl:value-of select="@name"/> 34 </td> 35 </xsl:for-each> 36 </tr> 37 </xsl:for-each> 38 </table> 12 39 <h1>Properties</h1> 13 <xsl:for-each select="object/property"> 14 Property : 15 <div> 16 <xsl:value-of select="@name"/>: <xsl:value-of select="text()"/> 17 </div> 18 </xsl:for-each> 40 <table> 41 <xsl:for-each select="object/property"> 42 <xsl:variable name="color"> 43 <xsl:choose> 44 <xsl:when test="position() mod 2 = 0"> 45 <xsl:text>#ffffff</xsl:text> 46 </xsl:when> 47 <xsl:otherwise> 48 <xsl:text>#eeeeee</xsl:text> 49 </xsl:otherwise> 50 </xsl:choose> 51 </xsl:variable> 52 <tr style="background-color:{$color}"> 53 <td> 54 <xsl:value-of select="@name"/> 55 </td> 56 <td> 57 <xsl:value-of select="text()"/> 58 </td> 59 </tr> 60 </xsl:for-each> 61 </table> 19 62 <h1>Widgets</h1> 20 <xsl:for-each select="object/widget"> 21 <div>Widget: <xsl:value-of select="@name"/> 22 Type:<xsl:value-of select="@meta_type"/> 23 </div> 24 <div>Properties:</div> 25 <xsl:for-each select="property"> 26 <div> 27 <xsl:value-of select="@name"/>: <xsl:value-of select="text()"/> 28 </div> 29 <div> 30 <xsl:value-of select="element"/> 31 </div> 32 <br/> 63 <table> 64 <xsl:for-each select="object/widget"> 65 <xsl:variable name="color"> 66 <xsl:choose> 67 <xsl:when test="position() mod 2 = 0"> 68 <xsl:text>#ffffff</xsl:text> 69 </xsl:when> 70 <xsl:otherwise> 71 <xsl:text>#eeeeee</xsl:text> 72 </xsl:otherwise> 73 </xsl:choose> 74 </xsl:variable> 75 <tr style="background-color:{$color}"> 76 <th> 77 <xsl:value-of select="@name"/> 78 </th> 79 <td colspan="2"> 80 <xsl:value-of select="@meta_type"/> 81 </td> 82 </tr> 83 <tr style="background-color:{$color}"> 84 <th colspan="3"> 85 Properties: 86 </th> 87 </tr> 88 <xsl:for-each select="property"> 89 <tr style="background-color:{$color}"> 90 <th> 91 <xsl:value-of select="@name"/> 92 </th> 93 <td> 94 <xsl:value-of select="text()"/> 95 </td> 96 <td> 97 <xsl:for-each select="element"> 98 <xsl:value-of select="@value"/> 99 </xsl:for-each> 100 </td> 101 </tr> 102 </xsl:for-each> 33 103 </xsl:for-each> 34 </ xsl:for-each>104 </table> 35 105 </body> 36 106 </html> -
WAeUP_SRP/trunk/profiles/default/layouts/student_study_course.xml
r1025 r1403 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="layout.xsl"?> 2 3 <object name="student_study_course" meta_type="CPS Layout"> 3 4 <property name="layout_create_method"></property> … … 7 8 <property name="flexible_widgets"/> 8 9 <property name="validate_values_expr"></property> 9 <widget name="title" meta_type="String Widget">10 <property name="title">Certificate</property>11 <property name="fields">12 <element value="title"/>13 </property>14 <property name="is_required">False</property>15 <property name="label">Certificate</property>16 <property name="label_edit">Certificate</property>17 <property name="readonly_layout_modes"/>18 <property name="hidden_layout_modes"/>19 <property name="hidden_readonly_layout_modes"/>20 </widget>21 10 <widget name="study_course" meta_type="StudyCourse Widget"> 22 11 <property name="title">Certificate Code</property> … … 31 20 <property name="hidden_readonly_layout_modes"/> 32 21 </widget> 22 <widget name="current_level" meta_type="String Widget"> 23 <property name="title">Current Studylevel</property> 24 <property name="fields"> 25 <element value="current_level"/> 26 </property> 27 <property name="is_required">False</property> 28 <property name="label">Current Studylevel</property> 29 <property name="label_edit">Current Studylevel</property> 30 <property name="readonly_layout_modes"/> 31 <property name="hidden_layout_modes"/> 32 <property name="hidden_readonly_layout_modes"/> 33 </widget> 34 <widget name="current_verdict" meta_type="String Widget"> 35 <property name="title">Current Verdict</property> 36 <property name="fields"> 37 <element value="current_verdict"/> 38 </property> 39 <property name="is_required">False</property> 40 <property name="label">Current Verdict</property> 41 <property name="label_edit">Current Verdict</property> 42 <property name="readonly_layout_modes"/> 43 <property name="hidden_layout_modes"/> 44 <property name="hidden_readonly_layout_modes"/> 45 </widget> 33 46 <table> 34 47 <row> 35 48 <cell name="study_course"/> 36 49 </row> 50 <row> 51 <cell name="current_verdict"/> 52 </row> 53 <row> 54 <cell name="current_level"/> 55 </row> 37 56 </table> 38 57 </object> -
WAeUP_SRP/trunk/profiles/default/payments_catalog.xml
r1147 r1403 1 1 <?xml version="1.0"?> 2 <object name="portal_catalog" meta_type="CMF Catalog"> 2 <?xml-stylesheet type="text/xsl" href="catalog.xsl"?> 3 <object name="payments_catalog" meta_type="CMF Catalog"> 3 4 <column value="id"/> 4 5 <column value="student_id"/> -
WAeUP_SRP/trunk/profiles/default/schemas/schema.xsl
r1401 r1403 4 4 <xsl:template match="/"> 5 5 <html> 6 <head> 7 <title> 8 <xsl:value-of select="object/name"/> 9 </title> 10 <link rel="stylesheet" type="text/css" media="all" 11 href="../xsl.css" /> 12 </head> 6 13 <body> 7 14 <xsl:for-each select="object"> -
WAeUP_SRP/trunk/profiles/default/students_catalog.xml
r1401 r1403 1 1 <?xml version="1.0"?> 2 2 <?xml-stylesheet type="text/xsl" href="catalog.xsl"?> 3 <object name=" portal_catalog" meta_type="WAeUP Table">3 <object name="students_catalog" meta_type="WAeUP Table"> 4 4 <column value="id"/> 5 5 <column value="matric_no"/> -
WAeUP_SRP/trunk/profiles/default/types/Certificate.xml
r873 r1403 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="types.xsl"?> 2 3 <object name="Certificate" meta_type="CPS Flexible Type Information" 3 4 xmlns:i18n="http://xml.zope.org/namespaces/i18n"> -
WAeUP_SRP/trunk/profiles/default/types/StudentApplication.xml
r873 r1403 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="types.xsl"?> 2 3 <object name="StudentApplication" meta_type="CPS Flexible Type Information" 3 4 xmlns:i18n="http://xml.zope.org/namespaces/i18n"> -
WAeUP_SRP/trunk/profiles/default/types/StudentClearance.xml
r895 r1403 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="types.xsl"?> 2 3 <object name="StudentClearance" meta_type="CPS Flexible Type Information" 3 4 xmlns:i18n="http://xml.zope.org/namespaces/i18n"> -
WAeUP_SRP/trunk/profiles/default/types/StudentPersonal.xml
r1209 r1403 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="types.xsl"?> 2 3 <object name="StudentPersonal" meta_type="CPS Flexible Type Information" 3 4 xmlns:i18n="http://xml.zope.org/namespaces/i18n"> -
WAeUP_SRP/trunk/profiles/default/types/StudentStudyCourse.xml
r731 r1403 1 1 <?xml version="1.0"?> 2 <?xml-stylesheet type="text/xsl" href="types.xsl"?> 2 3 <object name="StudentStudyCourse" meta_type="CPS Flexible Type Information" 3 4 xmlns:i18n="http://xml.zope.org/namespaces/i18n"> -
WAeUP_SRP/trunk/skins/waeup_student/getStudyCourseInfo.py
r1380 r1403 27 27 return None 28 28 sbrain = res[0] 29 info['student'] = sbrain 29 30 cert_id = sbrain.course 30 31 res = context.portal_catalog(portal_type = "Certificate", id = cert_id) -
WAeUP_SRP/trunk/skins/waeup_student/study_course_view.pt
r1380 r1403 13 13 <h3> 14 14 <span tal:condition="python:is_so and info"> 15 <span tal:content="info/student/ Title" />:15 <span tal:content="info/student/name" />: 16 16 </span> 17 17 <span tal:content="here/title_or_id" />
Note: See TracChangeset for help on using the changeset viewer.