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

« back to all changes in this revision

Viewing changes to ivle/webapp/submit/submit.html

  • Committer: Matt Giuca
  • Date: 2010-07-28 06:09:00 UTC
  • Revision ID: matt.giuca@gmail.com-20100728060900-6a0lcuexcv1juh5r
ivle/webapp/submit/submit.html: Rewrote error message when an offering could not be found to submit to. This can have one of several causes, and the old error assumed it was because you weren't in a subject dir. Now enumerates the possible reasons. (LP: #526853)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    <div id="ivle_padding">
9
9
      <py:choose test="offering">
10
10
        <div py:when="None">
11
 
          <p>You may not submit files from <span style="font-family: monospace">${path}</span> in
 
11
          <p>Error: IVLE could not find a valid offering to submit to, from <span style="font-family: monospace">${path}</span> in
12
12
            <py:choose test="">
13
13
              <span py:when="principal is req.user">your repository.</span>
14
14
              <span py:otherwise="">the repository for ${principal.display_name}.</span>
15
15
            </py:choose>
16
 
            You can only submit files from a subject directory.
 
16
            This may have one of the following causes:
17
17
          </p>
 
18
          <ul>
 
19
            <li>You are not in a subject directory. You can only submit files from a subject directory. For example, you cannot submit a file from your "<code>stuff</code>" directory.</li>
 
20
            <li>You are not enrolled in the subject of that name. You can only submit files to a subject you are enrolled in.</li>
 
21
            <li>You are enrolled in a past (or even future) offering of the subject. You can only submit files to a current offering of a subject.</li>
 
22
          </ul>
18
23
        </div>
19
24
        <div py:otherwise="">
20
25
          <p>You are submitting <span style="font-family: monospace">${path}</span> from