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

« back to all changes in this revision

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

  • Committer: David Coles
  • Date: 2010-02-13 00:59:09 UTC
  • Revision ID: coles.david@gmail.com-20100213005909-ecl1nd4g0criri21
docs: Don't show stubbed end user documentation. It looks bad, especially when some of it has lurked for years\!

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 />
 
70
                  <a class="verifyaction" href="${req.publisher.generate(project)}">View submissions</a>
 
71
                  <a py:if="project.project_set.is_group" class="manageaction"
 
72
                     href="${req.publisher.generate(project.project_set, GroupsView)}">Manage groups</a>
 
73
                </py:if>
68
74
              </li>
69
75
            </ul>
70
 
            <py:if test="context.get_open_projects_for_user(req.user).count() > 0">
71
 
              <p>
72
 
                To submit to a project that has not yet closed, use the file
73
 
                browser to navigate to the file or directory that you wish to
74
 
                submit, click &ldquo;More actions...&rdquo;,
75
 
                &ldquo;Submit&rdquo;, and then select the correct project.
76
 
              </p>
77
 
              <p>
78
 
                If the project to which you intend to submit is not listed,
79
 
                ensure that you are in the correct directory, or a subdirectory
80
 
                thereof. For solo projects, you must be inside the subject's
81
 
                &ldquo;mywork&rdquo; directory. For group projects, you must be
82
 
                inside the directory for the assigned group.
83
 
              </p>
84
 
              <p>
85
 
                You may resubmit a project as you wish until the deadline, but
86
 
                a new submission will overwrite any made earlier.
87
 
              </p>
88
 
            </py:if>
 
76
            <p py:if="context.get_open_projects_for_user(req.user).count() > 0">
 
77
              <a class="helpaction" href="/+help/Submitting%20a%20project">Help submitting a project</a>
 
78
            </p>
89
79
          </py:otherwise>
90
80
        </py:choose>
91
81
 
96
86
        </a>
97
87
      </div>
98
88
 
99
 
      <div py:if="'edit' in permissions or context.worksheets.count() > 0"
 
89
      <div py:if="'edit_worksheets' in permissions or context.worksheets.count() > 0"
100
90
           class="majorsection">
101
91
        <h2>Worksheets</h2>
102
92
        <py:choose test="context.worksheets.count()">
130
120
                <span style="font-weight: bold;">Mark:</span> ${worksheet_mark}/${worksheet_max_mark}
131
121
              </p>
132
122
            </py:if>
133
 
            <a py:if="'edit' in permissions"
134
 
               class="manageaction"
135
 
               href="${req.publisher.generate(context, None, ('+worksheets', '+edit'))}">
136
 
              Manage worksheets
137
 
            </a><br />
138
 
            <a py:if="'edit' in permissions"
139
 
               class="manageaction"
140
 
               href="/+exercises">
141
 
              Manage exercises
142
 
            </a>
 
123
            <span py:if="'edit_worksheets' in permissions">
 
124
              <a class="manageaction" href="${req.publisher.generate(context, None, ('+worksheets', '+edit'))}"> Manage worksheets</a>
 
125
              <br />
 
126
              <a class="manageaction" href="/+exercises">Manage exercises</a>
 
127
            </span>
143
128
          </div>
144
129
        </py:choose>
145
130
      </div>