app/templates/projrev/proposal/review_list.html
changeset 49 33c54f815fd5
parent 48 9bdb5a00689a
equal deleted inserted replaced
48:9bdb5a00689a 49:33c54f815fd5
     6 <div class="post">
     6 <div class="post">
     7   <div class="list">
     7   <div class="list">
     8   <table>
     8   <table>
     9     <tr>
     9     <tr>
    10       <th class="first">Serial No.</th>
    10       <th class="first">Serial No.</th>
       
    11       <th>Title</th>
    11       <th>MICR Code</th>
    12       <th>MICR Code</th>
    12       <th>Title</th>
       
    13       <th>Line Item</th>
    13       <th>Line Item</th>
    14       <th>Institution</th>
    14       <th>Institution</th>
    15       <th>State</th>
    15       <th>State</th>
    16       <th>District</th>
    16       <th>District</th>
    17       <th>Old Serial No.</th>
    17       <th>Old Serial No.</th>
    18     </tr>
    18     </tr>
    19     {% for project in projects %}
    19     {% for project in projects %}
    20       <tr class="row-a"><td>
    20       <tr class="row-a">
    21       {% if project.user_review %}
    21         <td>{{ project.project|serial_no:"new" }}</td>
    22       <a id='getredirect_{{ project.project|serial_no:"new" }}' href='{{ row_url }}{{ project.project.micr_code }}/{{ project.user_review.id }}'>
    22         <td>
    23       {% else %}
    23         {% if project.user_review %}
    24       <a id='getredirect_{{ project.project|serial_no:"new" }}' href='{{ row_url }}{{ project.project.micr_code }}'>
    24         <a id='getredirect_{{ project.project|serial_no:"new" }}' href='{{ row_url }}{{ project.project.micr_code }}/{{ project.user_review.id }}'>
    25       {% endif %}
    25         {% else %}
    26         {{ project.project|serial_no:"new" }}
    26         <a id='getredirect_{{ project.project|serial_no:"new" }}' href='{{ row_url }}{{ project.project.micr_code }}'>
    27         </td>
    27         {% endif %}{{ project.project.title }}</a></td>
    28         <td>{{ project.project.micr_code }}</td>
    28         <td>{{ project.project.micr_code }}</td>
    29         <td>{{ project.project.title }}</td>
       
    30         <td>{{ project.project.line_item }}</td>
    29         <td>{{ project.project.line_item }}</td>
    31         <td>{{ project.project.institution }}</td>
    30         <td>{{ project.project.institution }}</td>
    32         <td>{{ project.project.state }}</td>
    31         <td>{{ project.project.state }}</td>
    33         <td>{{ project.project.district }}</td>
    32         <td>{{ project.project.district }}</td>
    34         <td>{{ project.project|serial_no:"old" }}</td>
    33         <td>{{ project.project|serial_no:"old" }}</td>
    35       </a></tr>
    34       </tr>
    36     {% endfor %}
    35     {% endfor %}
    37   </table>
    36   </table>
    38   </div>
    37   </div>
    39 </div>
    38 </div>
    40 
    39 
    41 {% for project in projects %}
    40 {% for project in projects %}
    42 {% if project.not_this_proposal %}
    41 {% if project.not_this_proposal %}
    43 <div class='hidden' style="display: none;">
    42 <div class='hidden' style="display: none;">
    44  <div id='message_{{ project.project|serial_no:"new" }}' style='padding:10px; background:#fff;'>
    43  <div id='message_{{ project.project|serial_no:"new" }}' style='padding:10px; background:#fff;'>
    45   This proposal is revised after you submitted a review. You will have to submit a new review to the revised proposal. Select the relevant button below.<br /><br />
    44   This proposal is revised after you submitted a review. You will have to submit a new review to the revised proposal. Select the relevant button below.<br /><br />
    46   <input class="colorbox-button" type="submit" onclick="location.href='{{ row_url }}{{ project.project.micr_code }}'" value="Start a fresh review" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    45   <input class="colorbox-button" type="submit" onclick="location.href='{{ row_url }}{{ project.project.micr_code }}/{{ project.user_review.id }}?new=0'" value="Start with my previous review" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    47   <input class="colorbox-button" type="submit" onclick="location.href='{{ row_url }}{{ project.project.micr_code }}/{{ project.user_review.id }}?new=0'" value="Start with my previous review" /><br /><br />
    46   <input class="colorbox-button" type="submit" onclick="location.href='{{ row_url }}{{ project.project.micr_code }}'" value="Start a fresh review" /><br /><br />
    48   <strong>Your previous review:</strong><br />
    47   <strong>Your previous review:</strong><br />
    49  <div style='text-align: left;'>
    48  <div style='text-align: left;'>
    50  <table>
    49  <table>
    51  <tr>
    50  <tr>
    52   <td>
    51   <td>