~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/base/ivle-headings.html

  • Committer: William Grant
  • Date: 2009-07-05 07:54:29 UTC
  • mto: (1294.4.2 ui-the-third)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: grantw@unimelb.edu.au-20090705075429-qyh9midyp0v73gnv
Add export details for the breadcrumb chevron SVG.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
            <a href="/">
45
45
              <img src="${title_img}" alt="Informatics Virtual Learning Environment" />
46
46
            </a>
47
 
            <ul py:if="logged_in">
48
 
              <li py:for="app in apps_in_tabs">
49
 
                <a py:attrs="{'style': 'background: url(%s) no-repeat; padding-left: 30px' % app['icon_url']} if app['has_icon'] else {}" href="${app['path']}" title="${app['desc']}">${app['name']}</a>
50
 
              </li>
51
 
            </ul>
52
47
          </li>
53
 
          <py:for each="ancestor in ancestry" py:with="thiscrumb=crumb(ancestor)">
54
 
          <li py:if="thiscrumb">
55
 
            <py:choose test="getattr(thiscrumb, 'url', None)">
56
 
              <py:when test="None">
57
 
                <span>${thiscrumb.text}</span>
58
 
              </py:when>
59
 
              <py:otherwise>
60
 
                <a href="${thiscrumb.url}">
61
 
                  ${thiscrumb.text}
62
 
                </a>
63
 
              </py:otherwise>
64
 
            </py:choose>
65
 
            <ul py:if="hasattr(thiscrumb, 'menu')">
66
 
              <li py:for="item in thiscrumb.menu"><a href="${thiscrumb.menu[item]}">${item}</a></li>
67
 
            </ul>
 
48
          <py:for each="ancestor in ancestry">
 
49
          <li py:if="breadcrumb_text(ancestor)">
 
50
            <a href="${url(ancestor)}">
 
51
              ${breadcrumb_text(ancestor)}
 
52
            </a>
68
53
          </li>
69
54
          </py:for>
70
 
          <li py:for="thiscrumb in extra_breadcrumbs">
71
 
            <py:choose test="getattr(thiscrumb, 'url', None)">
72
 
              <py:when test="None">
73
 
                <span>${thiscrumb.text}</span>
74
 
              </py:when>
75
 
              <py:otherwise>
76
 
                <a href="${thiscrumb.url}">
77
 
                  ${thiscrumb.text}
78
 
                </a>
79
 
              </py:otherwise>
80
 
            </py:choose>
81
 
            <ul py:if="hasattr(thiscrumb, 'menu')">
82
 
              <li py:for="item in thiscrumb.menu"><a href="${thiscrumb.menu[item]}">${item}</a></li>
83
 
            </ul>
84
 
          </li>
85
55
        </ul>
86
56
        <div id="ivleheader_text">
87
57
          <py:choose>