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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/offering.html

  • Committer: William Grant
  • Date: 2010-02-15 07:30:52 UTC
  • Revision ID: grantw@unimelb.edu.au-20100215073052-28tc9azmtzdm6cr0
Add a horizontalactions class, which spaces horizontal actions nicely. Use it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
                </py:if>
66
66
                <br />
67
67
                ${project.synopsis}
68
 
                <py:if test="'view_project_submissions' in permissions">
69
 
                  <br />
 
68
                <div class="horizontalactions" py:if="'view_project_submissions' in permissions">
70
69
                  <a class="verifyaction" href="${req.publisher.generate(project)}">View submissions</a>
71
70
                  <a py:if="project.project_set.is_group" class="groupaction"
72
71
                     href="${req.publisher.generate(project.project_set, GroupsView)}">Manage groups</a>
73
 
                </py:if>
 
72
                </div>
74
73
              </li>
75
74
            </ul>
76
75
            <p py:if="context.get_open_projects_for_user(req.user).count() > 0">
120
119
                <span style="font-weight: bold;">Mark:</span> ${worksheet_mark}/${worksheet_max_mark}
121
120
              </p>
122
121
            </py:if>
123
 
            <span py:if="'edit_worksheets' in permissions">
 
122
            <div class="horizontalactions" py:if="'edit_worksheets' in permissions">
124
123
              <a class="manageaction" href="${req.publisher.generate(context, None, ('+worksheets', '+edit'))}"> Manage worksheets</a>
125
 
              <br />
126
124
              <a class="manageaction" href="/+exercises">Manage exercises</a>
127
 
            </span>
 
125
            </div>
128
126
          </div>
129
127
        </py:choose>
130
128
      </div>