Hide Delete link on active school year

Bug #1348685 reported by Douglas Cerna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
Triaged
Medium
Douglas Cerna

Bug Description

Currently Delete is enabled for all years. When there are multiple years and the current year is not the last one, trying to delete it produce a Server Error with:

ValueError: Can not delete an active schoolyear, unless it is the last school year available!

We should just hide the Delete link for this condition (active school year not being the last one).

Changed in schooltool:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Douglas Cerna (replaceafill)
importance: High → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.