app/soc/templates/soc/org_admin/manage.html
changeset 2330 068540d91bde
parent 1955 06ed84dbb1ed
equal deleted inserted replaced
2329:4e487ffd4102 2330:068540d91bde
    21 <div class="error">{{ resign_error }}</div>
    21 <div class="error">{{ resign_error }}</div>
    22 <tr>
    22 <tr>
    23   <td>
    23   <td>
    24     Please select the appropriate action:</br>
    24     Please select the appropriate action:</br>
    25     <input type="button" onclick="location.href='/{{ url_name }}/manage/{{ entity.scope_path }}/{{ entity.link_id }}?resign=true'" value="Resign"/>
    25     <input type="button" onclick="location.href='/{{ url_name }}/manage/{{ entity.scope_path }}/{{ entity.link_id }}?resign=true'" value="Resign"/>
    26     <input type="button" onclick="location.href='{{ cancel_redirect }}'" value="Cancel"/>
    26     {% if cancel_redirect %}
       
    27     <input type="button" 
       
    28       {% if entity %}
       
    29       onclick="location.href='{{ cancel_redirect }}'" 
       
    30       {% else %}
       
    31       onClick="javascript: history.go(-1)">
       
    32       {% endif %}
       
    33     value="Cancel"/>
       
    34     {% else %}
       
    35     <input type="button" value="Back to Previous Page" onClick="javascript:history.go(-1)">
       
    36     {% endif %}
    27   </td>
    37   </td>
    28 </tr>
    38 </tr>
    29 {% endblock %}
    39 {% endblock %}