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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/subjects-manage.html

  • Committer: Matt Giuca
  • Date: 2010-02-23 05:27:07 UTC
  • Revision ID: matt.giuca@gmail.com-20100223052707-3a76wo23r2z503t8
browser.js: Adjusted condition for enabling "Commit" action; now allowed if
    no files are selected AND current directory is versioned (as well as if
    all selected files are versioned). Committing with 0 files selected will
    commit the current directory.
ivle.fileservice_lib.action: Fixed to allow commit to contain 0 paths. This
    will commit the current directory instead.
This fixes Launchpad bug #526161.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
          <thead><tr><th>Subject</th><th>Code</th><th>Actions</th></tr></thead>
13
13
          <tbody>
14
14
            <tr py:for="subject in subjects">
15
 
              <td><a href="${req.publisher.generate(subject, SubjectView)}" title="Subject offerings">${subject.name}</a></td>
 
15
              <td>${subject.name}</td>
16
16
              <td>${subject.code}</td>
17
17
              <td>
18
18
                <a href="${req.publisher.generate(subject, SubjectEdit)}" title="Edit"><img src="${mediapath + 'interface/pencil.png'}" alt="Edit" /></a>
32
32
          <tbody>
33
33
            <tr py:for="semester in semesters">
34
34
              <td>${semester.year}</td>
35
 
              <td>${semester.display_name}</td>
 
35
              <td>${semester.semester}</td>
36
36
              <td>${semester.state}</td>
37
37
              <td>
38
38
                <a href="${req.publisher.generate(semester, SemesterEdit)}" title="Edit"><img src="${mediapath + 'interface/pencil.png'}" alt="Edit" /></a>