~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:08:15 UTC
  • Revision ID: grantw@unimelb.edu.au-20100215070815-v4bxbf71ztpfpn33
Be a bit nicer when displaying the public mode userhello.

Show diffs side-by-side

added added

removed removed

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