Ignore:
Timestamp:
Nov 30, 2013, 9:51:49 PM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, stable, stage
Children:
aed3e6d
Parents:
00ec3e4
git-author:
Alex Dehnert <adehnert@…> (11/30/13 16:36:14)
git-committer:
Alex Dehnert <adehnert@…> (11/30/13 21:51:49)
Message:

Add pre-group-approval warnings

This fixes (enough, at least for now) several issues by adding warnings
to the approval page when certain constraints are violated:

  • ASA-#216: New group "ERROR:" emails should get suppressed earlier
  • ASA-#234: max locker name length
  • ASA-#246: Add reminders of common issues to the new group confirmation page
File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/groups/create/startup_review.html

    r172255b r7dde669  
    5151{% endif %}
    5252
     53{% if warnings %}
     54<div class='messagebox warnbox'>
     55<h3>Potential issues</h3>
     56
     57<p>The following potential issues were identified with this group's startup application:</p>
     58
     59<ul>
     60{% for warning in warnings %}
     61    <li>{{warning}}</li>
     62{%endfor%}
     63</ul>
     64
     65<p>Please look over these issues. Usually, you should <strong>reach out to the group</strong> and ask them to fix (or consider fixing) each issue before you approve the group. In some cases, it may be appropriate to ignore an issue. (For example, "MIT" is a central part of some group's acronyms (like "HTGAMIT"). In these cases, confirming with the group may not be necessary.)</p>
     66</div>
     67{%endif%}
     68
    5369{% if disp_form %}
    5470<form enctype="multipart/form-data" method="post" action="">
    5571{% csrf_token %}
     72{% if warnings %}
     73<input type='submit' name='approve' value='Approve DESPITE WARNINGS' />
     74{% else %}
    5675<input type='submit' name='approve' value='Approve' />
     76{% endif %}
    5777<input type='submit' name='reject' value='Reject' />
    5878</form>
Note: See TracChangeset for help on using the changeset viewer.